rubyx/lib/virtual/reference.rb
2014-07-14 14:06:09 +03:00

20 lines
303 B
Ruby

require_relative "value"
module Virtual
class Reference < Value
def initialize clazz = nil
@clazz = clazz
end
attr_accessor :clazz
def at_index block , left , right
block.ldr( self , left , right )
self
end
end
class SelfReference < Reference
end
end