Gem for racing your Ruby methods.
MIT License
This gem allows you to write rewrite your Ruby methods and test them from the command line.
$ gem install ruby-racer
# my_method.rb
require 'ruby-racer'
method_name = :method_name
input = [1, 2, 3]
my_method = Proc.new do |input|
# write method code here
end
RubyRacer.go(method_name, input, &my_method)
$ ruby my_method.rb
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)