Rinne
Rinne - Rinne is snake case convert to camel case.
Installation
Add this line to your application's Gemfile:
gem 'rinne'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rinne
Usage
require 'rinne'
Rinne.tensei("rine_tensei") #=> "RinneTensei"
Rinne.camelize("rinne_tensei") #=> "RinneTensei"
Rinne.classify("/path/to/rinne_tensei.rb") #=> "RinneTensei"
Rinne.classify("file_name.rb","rb") #=> "FileName"
Contributing
- 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