Similar to ruby2ruby this library allows to parse Ruby code, modify and recompile it back to Ruby.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
notes
test
.gitignore
MIT-LICENSE
README.markdown
ripper2ruby.gemspec

README.markdown

Ripper2Ruby

Similar to ruby2ruby this library allows to parse Ruby code, modify and recompile it back to Ruby.

Differences:

  • uses Ripper for parsing (shipped with Ruby 1.9)
  • produces a full object-oriented representation of the Ruby code