Sha256: bfc67a3a69e12e12840f27ad93b554c022d69014ac083fdfce477a076015987e

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require 'where_to/version'
require 'where_to/locator'
require 'where_to/location'
require 'where_to/configuration'

module WhereTo
  class << self
    attr_accessor :configuration
  end

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

  def self.reset
    @configuration = Configuration.new
  end

  def self.configure
    yield configuration
  end

end 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
where_to-0.9.1 lib/where_to.rb
where_to-0.9.0 lib/where_to.rb