Sha256: 84f45ede60b66431eb04f03875ce426cbd54258264a7ffbe7d4f278cb77dae3a

Contents?: true

Size: 487 Bytes

Versions: 10

Compression:

Stored size: 487 Bytes

Contents

require 'arel/predications'

module Arel
  module Predications
    def contained_within(other)
      Nodes::ContainedWithin.new self, other
    end

    def contained_within_or_equals(other)
      Nodes::ContainedWithinEquals.new self, other
    end

    def contains(other)
      Nodes::Contains.new self, other
    end

    def contains_or_equals(other)
      Nodes::ContainsEquals.new self, other
    end

    def overlap(other)
      Nodes::Overlap.new self, other
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
postgres_ext-2.1.3 lib/postgres_ext/arel/predications.rb
activerecord-postgis-array-0.3.4 lib/activerecord-postgis-array/arel/predications.rb
postgres_ext-2.1.2 lib/postgres_ext/arel/predications.rb
postgres_ext-2.1.1 lib/postgres_ext/arel/predications.rb
postgres_ext-2.1.0 lib/postgres_ext/arel/predications.rb
postgres_ext-2.0.0 lib/postgres_ext/arel/predications.rb
postgres_ext-1.0.0 lib/postgres_ext/arel/predications.rb
postgres_ext-0.4.0 lib/postgres_ext/arel/predications.rb
postgres_ext-0.3.1 lib/postgres_ext/arel/predications.rb
postgres_ext-0.3.0 lib/postgres_ext/arel/predications.rb