Sha256: df35459b9f63105bebb38233a5987d7f273f6ec684222b0bd3406a0bd6ad4714
Contents?: true
Size: 406 Bytes
Versions: 11
Compression:
Stored size: 406 Bytes
Contents
module AlexCodebreaker class SecretCodeGenerator attr_reader :secret_code def initialize @secret_code = generate_secret_code end private def generate_secret_code Array.new(AlexCodebreaker::Modules::Settings::CODE_LENGTH) do rand(AlexCodebreaker::Modules::Settings::CODE_MIN_DIGIT..AlexCodebreaker::Modules::Settings::CODE_MAX_DIGIT) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems