module Algebrick::Value

Any value of Algebraic type is kind of Value

Public Instance Methods

==(other) click to toggle source
# File lib/algebrick/value.rb, line 21
def ==(other)
  raise NotImplementedError
end
inspect() click to toggle source
# File lib/algebrick/value.rb, line 37
def inspect
  to_s
end
pretty_print(q) click to toggle source
# File lib/algebrick/value.rb, line 33
def pretty_print(q)
  raise NotImplementedError
end
to_s() click to toggle source
# File lib/algebrick/value.rb, line 29
def to_s
  raise NotImplementedError
end
type() click to toggle source
# File lib/algebrick/value.rb, line 25
def type
  raise NotImplementedError
end