Module: Arel::GISPredications

Defined in:
lib/arel/gis_predications.rb

Instance Method Summary collapse

Instance Method Details

#intersects(value) ⇒ Object



4
5
6
# File 'lib/arel/gis_predications.rb', line 4

def intersects(value)
  Arel::Nodes::Intersects.new(self, geometry(value))
end

#within(value) ⇒ Object



8
9
10
# File 'lib/arel/gis_predications.rb', line 8

def within(value)
  Arel::Nodes::Within.new(self, geometry(value))
end