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