Module: Arel::Math
- Included in:
- Attributes::Attribute, Nodes::InfixOperation
- Defined in:
- lib/arel/math.rb
Instance Method Summary collapse
Instance Method Details
#*(other) ⇒ Object
3 4 5 |
# File 'lib/arel/math.rb', line 3 def *(other) Arel::Nodes::Multiplication.new(self, other) end |
#+(other) ⇒ Object
7 8 9 |
# File 'lib/arel/math.rb', line 7 def +(other) Arel::Nodes::Grouping.new(Arel::Nodes::Addition.new(self, other)) end |