Class: Tabulo::Cell
- Inherits:
-
Object
- Object
- Tabulo::Cell
- Defined in:
- lib/tabulo/cell.rb
Overview
Represents a single cell within the body of a Table.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
The underlying value for this Cell.
Instance Method Summary collapse
-
#formatted_content ⇒ String
The content of the Cell, after applying the formatter for this Column (but without applying any wrapping or the styler).
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the underlying value for this Cell.
11 12 13 |
# File 'lib/tabulo/cell.rb', line 11 def value @value end |
Instance Method Details
#formatted_content ⇒ String
Returns the content of the Cell, after applying the formatter for this Column (but without applying any wrapping or the styler).
57 58 59 |
# File 'lib/tabulo/cell.rb', line 57 def formatted_content @formatted_content ||= apply_formatter end |