Extensions to Ruby core classes
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
evelpidon_core_ext.gemspec

README.md

Evelpidon Core Extensions

Project Status Build Status

Collection of various extensions to Ruby core classes.

Overview

  • Hash
    • #underscore_keys
  • Numeric
    • #within_delta?

Installation

Bundler

Add on your Gemfile :

gem 'evelpidon_core_ext'

By hand

On the console :

gem install evelpidon_core_ext

On your code :

require 'evelpidon_core_ext'

Usage

Extensions are not automatically loaded. You can require them explicitly one-by-one or all of them. So for example :

# Load only extensions to Hash :
require 'evelpidon_core_ext/hash'

or

# Load everything
require 'evelpidon_core_ext/all'

TODOs

  • Better documentation

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally (not really...).
  • Commit, do not mess with gemspec, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send a pull request. Bonus points for topic branches.

Author(s)

Copyright

License

Evelpidon Core Extensions are released under the MIT license. See LICENSE for more details.