Sha256: a496c9ab6ab9d265c65e2f5e6a8ea22dc7fd5436d16be76e8c998754003e4213

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

module Mongoid
  module Geospatial
    module Config
      module Point
        extend self

        attr_accessor :x
        attr_accessor :y

        def reset!
          self.x = Mongoid::Geospatial.lng_symbols
          self.y = Mongoid::Geospatial.lat_symbols
        end

        reset!
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-geospatial-5.1.0 lib/mongoid/geospatial/config/point.rb