Class: View::SelectTeam
- Defined in:
- lib/tic_tac_toe/view/select_team.rb
Constant Summary collapse
- SELECT_TEAM_TYPE_MESSAGE =
'Please Select Team Type by Entering Number Next to Type'.freeze
- SELECT_TEAM_NAME_MESSAGE =
'Please Select Team Name'.freeze
Instance Method Summary collapse
-
#initialize(select_team_presenter, terminal_util) ⇒ SelectTeam
constructor
A new instance of SelectTeam.
- #render ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(select_team_presenter, terminal_util) ⇒ SelectTeam
Returns a new instance of SelectTeam.
6 7 8 9 |
# File 'lib/tic_tac_toe/view/select_team.rb', line 6 def initialize(select_team_presenter, terminal_util) @select_team_presenter = select_team_presenter @terminal_util = terminal_util end |
Instance Method Details
#render ⇒ Object
11 12 13 |
# File 'lib/tic_tac_toe/view/select_team.rb', line 11 def render select_teams end |