Class: PartialRuby::Frame
- Inherits:
-
Object
- Object
- PartialRuby::Frame
- Defined in:
- lib/partialruby.rb
Instance Attribute Summary collapse
-
#_binding ⇒ Object
readonly
Returns the value of attribute _binding.
-
#_self ⇒ Object
readonly
Returns the value of attribute _self.
-
#locals ⇒ Object
readonly
Returns the value of attribute locals.
Instance Method Summary collapse
-
#initialize(b, _self) ⇒ Frame
constructor
A new instance of Frame.
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
#_binding ⇒ Object (readonly)
Returns the value of attribute _binding.
35 36 37 |
# File 'lib/partialruby.rb', line 35 def _binding @_binding end |
#_self ⇒ Object (readonly)
Returns the value of attribute _self.
36 37 38 |
# File 'lib/partialruby.rb', line 36 def _self @_self end |
#locals ⇒ Object (readonly)
Returns the value of attribute locals.
37 38 39 |
# File 'lib/partialruby.rb', line 37 def locals @locals end |