Pinoy Ruby for the Lolz. Alias fun. Don't worry, this is safe.
Add this line to your application's Gemfile:
gem 'rubi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubi
irb or console
>> require 'rubi'
>> Rubi.rubify!
# class => klase
>> User.new.klase => 'User'
# clone => klone
>> @clone = @user.klone
# and many more
>> @user.magyelo # .freeze
>> @user.malamig? # .frozen?
Coming soon
See more aliases at lib/ruby/alias_map.rb
- 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