Sha256: bd335a90bdb48690a2874e6bba1070a04730722aad4914994937c4f97c6b7f0a

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

require 'confuse'

config = Confuse.config :prefix => 'CONF' do |conf|
  conf.add_item :foo, :description => "How many Foo's are there?", :default => 1
end

puts config.foo

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
confuse-1.1.1 example/env_example.rb
confuse-1.1.0 example/env_example.rb
confuse-1.0.0 example/env_example.rb