# File ValidForm.rb, line 308 def initialize(id=nil,label=nil,attributes={}) @attributes=attributes || {} raise ArgumentError,"The attributes parameter passed to ValidForm::Fieldset#new was not a Hash" unless @attributes.is_a?(Hash) @id=id @label=label allowed_container_classes(ValidForm::Fieldset,ValidForm::Field) end