module NumRu::Units::BinaryNode

Public Instance Methods

each() { |lhs| ... } click to toggle source
# File lib/numru/units.rb, line 646
def each
    yield @lhs
    yield @rhs
end
expand(stopper) click to toggle source
# File lib/numru/units.rb, line 651
def expand(stopper)
    self.class.new(@lhs.expand(stopper), @rhs.expand(stopper))
end
foldnumber(stopper) click to toggle source
# File lib/numru/units.rb, line 659
def foldnumber(stopper)
    self.class.new(@lhs.foldnumber(stopper), @rhs.foldnumber(stopper))
end
unalias(stopper) click to toggle source
# File lib/numru/units.rb, line 655
def unalias(stopper)
    self.class.new(@lhs.unalias(stopper), @rhs.unalias(stopper))
end