Module: PartialRuby
- Defined in:
- lib/partialruby.rb
Defined Under Namespace
Classes: Context, Frame, Packet, PureRubyContext
Class Method Summary collapse
Class Method Details
.eval(code, b_) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/partialruby.rb', line 27 def self.eval(code, b_) c = PureRubyContext.new parser = RubyParser.new c.run(parser.parse(code), Frame.new(b_, b_.eval("self")) ) end |