Sha256: d2b6f472e283feaf4736f42bf3c3fde9d5a558820c18c7f71364de6c977c1bdb
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
module Mongoid module Location class LineString # See http://mongoid.org/en/mongoid/docs/upgrading.html def mongoize to_a end class << self def demongoize(object) RGeo::Geographic.spherical_factory.line_string *object end # def evolve(object) # { "$gte" => object.first, "$lte" => object.last } # end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems