Sha256: 05c5554dc1cc8419bb04ebf4177d724547b46c78ec8f7a9ed7ee9db6051a60b4

Contents?: true

Size: 144 Bytes

Versions: 2

Compression:

Stored size: 144 Bytes

Contents

class Factory
  def self.new_secret_code
    secret_code = []

    4.times do
      secret_code << rand(1..6)
    end
    secret_code
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codebreaker_vv-2.0.0 lib/src/factory.rb
codebreaker_vv-1.0.0 lib/src/factory.rb