Module: DistanceFox

Defined in:
lib/distance_fox.rb,
lib/distance_fox/version.rb,
lib/distance_fox/calculations.rb,
lib/distance_fox/configuration.rb

Defined Under Namespace

Classes: Calculations, Configuration, Error

Constant Summary collapse

VERSION =
'0.1.5'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



11
12
13
# File 'lib/distance_fox/configuration.rb', line 11

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/distance_fox/configuration.rb', line 15

def self.configure
  yield configuration
end