instance method
[]=
Ruby on Rails edge
Since edgeSignature
[]=(column, value)
No documentation comment.
Parameters
-
columnreq -
valuereq
Source
# File activemodel/lib/active_model/indexed_row.rb, line 165
def []=(column, value)
if index = @indexes[column]
@row[index] = value
else
raise KeyError, "key not found: #{column.inspect}"
end
end
Defined in activemodel/lib/active_model/indexed_row.rb line 165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::IndexedRow::Mutable