Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#symbolize_keys!Object



64
65
66
67
68
69
# File 'lib/open_lighting/dmx_device.rb', line 64

def symbolize_keys!
  keys.each do |key|
    self[(key.to_sym rescue key) || key] = delete(key)
  end
  self
end