Project

hash-utils

0.01
No commit activity in last 3 years
No release in over 3 years
Adds more than 155 useful and frequently rather fundamental methods which are missing in Ruby programming language, to Array, File, Hash, Module, Object, String and Symbol classes. It tries to be similar project to Ruby Facets on principle, but less complex, more practical, non-atomic and organized by better way. Thanks to defensive and careful patching it should be compatible with all other libraries.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.4.0
 Project Readme

Hash Utils

hash-utils gem adds more than 155 useful and frequently rather fundamental methods which are missing in Ruby programming language, to several core classes. It tries to be similar project to Ruby Facets on principle, but less complex, more practical, non-atomic and organized by better way.

  • Array – 27 methods,
  • FalseClass – 3 methods,
  • File – 2 methods,
  • Gem – 2 methods,
  • Hash – 46 methods,
  • IO – 1 method,
  • Module – 1 method,
  • NilClass – 1 method,
  • Numeric – 5 method,
  • Object – 15 methods,
  • Proc – 1 method,
  • String – 37 methods,
  • StringIO – 1 method,
  • Symbol – 9 methods,
  • TrueClass – 3 methods.

For full reference and methods lists, see documentation.

Build Status

Modularization

If you don't want to include whole library, you can include extensions to appropriate type only by including the:

require "hash-utils/<lowercase-data-type-name>"

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b 20101220-my-change).
  3. Commit your changes (git commit -am "Added something").
  4. Push to the branch (git push origin 20101220-my-change).
  5. Create an Issue with a link to your branch.
  6. Enjoy a refreshing Diet Coke and wait.

Copyright

Copyright © 2011 – 2013 Martin Kozák. See LICENSE.txt for further details.