Sha256: 34cafa283f549e33e9bd50daf973f22b2a239fd1df0ec7ef2d6696de2dc4c708

Contents?: true

Size: 229 Bytes

Versions: 12

Compression:

Stored size: 229 Bytes

Contents

module Arel
  module Nodes
    # https://www.postgresql.org/docs/9.4/functions-math.html
    class Modulo < Arel::Nodes::InfixOperation
      def initialize(left, right)
        super(:%, left, right)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.8 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.7 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.6 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.5 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.4 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.3 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.2 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.1 lib/arel/extensions/modulo.rb
arel_toolkit-0.4.0 lib/arel/extensions/modulo.rb
arel_toolkit-0.3.0 lib/arel/extensions/modulo.rb
arel_toolkit-0.2.0 lib/arel/extensions/modulo.rb