Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#keys_to_sym!Object



17
18
19
# File 'lib/interface/bash_api.rb', line 17

def keys_to_sym!
  each_pair { |key,value| self.[]=(key.to_sym,value) } 
end