rubyx/lib/vool/basic_values.rb
Torsten Ruger 3fe286b5ed enforces data encapsulation in vool tree
gets rid of attraccessor
2017-04-06 16:06:51 +03:00

33 lines
625 B
Ruby

module Vool
class IntegerStatement < Statement
attr_reader :value
def initialize(value)
@value = value
end
end
class FloatStatement < Statement
attr_reader :value
def initialize(value)
@value = value
end
end
class TrueStatement < Statement
end
class FalseStatement < Statement
end
class NilStatement < Statement
end
class SelfStatement < Statement
end
class SuperStatement < Statement
end
class StringStatement < Statement
attr_reader :value
def initialize(value)
@value = value
end
end
class SymbolStatement < StringStatement
end
end