Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/extraloop/support.rb

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



2
3
4
# File 'lib/extraloop/support.rb', line 2

def stringify_keys
  _reduce_keys &:to_s
end

#symbolize_keysObject



6
7
8
# File 'lib/extraloop/support.rb', line 6

def symbolize_keys
  _reduce_keys &:to_sym
end