example/ini_example.rb in confuse-1.1.0 vs example/ini_example.rb in confuse-1.1.1
- old
+ new
@@ -3,8 +3,10 @@
require 'confuse'
config = Confuse.config :path => 'example/example.ini' do |conf|
conf.add_item :foo, :description => "How many Foo's are there?", :default => 1
+ conf.add_item :bar, :description => "list of bars", :type => Array
end
puts config.foo
+puts config.bar