method
new
v3.2.8 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
new(constructor = {})public
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 23
def initialize(constructor = {})
if constructor.is_a?(Hash)
super()
update(constructor)
else
super(constructor)
end
end