Module: Naming::Form
- Defined in:
- app/models/naming/form.rb
Class Method Summary collapse
Class Method Details
.models ⇒ Object
4 5 6 7 8 |
# File 'app/models/naming/form.rb', line 4 def models @_models ||= Naming::Form.structure_models + Naming::Form.static_models + %w[ Form::Row ] end |
.static_models ⇒ Object
10 11 12 |
# File 'app/models/naming/form.rb', line 10 def static_models @_static_models ||= Naming::Viewable::Form.static_names.map{ |name| "Form::#{name.camelize}" } end |
.structure_models ⇒ Object
14 15 16 17 18 19 20 |
# File 'app/models/naming/form.rb', line 14 def structure_models %w[ Form::Structure Form::Field Form::Email ] end |