Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#symbolize_keys!Object


71
72
73
74
75
76
# File 'lib/pdf_extract.rb', line 71

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