Class: Messages
- Inherits:
-
Object
- Object
- Messages
- Defined in:
- lib/terminal_chess/messages.rb
Class Attribute Summary collapse
-
.black_in_check ⇒ Object
readonly
Returns the value of attribute black_in_check.
-
.black_turn ⇒ Object
readonly
Returns the value of attribute black_turn.
-
.black_winner ⇒ Object
readonly
Returns the value of attribute black_winner.
-
.checkmate ⇒ Object
readonly
Returns the value of attribute checkmate.
-
.invalid ⇒ Object
readonly
Returns the value of attribute invalid.
-
.piece_moved ⇒ Object
readonly
Returns the value of attribute piece_moved.
-
.red_in_check ⇒ Object
readonly
Returns the value of attribute red_in_check.
-
.red_turn ⇒ Object
readonly
Returns the value of attribute red_turn.
-
.red_winner ⇒ Object
readonly
Returns the value of attribute red_winner.
Class Attribute Details
.black_in_check ⇒ Object (readonly)
Returns the value of attribute black_in_check.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def black_in_check @black_in_check end |
.black_turn ⇒ Object (readonly)
Returns the value of attribute black_turn.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def black_turn @black_turn end |
.black_winner ⇒ Object (readonly)
Returns the value of attribute black_winner.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def black_winner @black_winner end |
.checkmate ⇒ Object (readonly)
Returns the value of attribute checkmate.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def checkmate @checkmate end |
.invalid ⇒ Object (readonly)
Returns the value of attribute invalid.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def invalid @invalid end |
.piece_moved ⇒ Object (readonly)
Returns the value of attribute piece_moved.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def piece_moved @piece_moved end |
.red_in_check ⇒ Object (readonly)
Returns the value of attribute red_in_check.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def red_in_check @red_in_check end |
.red_turn ⇒ Object (readonly)
Returns the value of attribute red_turn.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def red_turn @red_turn end |
.red_winner ⇒ Object (readonly)
Returns the value of attribute red_winner.
15 16 17 |
# File 'lib/terminal_chess/messages.rb', line 15 def red_winner @red_winner end |