Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 277 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 277 Bytes

hashmagic

A little Ruby gem that adds some magical utility methods to the Hash class.

  • sort_by_key! Recursively sorts the hash and all sub-hashes by key in ascending order.

  • symbolize_all_keys! Recursively symbolizes the keys in the hash and all sub-hashes.