Class: Hash

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

Overview

custom Hash Methods

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



34
35
36
# File 'lib/quidax.rb', line 34

def stringify_keys
  transform_keys(&:to_s)
end

#stringify_keys!Object



38
39
40
# File 'lib/quidax.rb', line 38

def stringify_keys!
  transform_keys!(&:to_s)
end