Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/lookup.rb
Overview
Because some of you don’t have ActiveSupport 3.0 And I’m too lazy to require all the shit for 2.3.8 just for this.
Instance Method Summary collapse
Instance Method Details
#stringify_keys! ⇒ Object
11 12 13 14 15 16 |
# File 'lib/lookup.rb', line 11 def stringify_keys! keys.each do |key| self[key.to_s] = delete(key) end self end |