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