Module: LiveAST::RubyParser::Unparser
- Defined in:
- lib/live_ast/ruby_parser/unparser.rb
Overview
Used by to_ruby in LiveAST.
Class Method Summary collapse
-
.unparse(sexp) ⇒ Object
Return a ruby source string which reflects the given AST.
Class Method Details
.unparse(sexp) ⇒ Object
Return a ruby source string which reflects the given AST.
10 11 12 |
# File 'lib/live_ast/ruby_parser/unparser.rb', line 10 def self.unparse(sexp) Ruby2Ruby.new.process(sexp) end |