MoreCoreExtensions are a set of core extensions beyond those provided by ActiveSupport.
- Array
- duplicates
- include_any?
- include_none?
- include_all?
- random_index
- random_element
- stretch
- stretch!
- zip_stretched
- tableize
- Hash
- delete_nils
- delete_blanks
- fetch_path
- has_key_path?
- include_path?
- key_path?
- member_path?
- store_path
- delete_path
- String
- email?
- domain_name?
- ipv4?
- ipv6?
- ipaddress?
- integer?
- guid?
- hex_dump
Add this line to your application's Gemfile:
gem 'more_core_extensions'
And then execute:
$ bundle
Or install it yourself as:
$ gem install more_core_extensions
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request