Class: Tableview::ViewHandler::Part
- Inherits:
-
TablePiece
- Object
- TablePiece
- Tableview::ViewHandler::Part
- Defined in:
- lib/tableview/view_handler.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
Returns the value of attribute rows.
Attributes inherited from TablePiece
Instance Method Summary collapse
-
#initialize(*args) ⇒ Part
constructor
A new instance of Part.
- #row(opts = {}) {|row| ... } ⇒ Object
Constructor Details
#initialize(*args) ⇒ Part
Returns a new instance of Part.
146 147 148 149 |
# File 'lib/tableview/view_handler.rb', line 146 def initialize(*args) super *args self.rows = [] end |
Instance Attribute Details
#rows ⇒ Object
Returns the value of attribute rows.
145 146 147 |
# File 'lib/tableview/view_handler.rb', line 145 def rows @rows end |