Sha256: 62be9023dee097eb62094aa05c3d089c5f19bf67ab31ba17a73a729465a98e70
Contents?: true
Size: 225 Bytes
Versions: 3
Compression:
Stored size: 225 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 require 'confuse' config = Confuse.config :path => 'example/example.yaml' 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/yaml_example.rb |
confuse-1.1.0 | example/yaml_example.rb |
confuse-1.0.0 | example/yaml_example.rb |