Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/extensions.rb

Instance Method Summary collapse

Instance Method Details

#nested_under_indifferent_accessObject



9
10
11
# File 'lib/extensions.rb', line 9

def nested_under_indifferent_access
  ActiveSupport::HashWithIndifferentAccess.new(self)
end

#with_indifferent_accessObject



5
6
7
# File 'lib/extensions.rb', line 5

def with_indifferent_access
  ActiveSupport::HashWithIndifferentAccess.new(self)
end