Class: Tableview::ViewHandler::Cell
- Inherits:
-
TablePiece
- Object
- TablePiece
- Tableview::ViewHandler::Cell
- Defined in:
- lib/tableview/view_handler.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
Returns the value of attribute contents.
Attributes inherited from TablePiece
Instance Method Summary collapse
-
#initialize(contents, opts) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(contents, opts) ⇒ Cell
Returns a new instance of Cell.
187 188 189 190 |
# File 'lib/tableview/view_handler.rb', line 187 def initialize(contents, opts) self.contents = contents super opts end |
Instance Attribute Details
#contents ⇒ Object
Returns the value of attribute contents.
186 187 188 |
# File 'lib/tableview/view_handler.rb', line 186 def contents @contents end |