class method
self.[]
Ruby on Rails 4.1.16
Since v4.0.13 Last seen in v4.2.9Signature
self.[](*args)
No documentation comment.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 81
def self.[](*args)
new.merge!(Hash[*args])
end
Defined in activesupport/lib/active_support/hash_with_indifferent_access.rb line 81
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in HashWithIndifferentAccess