Class: Field::PersonType
Instance Attribute Summary
Attributes inherited from Base
#fieldset, #form, #name, #value
Instance Method Summary collapse
Methods inherited from Base
#add_attributes, #add_validations, #form?, #initialize
Constructor Details
This class inherits a constructor from Field::Base
Instance Method Details
#attribute ⇒ Object
5 6 7 |
# File 'lib/field/person_type.rb', line 5 def attribute ::Attribute::PersonType end |
#output ⇒ Object
9 10 11 |
# File 'lib/field/person_type.rb', line 9 def output ::PersonType.new(value).description end |