Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/core_ext/hash.rb
Instance Method Summary collapse
-
#stringify_keys ⇒ Object
stolen from ActiveSupport.
Instance Method Details
#stringify_keys ⇒ Object
stolen from ActiveSupport
3 4 5 6 7 8 |
# File 'lib/core_ext/hash.rb', line 3 def stringify_keys inject({}) do |, (key, value)| [key.to_s] = value end end |