instance method
[]=
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5Signature
[]=(key, value)
No documentation comment.
Parameters
-
keyreq -
valuereq
Source
# File activesupport/lib/active_support/ordered_hash.rb, line 103
def []=(key, value)
@keys << key unless has_key?(key)
super
end
Defined in activesupport/lib/active_support/ordered_hash.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::OrderedHash