Module: LiveAST::CallableToRuby

Defined in:
lib/live_ast/to_ruby.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyObject

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