class RGeo::ActiveRecord::SpatialConstantNode

This node wraps an RGeo feature and gives it spatial expression constructors.

Attributes

delegate[R]

Return the RGeo feature

Public Class Methods

new(delegate) click to toggle source

The delegate should be the RGeo feature.

# File lib/rgeo/active_record/arel_spatial_queries.rb, line 66
def initialize(delegate)
  @delegate = delegate
end