Sha256: 31735defc56313f71242baf113a191eb6feb90ad896648bbbd0a60cf0da73864

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

module Mongoid
  module Geospatial
    module Config
      autoload :Point, 'mongoid/geospatial/config/point'

      extend self

      def reset!
        Mongoid::Geospatial::Config::Point.reset!
      end

      def point
        Mongoid::Geospatial::Config::Point
      end

      reset!
    end

    class << self
      def configure
        block_given? ? yield(Config) : Config
      end

      def config
        Config
      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.rb