Class: Rubinius::Compiler::LocalReference

Inherits:
Object
  • Object
show all
Defined in:
lib/compiler/locals.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#slotObject (readonly)

Returns the value of attribute slot.



81
82
83
# File 'lib/compiler/locals.rb', line 81

def slot
  @slot
end