Just some useful Ruby functionality. No particular focus, except usefulness
- Adds to Array
- rotate, rotate_reverse
- sum, product
- squares, squares!
- random, randomize, randomize!
- Adds to TrueClass and FalseClass
- intern
- Adds to Hash
- with_defaults, with_defaults!
- Adds to Integer
- fact
- Adds to Numeric
- square, cube
- sqrt
- ln, log
- Adds to Object
- try
- is_boolean?
- Adds to String
- to_range
- exec
- Adds IO package
- Adds statistical package
$ require 'darkext'
- $ gem sources -a http://gems.github.com # unless you already have done this
- $ gem install darkhelmet-darkext
See LICENSE for details.