Class: GLW::ScreenCell
- Inherits:
-
Data
- Object
- Data
- GLW::ScreenCell
- Defined in:
- lib/glw/screen_cell.rb
Instance Attribute Summary collapse
-
#bg_color ⇒ Object
readonly
Returns the value of attribute bg_color.
-
#char ⇒ Object
readonly
Returns the value of attribute char.
-
#fg_color ⇒ Object
readonly
Returns the value of attribute fg_color.
Class Method Summary collapse
Instance Attribute Details
#bg_color ⇒ Object (readonly)
Returns the value of attribute bg_color
2 3 4 |
# File 'lib/glw/screen_cell.rb', line 2 def bg_color @bg_color end |
#char ⇒ Object (readonly)
Returns the value of attribute char
2 3 4 |
# File 'lib/glw/screen_cell.rb', line 2 def char @char end |
#fg_color ⇒ Object (readonly)
Returns the value of attribute fg_color
2 3 4 |
# File 'lib/glw/screen_cell.rb', line 2 def fg_color @fg_color end |
Class Method Details
.blank ⇒ Object
3 4 5 |
# File 'lib/glw/screen_cell.rb', line 3 def self.blank @blank ||= new(" ", :black, :black) end |