Class: SimpleTable::Rows
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Attributes inherited from Tag
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(parent, options = {}) ⇒ Rows
constructor
A new instance of Rows.
- #row(*args, &block) ⇒ Object
Methods inherited from Tag
#add_class, #collection_class, #collection_name, #head?, #render, #table
Constructor Details
#initialize(parent, options = {}) ⇒ Rows
Returns a new instance of Rows.
7 8 9 10 |
# File 'lib/simple_table/rows.rb', line 7 def initialize(parent, = {}) @rows = [] super end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
5 6 7 |
# File 'lib/simple_table/rows.rb', line 5 def rows @rows end |