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.



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

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

Instance Attribute Details

#_bindingObject (readonly)

Returns the value of attribute _binding.



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

def _binding
  @_binding
end

#_selfObject (readonly)

Returns the value of attribute _self.



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

def _self
  @_self
end

#localsObject (readonly)

Returns the value of attribute locals.



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

def locals
  @locals
end