Class: Odin::Forms::PageTemplate
- Inherits:
-
Object
- Object
- Odin::Forms::PageTemplate
- Defined in:
- lib/odin/forms/types.rb
Overview
A page template instantiated for region overflow continuation pages.
Instance Attribute Summary collapse
-
#continues ⇒ Object
readonly
Returns the value of attribute continues.
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
-
#form_id ⇒ Object
readonly
Returns the value of attribute form_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#page_template ⇒ Object
readonly
Returns the value of attribute page_template.
Instance Method Summary collapse
-
#initialize(name:, page_template:, continues:, form_id:, elements:) ⇒ PageTemplate
constructor
A new instance of PageTemplate.
Constructor Details
#initialize(name:, page_template:, continues:, form_id:, elements:) ⇒ PageTemplate
Returns a new instance of PageTemplate.
79 80 81 82 83 84 85 |
# File 'lib/odin/forms/types.rb', line 79 def initialize(name:, page_template:, continues:, form_id:, elements:) @name = name @page_template = page_template @continues = continues @form_id = form_id @elements = elements end |
Instance Attribute Details
#continues ⇒ Object (readonly)
Returns the value of attribute continues.
77 78 79 |
# File 'lib/odin/forms/types.rb', line 77 def continues @continues end |
#elements ⇒ Object (readonly)
Returns the value of attribute elements.
77 78 79 |
# File 'lib/odin/forms/types.rb', line 77 def elements @elements end |
#form_id ⇒ Object (readonly)
Returns the value of attribute form_id.
77 78 79 |
# File 'lib/odin/forms/types.rb', line 77 def form_id @form_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
77 78 79 |
# File 'lib/odin/forms/types.rb', line 77 def name @name end |
#page_template ⇒ Object (readonly)
Returns the value of attribute page_template.
77 78 79 |
# File 'lib/odin/forms/types.rb', line 77 def page_template @page_template end |