Sha256: 95416dd06244a7e75d6a11e0a13c76da3dc4374f6e178fd0c07b093cb2fdabc1

Contents?: true

Size: 237 Bytes

Versions: 15

Compression:

Stored size: 237 Bytes

Contents

require "fozzie/configuration"

module Fozzie
  module Config

    def c
      config
    end

    def config(&block)
      @config ||= Configuration.new
    end

    def configure(&block)
      yield c if block_given?
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fozzie-0.0.15 lib/fozzie/config.rb
fozzie-0.0.14 lib/fozzie/config.rb
fozzie-0.0.13 lib/fozzie/config.rb
fozzie-0.0.12 lib/fozzie/config.rb
fozzie-0.0.11 lib/fozzie/config.rb
fozzie-0.0.10 lib/fozzie/config.rb
fozzie-0.0.9 lib/fozzie/config.rb
fozzie-0.0.8 lib/fozzie/config.rb
fozzie-0.0.7 lib/fozzie/config.rb
fozzie-0.0.6 lib/fozzie/config.rb
fozzie-0.0.5 lib/fozzie/config.rb
fozzie-0.0.4 lib/fozzie/config.rb
fozzie-0.0.3 lib/fozzie/config.rb
fozzie-0.0.2 lib/fozzie/config.rb
fozzie-0.0.1 lib/fozzie/config.rb