Coolkit
Useful ruby code with no dependencies.
Installation
Add gem "coolkit"
to your application's Gemfile and then run bundle
.
Or install it yourself as gem install coolkit
Usage
If you want to use one of the core extensions, it needs to be required explicitly.
This allows users to make use of coolkit
's general functions without monkeypatching the standard library.
require "coolkit"
hash = {"key" => [{"k" => :v}, {"k" => 5}]}
Coolkit.symbolize_keys(hash) #=> {:key => [{:k => :v}, {:k => 5}]}
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/tcd/coolkit.
License
The gem is available as open source under the terms of the MIT License.