lib/sfn/config.rb in sfn-1.1.6 vs lib/sfn/config.rb in sfn-1.1.8

- old
+ new

@@ -7,10 +7,11 @@ class Config < Bogo::Config # Only values allowed designating bool type BOOLEAN_VALUES = [TrueClass, FalseClass] + autoload :Conf, 'sfn/config/conf' autoload :Create, 'sfn/config/create' autoload :Describe, 'sfn/config/describe' autoload :Destroy, 'sfn/config/destroy' autoload :Describe, 'sfn/config/describe' autoload :Diff, 'sfn/config/diff' @@ -65,9 +66,10 @@ attribute( :yes, [TrueClass, FalseClass], :description => 'Automatically accept any requests for confirmation' ) + attribute :conf, Conf, :coerce => proc{|v| Conf.new(v)} attribute :create, Create, :coerce => proc{|v| Create.new(v)} attribute :update, Update, :coerce => proc{|v| Update.new(v)} attribute :destroy, Destroy, :coerce => proc{|v| Destroy.new(v)} attribute :events, Events, :coerce => proc{|v| Events.new(v)} attribute :export, Export, :coerce => proc{|v| Export.new(v)}