rubyx/lib/virtual/mystery.rb

21 lines
259 B
Ruby
Raw Normal View History

module Virtual
class Mystery < Value
2014-07-01 14:57:13 +02:00
def initialize
end
def as type
type.new
end
end
2014-07-01 14:57:13 +02:00
2014-07-01 17:58:25 +02:00
class Singleton < Value
2014-07-01 14:57:13 +02:00
end
2014-07-01 17:58:25 +02:00
class TrueValue < Singleton
2014-07-01 14:57:13 +02:00
end
2014-07-01 17:58:25 +02:00
class FalseValue < Singleton
end
class NilValue < Singleton
2014-07-01 14:57:13 +02:00
end
end