Sha256: 3072aba0639b6db2238301e9440bf2366546106bcd921cd54511cbbcdba6a209

Contents?: true

Size: 187 Bytes

Versions: 8

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
codebreaker_kirill-2.0.0 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.7 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.6 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.5 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.4 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.2 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.1 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.3.0 lib/codebreaker_kirill/code_generator.rb