Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/clt/core_ext/hash.rb
Instance Method Summary collapse
Instance Method Details
#stringify_keys ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/clt/core_ext/hash.rb', line 2 def stringify_keys result = self.class.new each_key do |key| result[key.to_s] = self[key] end result end |