Class: TTYString::Cell
- Inherits:
-
Object
- Object
- TTYString::Cell
- Defined in:
- lib/tty_string/cell.rb
Instance Attribute Summary collapse
-
#style ⇒ Object
readonly
Returns the value of attribute style.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, style: NullStyle) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
Instance Attribute Details
#style ⇒ Object (readonly)
Returns the value of attribute style.
5 6 7 |
# File 'lib/tty_string/cell.rb', line 5 def style @style end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/tty_string/cell.rb', line 5 def value @value end |