Module: LiveAST::CallableToRuby
- Defined in:
- lib/live_ast/to_ruby.rb
Instance Method Summary collapse
-
#to_ruby ⇒ Object
Generate ruby code which reflects the AST of this object.
Instance Method Details
#to_ruby ⇒ Object
Generate ruby code which reflects the AST of this object.
8 9 10 |
# File 'lib/live_ast/to_ruby.rb', line 8 def to_ruby LiveAST.parser::Unparser.unparse(LiveAST.ast(self)) end |