method
with_indifferent_access
v2.2.1 -
Show latest stable
- Class:
HashWithIndifferentAccess::ActiveSupport::CoreExtensions::Hash::IndifferentAccess
with_indifferent_access()public
No documentation available.
# File activesupport/lib/active_support/core_ext/hash/indifferent_access.rb, line 129
def with_indifferent_access
hash = HashWithIndifferentAccess.new(self)
hash.default = self.default
hash
end