Class: Id::Form::FieldWithFormSupport

Inherits:
Model::Field show all
Defined in:
lib/id/form/field_with_form_support.rb

Instance Attribute Summary

Attributes inherited from Model::Field

#model, #name, #options

Instance Method Summary collapse

Methods inherited from Model::Field

#cast, #default, #default?, #default_value, #define, #initialize, #key, #optional?, #presence_of, #value_of

Constructor Details

This class inherits a constructor from Id::Model::Field

Instance Method Details

#hook_defineObject



5
6
7
# File 'lib/id/form/field_with_form_support.rb', line 5

def hook_define
  FieldForm.define(self)
end