Class: SyntaxTree::YARV::VM::TopFrame
- Defined in:
- lib/syntax_tree/yarv/vm.rb
Instance Attribute Summary
Attributes inherited from Frame
#_self, #iseq, #line, #nesting, #parent, #pc, #stack_index, #svars
Instance Method Summary collapse
-
#initialize(iseq) ⇒ TopFrame
constructor
A new instance of TopFrame.
Constructor Details
#initialize(iseq) ⇒ TopFrame
Returns a new instance of TopFrame.
43 44 45 |
# File 'lib/syntax_tree/yarv/vm.rb', line 43 def initialize(iseq) super(iseq, nil, 0, TOPLEVEL_BINDING.eval("self"), [Object]) end |