#!/usr/bin/env ruby # coding: utf-8 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