module Arel::Math
Public Instance Methods
*(other)
click to toggle source
# File lib/arel/math.rb, line 3 def *(other) Arel::Nodes::Multiplication.new(self, other) end
+(other)
click to toggle source
# File lib/arel/math.rb, line 7 def +(other) Arel::Nodes::Grouping.new(Arel::Nodes::Addition.new(self, other)) end
-(other)
click to toggle source
# File lib/arel/math.rb, line 11 def -(other) Arel::Nodes::Grouping.new(Arel::Nodes::Subtraction.new(self, other)) end
/(other)
click to toggle source
# File lib/arel/math.rb, line 15 def /(other) Arel::Nodes::Division.new(self, other) end