2014-07-12 20:59:17 +02:00
|
|
|
require_relative "value"
|
|
|
|
|
|
|
|
module Virtual
|
2014-06-30 13:56:58 +02:00
|
|
|
class Reference < Value
|
2014-06-26 17:39:02 +02:00
|
|
|
|
|
|
|
def initialize clazz = nil
|
2014-06-24 11:36:32 +02:00
|
|
|
@clazz = clazz
|
2014-06-14 20:29:57 +02:00
|
|
|
end
|
2014-06-24 11:36:32 +02:00
|
|
|
attr_accessor :clazz
|
2014-06-14 20:29:57 +02:00
|
|
|
|
2014-06-24 18:34:36 +02:00
|
|
|
def at_index block , left , right
|
|
|
|
block.ldr( self , left , right )
|
|
|
|
self
|
|
|
|
end
|
|
|
|
|
2014-06-14 20:29:57 +02:00
|
|
|
end
|
|
|
|
end
|