Class: Rubinius::Compiler::LocalReference
- Inherits:
-
Object
- Object
- Rubinius::Compiler::LocalReference
- Defined in:
- lib/compiler/locals.rb
Instance Attribute Summary collapse
-
#slot ⇒ Object
readonly
Returns the value of attribute slot.
Instance Method Summary collapse
-
#initialize(slot) ⇒ LocalReference
constructor
A new instance of LocalReference.
Constructor Details
#initialize(slot) ⇒ LocalReference
Returns a new instance of LocalReference.
83 84 85 |
# File 'lib/compiler/locals.rb', line 83 def initialize(slot) @slot = slot end |
Instance Attribute Details
#slot ⇒ Object (readonly)
Returns the value of attribute slot.
81 82 83 |
# File 'lib/compiler/locals.rb', line 81 def slot @slot end |