Class: NattyUI::Features::Table::Cell
- Inherits:
-
Object
- Object
- NattyUI::Features::Table::Cell
- Defined in:
- lib/natty-ui/wrapper/table.rb
Instance Attribute Summary collapse
-
#align ⇒ :left, ...
Text alignment.
-
#style ⇒ String?
Text style; see Ansi.try_convert.
-
#value ⇒ String?
Text value of the cell.
Instance Attribute Details
#align ⇒ :left, ...
Returns text alignment.
329 |
# File 'lib/natty-ui/wrapper/table.rb', line 329 def align = ALIGNMENT[@align] |
#style ⇒ String?
Returns text style; see Ansi.try_convert.
333 334 335 |
# File 'lib/natty-ui/wrapper/table.rb', line 333 def style @style_ ||= Ansi.try_convert(@style) end |
#value ⇒ String?
Returns text value of the cell.
313 314 315 |
# File 'lib/natty-ui/wrapper/table.rb', line 313 def value @value end |