Class: Gitter::TableHeaderCell
- Defined in:
- lib/gitter/table.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Attributes inherited from TableCell
Instance Method Summary collapse
- #formatted_content ⇒ Object
- #header? ⇒ Boolean
- #html(opts = {}) ⇒ Object
-
#initialize(content) ⇒ TableHeaderCell
constructor
A new instance of TableHeaderCell.
Constructor Details
#initialize(content) ⇒ TableHeaderCell
Returns a new instance of TableHeaderCell.
31 32 33 |
# File 'lib/gitter/table.rb', line 31 def initialize content @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
29 30 31 |
# File 'lib/gitter/table.rb', line 29 def content @content end |
Instance Method Details
#formatted_content ⇒ Object
43 44 45 |
# File 'lib/gitter/table.rb', line 43 def formatted_content content end |
#header? ⇒ Boolean
39 40 41 |
# File 'lib/gitter/table.rb', line 39 def header? true end |