Sha256: 952cd7c10f2eac970581cabe88f90a4d1a047f30b91b36fe40a8dd345f788762

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'date'

# Require all the libraries!
Dir[File.dirname(__FILE__) + "/where_to/**/*.rb"].each { |f| require_relative f }

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

1 entries across 1 versions & 1 rubygems

Version Path
where_to-1.0.0 lib/where_to.rb