Class: View::SelectTeam

Inherits:
Base
  • Object
show all
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

Methods inherited from Base

#display_msg

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

#renderObject



11
12
13
# File 'lib/tic_tac_toe/view/select_team.rb', line 11

def render
  select_teams
end