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.
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
- Fork it.
- Create a branch (
git checkout -b 20101220-my-change
). - Commit your changes (
git commit -am "Added something"
). - Push to the branch (
git push origin 20101220-my-change
). - Create an Issue with a link to your branch.
- Enjoy a refreshing Diet Coke and wait.
Copyright
Copyright © 2011 – 2013 Martin Kozák. See LICENSE.txt
for
further details.