Class: PartialRuby::PureRubyContext

Inherits:
Context
  • Object
show all
Defined in:
lib/partialruby.rb

Instance Method Summary collapse

Methods inherited from Context

#object_ref, #run

Instance Method Details

#emul(tree) ⇒ Object



90
91
92
# File 'lib/partialruby.rb', line 90

def emul(tree)
  Ruby2Ruby.new.process(tree)
end

#ruby_emul(tree) ⇒ Object



94
95
96
# File 'lib/partialruby.rb', line 94

def ruby_emul(tree)
  Ruby2Ruby.new.process(tree)
end