class method self.new

Ruby on Rails edge

Since edge

Signature

self.new(indexes, row = nil)

No documentation comment.

Parameters

indexes req
row opt = nil
Source
# File activemodel/lib/active_model/indexed_row.rb, line 124
      def initialize(indexes, row = nil)
        @indexes = indexes
        @row = row || Array.new(indexes.size, UNSET)
      end

Defined in activemodel/lib/active_model/indexed_row.rb line 124 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::IndexedRow::Mutable

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close