RubyAnything

Provide anything interface for ruby. Adds _anything_ method to Kernel.

Demo on Youtube

thumbnail

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request