Sha256: 4fd529c31c8d329a7abaedca0f89279ae66005541a35d807f44d1a02698dd9c4

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

require "logger"

module GeoRb
  autoload :Distance, "geo_rb/distance"
  autoload :GeoCoders, "geo_rb/geo_coders"
  autoload :Location, "geo_rb/location"
  autoload :Point, "geo_rb/point"

  def self.logger
    @@logger ||= defined?(Rails) ? Rails.logger : Logger.new($stdout)
  end

  def self.logger=(logger)
    @@logger = logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geo_rb-0.0.2 lib/geo_rb.rb
geo_rb-0.0.1 lib/geo_rb.rb