Sha256: 943407438875e8a5f9694f8441e5dcbf69464512eaa5c62098a3142fab472d7f
Contents?: true
Size: 956 Bytes
Versions: 14
Compression:
Stored size: 956 Bytes
Contents
module Arel module Math def *(other) Arel::Nodes::Multiplication.new(self, other) end def +(other) Arel::Nodes::Grouping.new(Arel::Nodes::Addition.new(self, other)) end def -(other) Arel::Nodes::Grouping.new(Arel::Nodes::Subtraction.new(self, other)) end def /(other) Arel::Nodes::Division.new(self, other) end def &(other) Arel::Nodes::Grouping.new(Arel::Nodes::BitwiseAnd.new(self, other)) end def |(other) Arel::Nodes::Grouping.new(Arel::Nodes::BitwiseOr.new(self, other)) end def ^(other) Arel::Nodes::Grouping.new(Arel::Nodes::BitwiseXor.new(self, other)) end def <<(other) Arel::Nodes::Grouping.new(Arel::Nodes::BitwiseShiftLeft.new(self, other)) end def >>(other) Arel::Nodes::Grouping.new(Arel::Nodes::BitwiseShiftRight.new(self, other)) end def ~@ Arel::Nodes::BitwiseNot.new(self) end end end
Version data entries
14 entries across 14 versions & 4 rubygems