Sha256: 2f18f5477a88f87524d380c021268089880b8df41a458d121f1b049748293dfa

Contents?: true

Size: 224 Bytes

Versions: 12

Compression:

Stored size: 224 Bytes

Contents

module Arel
  module Nodes
    # https://www.postgresql.org/docs/9.4/functions-math.html
    class Absolute < Arel::Nodes::UnaryOperation
      def initialize(operand)
        super('@', operand)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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