class Presentation::Form::Group

Attributes

name[RW]

a completely optional group name

Public Instance Methods

fields() click to toggle source

the fields in the group

# File lib/presentation/form.rb, line 57
def fields
  @fields ||= Presenting::FieldSet.new(Field, :name, :type)
end
fields=(args) click to toggle source
# File lib/presentation/form.rb, line 60
def fields=(args)
  args.each do |field|
    fields << field
  end
end