Sha256: e157a51859fb94ca6094304edcd5aa53d2a61f66374a748bd5a02051561310ab
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
# Top-level module for Ripper Plus. Provides global methods for # getting a RipperPlus AST for a given input program. module RipperPlus # Parses the given Ruby code into a RipperPlus AST. def self.sexp(text) for_ripper_ast(Ripper.sexp(text)) end # Transforms the provided Ripper AST into a RipperPlus AST. def self.for_ripper_ast(tree) Transformer.transform(tree) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ripper-plus-1.1.0.pre2 | lib/ripper-plus/ripper-plus.rb |
ripper-plus-1.0.1 | lib/ripper-plus/ripper-plus.rb |
ripper-plus-1.0.0 | lib/ripper-plus/ripper-plus.rb |