Class: YiffSpace::Utils::TableBuilder::Column
- Inherits:
-
Object
- Object
- YiffSpace::Utils::TableBuilder::Column
- Defined in:
- lib/yiffspace/utils/table_builder.rb
Overview
Represents a single column in the table.
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#body_attributes ⇒ Object
readonly
Returns the value of attribute body_attributes.
-
#caption ⇒ Object
readonly
Returns the value of attribute caption.
-
#header_attributes ⇒ Object
readonly
Returns the value of attribute header_attributes.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attribute = nil, column: nil, th: {}, td: {}, width: nil, name: nil) {|item| ... } ⇒ Column
constructor
Define a table column.
-
#value(item, row, column) ⇒ #to_s
Returns the value of the table cell.
Constructor Details
#initialize(attribute = nil, column: nil, th: {}, td: {}, width: nil, name: nil) {|item| ... } ⇒ Column
Define a table column.