Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/sinatra/nice_easy_helpers.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#symbolize_keys ⇒ Object
608 609 610 611 612 613 |
# File 'lib/sinatra/nice_easy_helpers.rb', line 608 def symbolize_keys inject({}) do |, (key, value)| [(key.to_sym rescue key) || key] = value end end |