module Dydx module Algebra module Set class Num < Base attr_accessor :n def initialize(n) @n = n end def differentiate(sym=:x) e0 end alias_method :d, :differentiate def to_s @n.to_s end def ==(x) to_s == x.to_s end end end end end