Class: Tableview::ViewHandler::Cell

Inherits:
TablePiece show all
Defined in:
lib/tableview/view_handler.rb

Instance Attribute Summary collapse

Attributes inherited from TablePiece

#options

Instance Method Summary collapse

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

#contentsObject

Returns the value of attribute contents.



186
187
188
# File 'lib/tableview/view_handler.rb', line 186

def contents
  @contents
end