Some useful extensions to the core Ruby classes
Powerpack offers some useful extensions to the standard Ruby classes
(kind of like ActiveSupport, but less ambitious and more modular).
The project has several design goals:
Add this line to your application's Gemfile (if you're using bundler, that is):
gem 'powerpack'And then execute:
$ bundleOr install it yourself as:
$ gem install powerpackA listing of the extensions provided by Powerpack is available here.
To load the entire powerpack do:
require 'powerpack'To load only the String extensions do:
require 'powerpack/string'To load only a specific extension like String#format do:
require 'powerpack/string/format'Powerpack's changelog is available here.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)No open issues yet, or sync has not completed.