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.
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
#_binding ⇒ Object (readonly)
Returns the value of attribute _binding.
34 35 36 |
# File 'lib/partialruby.rb', line 34 def _binding @_binding end |
#_self ⇒ Object (readonly)
Returns the value of attribute _self.
35 36 37 |
# File 'lib/partialruby.rb', line 35 def _self @_self end |
#locals ⇒ Object (readonly)
Returns the value of attribute locals.
36 37 38 |
# File 'lib/partialruby.rb', line 36 def locals @locals end |