Class: Hackmac::Graph::Display::Cell
- Inherits:
-
Struct
- Object
- Struct
- Hackmac::Graph::Display::Cell
- Defined in:
- lib/hackmac/graph/display.rb
Instance Attribute Summary collapse
-
#char ⇒ Object
Returns the value of attribute char.
-
#color ⇒ Object
Returns the value of attribute color.
-
#on_color ⇒ Object
Returns the value of attribute on_color.
-
#styles ⇒ Object
Returns the value of attribute styles.
Instance Method Summary collapse
Instance Attribute Details
#char ⇒ Object
Returns the value of attribute char
5 6 7 |
# File 'lib/hackmac/graph/display.rb', line 5 def char @char end |
#color ⇒ Object
Returns the value of attribute color
5 6 7 |
# File 'lib/hackmac/graph/display.rb', line 5 def color @color end |
#on_color ⇒ Object
Returns the value of attribute on_color
5 6 7 |
# File 'lib/hackmac/graph/display.rb', line 5 def on_color @on_color end |
#styles ⇒ Object
Returns the value of attribute styles
5 6 7 |
# File 'lib/hackmac/graph/display.rb', line 5 def styles @styles end |
Instance Method Details
#==(other) ⇒ Object
6 7 8 |
# File 'lib/hackmac/graph/display.rb', line 6 def ==(other) to_a == other.to_a end |