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