Project

ruby-racer

0.01
No commit activity in last 3 years
No release in over 3 years
Write your own Ruby methods and race them against the methods written in CRuby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 0.7.7
>= 1.8.1, ~> 1.8
 Project Readme

Gem Version

RubyRacer

This gem allows you to write rewrite your Ruby methods and test them from the command line.

Installation

$ gem install ruby-racer

Usage

# 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

Preview

Ruby Racer Preview

Contributing

  1. Fork it ( https://github.com/danielleadams/ruby-racer/fork )
  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 a new Pull Request