Class: CLI::Selection
- Inherits:
-
Object
- Object
- CLI::Selection
- Defined in:
- lib/ttt/interfaces/cli/lib/cli/selection.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#boards ⇒ Object
Returns the value of attribute boards.
-
#players ⇒ Object
Returns the value of attribute players.
-
#presenter ⇒ Object
Returns the value of attribute presenter.
Instance Method Summary collapse
Instance Attribute Details
#boards ⇒ Object
Returns the value of attribute boards.
3 4 5 |
# File 'lib/ttt/interfaces/cli/lib/cli/selection.rb', line 3 def boards @boards end |
#players ⇒ Object
Returns the value of attribute players.
3 4 5 |
# File 'lib/ttt/interfaces/cli/lib/cli/selection.rb', line 3 def players @players end |
#presenter ⇒ Object
Returns the value of attribute presenter.
3 4 5 |
# File 'lib/ttt/interfaces/cli/lib/cli/selection.rb', line 3 def presenter @presenter end |
Instance Method Details
#input ⇒ Object
4 5 6 |
# File 'lib/ttt/interfaces/cli/lib/cli/selection.rb', line 4 def input presenter.input end |