Class: PartialRuby::PureRubyContext

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

Instance Method Summary collapse

Methods inherited from Context

#initialize, #object_ref, #packet, #pre_process, #run

Constructor Details

This class inherits a constructor from PartialRuby::Context

Instance Method Details

#emul(tree) ⇒ Object



128
129
130
# File 'lib/partialruby.rb', line 128

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

#ruby_emul(tree) ⇒ Object



132
133
134
# File 'lib/partialruby.rb', line 132

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