Class: PartialRuby::Frame

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(b, _self) ⇒ Frame

Returns a new instance of Frame.



38
39
40
41
42
# File 'lib/partialruby.rb', line 38

def initialize(b, _self)
  @_binding = b
  @_self = _self
  @locals = Hash.new
end

Instance Attribute Details

#_bindingObject (readonly)

Returns the value of attribute _binding.



34
35
36
# File 'lib/partialruby.rb', line 34

def _binding
  @_binding
end

#_selfObject (readonly)

Returns the value of attribute _self.



35
36
37
# File 'lib/partialruby.rb', line 35

def _self
  @_self
end

#localsObject (readonly)

Returns the value of attribute locals.



36
37
38
# File 'lib/partialruby.rb', line 36

def locals
  @locals
end