Class: Odin::Forms::FormPage
- Inherits:
-
Object
- Object
- Odin::Forms::FormPage
- Defined in:
- lib/odin/forms/types.rb
Overview
An ordered list of elements forming one page.
Instance Attribute Summary collapse
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
Instance Method Summary collapse
-
#initialize(elements) ⇒ FormPage
constructor
A new instance of FormPage.
Constructor Details
#initialize(elements) ⇒ FormPage
Returns a new instance of FormPage.
70 71 72 |
# File 'lib/odin/forms/types.rb', line 70 def initialize(elements) @elements = elements end |
Instance Attribute Details
#elements ⇒ Object (readonly)
Returns the value of attribute elements.
68 69 70 |
# File 'lib/odin/forms/types.rb', line 68 def elements @elements end |