Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/style_train/support/gnash.rb

Direct Known Subclasses

HashWithIndifferentAccess

Instance Method Summary collapse

Instance Method Details

#with_indifferent_accessObject



8
9
10
11
12
# File 'lib/style_train/support/gnash.rb', line 8

def with_indifferent_access
  hash = HashWithIndifferentAccess.new(self)
  hash.default = self.default
  hash
end