class Hash

Public Instance Methods

tostrings() click to toggle source
# File lib/serrano/utils.rb, line 26
def tostrings
  Hash[map { |(k, v)| [k.to_s, v] }]
end
tosymbols() click to toggle source
# File lib/serrano/utils.rb, line 32
def tosymbols
  Hash[map { |(k, v)| [k.to_sym, v] }]
end