Method: Formation::Fieldset#initialize

Defined in:
lib/formation/fieldset.rb

#initialize(name, options = {}) ⇒ Fieldset



5
6
7
8
# File 'lib/formation/fieldset.rb', line 5

def initialize(name, options = {})
  @name = name
  @legend = options[:legend] || Formation::Util.titleize(name)
end