Gem Version CI Status

Powerpack

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:

  • minimalistic - we don't add every possible extensions, we focus only on the stuff that are commonly requested and would be often useful in practice
  • modular - all extensions can be loaded individually (often they are just individual methods)
  • safe - you can't end up accidentally overriding some existing method definition with Powerpack's extensions

Installation

Add this line to your application's Gemfile (if you're using bundler, that is):

gem 'powerpack'

And then execute:

$ bundle

Or install it yourself as:

$ gem install powerpack

Extensions

Documentation

A listing of the extensions provided by Powerpack is available here.

Usage

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'

Changelog

Powerpack's changelog is available here.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request