Sha256: e1b56bd7606569ff0c52b5bd3fc3bdc281fb7a3fbc4727022358999c1504f275

Contents?: true

Size: 148 Bytes

Versions: 14

Compression:

Stored size: 148 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
codebreaker_kirill-1.2.4 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.2.3 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.2.1 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.1.1 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.1.0 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.0.2 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.0.1 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-1.0.0 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.3.3 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.3.2 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.3.1 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.3.0 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.2.20 lib/codebreaker_kirill/code_generator.rb
codebreaker_kirill-0.2.19 lib/codebreaker_kirill/code_generator.rb