class Hash
Public Instance Methods
indifferent_fetch(key)
click to toggle source
# File lib/hash.rb, line 2 def indifferent_fetch(key) self.fetch(key.to_sym, nil) || self.fetch(key, nil) end
# File lib/hash.rb, line 2 def indifferent_fetch(key) self.fetch(key.to_sym, nil) || self.fetch(key, nil) end