Class: AlexCodebreaker::Configuration
- Inherits:
-
Object
- Object
- AlexCodebreaker::Configuration
- 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
-
#games_folder_path ⇒ Object
Returns the value of attribute games_folder_path.
-
#winners_folder_path ⇒ Object
Returns the value of attribute winners_folder_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_path ⇒ Object
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_path ⇒ Object
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 |