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'
end
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-anything
Usage
Example1
Start pry
$ pry
[1] pry(main)> require 'ruby-anything'
=> true
[2] pry(main)> _anything_ Pry.methods
Tips
Add to your ~/.ircrc or ~/.pryrc
begin
require 'ruby-anything'
rescue LoadError => err
puts "Failed to require. in #{__FILE__}"
end
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