Class: Primer::Forms::FormList
- Inherits:
-
Object
- Object
- Primer::Forms::FormList
- Extended by:
- ActsAsComponent
- Defined in:
- app/lib/primer/forms/form_list.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(*forms) ⇒ FormList
constructor
A new instance of FormList.
- #perform_render(&_block) ⇒ Object
Methods included from ActsAsComponent
compile!, extended, renders_templates
Constructor Details
#initialize(*forms) ⇒ FormList
Returns a new instance of FormList.
11 12 13 |
# File 'app/lib/primer/forms/form_list.rb', line 11 def initialize(*forms) @forms = forms end |
Instance Method Details
#perform_render(&_block) ⇒ Object
15 16 17 18 |
# File 'app/lib/primer/forms/form_list.rb', line 15 def perform_render(&_block) self.class.compile! render_form_list end |