class Hash

Public Class Methods

with_indifferent_access(arg = {}) click to toggle source
# File lib/olelo/extensions.rb, line 135
def self.with_indifferent_access(arg = {})
  WithIndifferentAccess.new(arg)
end

Public Instance Methods

with_indifferent_access() click to toggle source
# File lib/olelo/extensions.rb, line 129
def with_indifferent_access
  hash = WithIndifferentAccess.new(self)
  hash.default = self.default
  hash
end