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