Class: Protege::Components::TablesHelper::Table
- Inherits:
-
Struct
- Object
- Struct
- Protege::Components::TablesHelper::Table
- Defined in:
- app/helpers/protege/components/tables_helper.rb
Overview
A table's data model: column headers and rows (each row an array of cells). Built by view
helpers and passed straight to #table, so a caller defines both halves in one place.
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#rows ⇒ Object
Returns the value of attribute rows.
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers
11 12 13 |
# File 'app/helpers/protege/components/tables_helper.rb', line 11 def headers @headers end |
#rows ⇒ Object
Returns the value of attribute rows
11 12 13 |
# File 'app/helpers/protege/components/tables_helper.rb', line 11 def rows @rows end |