RubyAnything
Provide anything interface for ruby. Adds _anything_ method to Kernel.
Installation
Add this line to your application's Gemfile:
group :development do
gem 'ruby-anything'
endAnd then execute:
$ bundleOr install it yourself as:
$ gem install ruby-anythingUsage
Example1
Start pry
$ pry
[1] pry(main)> require 'ruby-anything'
=> true
[2] pry(main)> _anything_ Pry.methodsTips
Add to your ~/.ircrc or ~/.pryrc
begin
require 'ruby-anything'
rescue LoadError => err
puts "Failed to require. in #{__FILE__}"
endContributing
- 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