Module: IndifferentAccess

Included in:
Hash
Defined in:
lib/tpkg/metadata.rb

Instance Method Summary collapse

Instance Method Details

#with_indifferent_accessObject



145
146
147
148
149
# File 'lib/tpkg/metadata.rb', line 145

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