Sha256: db2f6bf205ade9cfc6d8b9de96187c1d20a540adbe4c37c556e5a13d12b4c5c7
Contents?: true
Size: 677 Bytes
Versions: 3
Compression:
Stored size: 677 Bytes
Contents
module Geokit VERSION = '1.5.0.3' # These defaults are used in Geokit::Mappable.distance_to and in acts_as_mappable @@default_units = :miles @@default_formula = :sphere [:default_units, :default_formula].each do |sym| class_eval <<-EOS, __FILE__, __LINE__ def self.#{sym} if defined?(#{sym.to_s.upcase}) #{sym.to_s.upcase} else @@#{sym} end end def self.#{sym}=(obj) @@#{sym} = obj end EOS end end path = File.expand_path(File.dirname(__FILE__)) $:.unshift path unless $:.include?(path) require 'geokit/inflector' require 'geokit/mappable' require 'geokit/geocoder_google_v3'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sayso-geokit-1.5.0.3.003 | lib/geokit.rb |
sayso-geokit-1.5.0.3.002 | lib/geokit.rb |
sayso-geokit-1.5.0.3.001 | lib/geokit.rb |