Sha256: a6fbd1d67454901f667b0863a60346f7b86c4cf48d624b81b5f96dca80974ea1
Contents?: true
Size: 769 Bytes
Versions: 73
Compression:
Stored size: 769 Bytes
Contents
module Geokit module Adapters class Abstract class NotImplementedError < StandardError ; end cattr_accessor :loaded class << self def load(klass) ; end end def initialize(klass) @owner = klass end def method_missing(method, *args, &block) return @owner.send(method, *args, &block) if @owner.respond_to?(method) super end def sphere_distance_sql(lat, lng, multiplier) raise NotImplementedError, '#sphere_distance_sql is not implemented' end def flat_distance_sql(origin, lat_degree_units, lng_degree_units) raise NotImplementedError, '#flat_distance_sql is not implemented' end end end end
Version data entries
73 entries across 73 versions & 12 rubygems