Ruby Sugar Refinery
The Ruby Sugar Refinery is a collection of tiny refinements (declarative local core extensions) for Ruby.
Setup & Usage
Add to Gemfile:
gem 'sugar_refinery', require: 'sugar_refinery/all'
Then add refinements to the current Ruby file or module:
using SugarRefinery::CamelSnake
using SugarRefinery::HashZip
"ClassName".to_snake # => "class_name"
Hash.zip [1,2,3], [4,5,6] # => {1=>4, 2=>5, 3=>6}
Included Refinements
Zucker Gems
Missing former functionality? It might have been extracted into a separate gem:
J-_-L
Copyright (c) 2010-2016 Jan Lelis, released under the MIT license