Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/miam/ext/hash_ext.rb
Instance Method Summary collapse
Instance Method Details
#sort_array! ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/miam/ext/hash_ext.rb', line 2 def sort_array! keys.each do |key| value = self[key] self[key] = sort_array0(value) end self end |