Module: CodebreakerKirill::CodeGenerator

Included in:
Game
Defined in:
lib/codebreaker_kirill/code_generator.rb

Class Method Summary collapse

Class Method Details

.callObject



5
6
7
# File 'lib/codebreaker_kirill/code_generator.rb', line 5

def self.call
  Array.new(Settings::CODE_LENGTH) { rand(Settings::RANDOM_RANGE) }
end