Module: AlexCodebreaker

Defined in:
lib/alex_codebreaker/game.rb,
lib/alex_codebreaker/session.rb,
lib/alex_codebreaker/version.rb,
lib/alex_codebreaker/comparison.rb,
lib/alex_codebreaker/game_manager.rb,
lib/alex_codebreaker/configuration.rb,
lib/alex_codebreaker/players_rating.rb,
lib/alex_codebreaker/modules/settings.rb,
lib/alex_codebreaker/modules/validators.rb,
lib/alex_codebreaker/secret_code_generator.rb,
lib/alex_codebreaker/modules/difficulty_levels.rb,
lib/alex_codebreaker/modules/arguments_validation.rb

Defined Under Namespace

Modules: Modules, Version Classes: Comparison, Configuration, Game, GameManager, PlayersRating, SecretCodeGenerator, Session

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/alex_codebreaker/configuration.rb', line 14

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/alex_codebreaker/configuration.rb', line 18

def self.configure
  yield configuration
end