Registry / utility / ripper

ripper

JSON →
library1.0.5rbrubygemsunverified

A Ruby 1.8.x port of the Ripper library for parsing Ruby source code, originally written for Ruby 1.9.

gem install ripper
INSTALL
IMPORT
SIG · RIPPER
R
ripper
utilityrubyv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ripper
require 'ripper'

Parse a Ruby expression into an S-expression.

require 'ripper' sexp = Ripper.sexp('1 + 2') puts sexp.inspect
Debug
Known issues
breakingThis gem is only for Ruby 1.8.x; Ruby 1.9+ includes Ripper natively.
fix
Use Ruby 1.8.x or upgrade to Ruby 1.9+ and use the built-in Ripper.
affects: >= 1.0.0
Upgrade
Version history
1.0.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
ripper — gem install ripper · libregistry