Class: Rubinius::Compiler::EvalLocalReference
- Inherits:
-
Object
- Object
- Rubinius::Compiler::EvalLocalReference
- Defined in:
- lib/compiler/locals.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
Ignored, but simplifies duck-typing references.
Instance Method Summary collapse
-
#initialize(name) ⇒ EvalLocalReference
constructor
A new instance of EvalLocalReference.
Constructor Details
#initialize(name) ⇒ EvalLocalReference
Returns a new instance of EvalLocalReference.
103 104 105 106 |
# File 'lib/compiler/locals.rb', line 103 def initialize(name) @name = name @depth = 0 end |
Instance Attribute Details
#depth ⇒ Object
Ignored, but simplifies duck-typing references
101 102 103 |
# File 'lib/compiler/locals.rb', line 101 def depth @depth end |