Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/summarize.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#symbolize_keys ⇒ Object
4 5 6 7 8 9 |
# File 'lib/summarize.rb', line 4 def symbolize_keys inject({}) do |, (key, value)| [(key.to_sym rescue key) || key] = value end end |