Class: Muxr::Renderer::Cell
- Inherits:
-
Struct
- Object
- Struct
- Muxr::Renderer::Cell
- Defined in:
- lib/muxr/renderer.rb
Instance Attribute Summary collapse
-
#attrs ⇒ Object
Returns the value of attribute attrs.
-
#bg ⇒ Object
Returns the value of attribute bg.
-
#char ⇒ Object
Returns the value of attribute char.
-
#fg ⇒ Object
Returns the value of attribute fg.
-
#hyperlink ⇒ Object
Returns the value of attribute hyperlink.
Instance Method Summary collapse
Instance Attribute Details
#attrs ⇒ Object
Returns the value of attribute attrs
38 39 40 |
# File 'lib/muxr/renderer.rb', line 38 def attrs @attrs end |
#bg ⇒ Object
Returns the value of attribute bg
38 39 40 |
# File 'lib/muxr/renderer.rb', line 38 def bg @bg end |
#char ⇒ Object
Returns the value of attribute char
38 39 40 |
# File 'lib/muxr/renderer.rb', line 38 def char @char end |
#fg ⇒ Object
Returns the value of attribute fg
38 39 40 |
# File 'lib/muxr/renderer.rb', line 38 def fg @fg end |
#hyperlink ⇒ Object
Returns the value of attribute hyperlink
38 39 40 |
# File 'lib/muxr/renderer.rb', line 38 def hyperlink @hyperlink end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 |
# File 'lib/muxr/renderer.rb', line 39 def ==(other) other.is_a?(Cell) && char == other.char && fg == other.fg && bg == other.bg && attrs == other.attrs && hyperlink == other.hyperlink end |