Class: AlexCodebreaker::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/alex_codebreaker/configuration.rb

Constant Summary collapse

DEFAULT_WINNERS_FOLDER_PATH =
'games/winners'.freeze
DEFAULT_GAMES_FOLDER_PATH =
'games'.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
# File 'lib/alex_codebreaker/configuration.rb', line 8

def initialize
  @winners_folder_path = DEFAULT_WINNERS_FOLDER_PATH
  @games_folder_path = DEFAULT_GAMES_FOLDER_PATH
end

Instance Attribute Details

#games_folder_pathObject

Returns the value of attribute games_folder_path.



6
7
8
# File 'lib/alex_codebreaker/configuration.rb', line 6

def games_folder_path
  @games_folder_path
end

#winners_folder_pathObject

Returns the value of attribute winners_folder_path.



6
7
8
# File 'lib/alex_codebreaker/configuration.rb', line 6

def winners_folder_path
  @winners_folder_path
end