Sha256: 15a5ef1d95d254b6e4b41670dc3ef4c60885f0444f63540152977bac1304dfeb

Contents?: true

Size: 139 Bytes

Versions: 2

Compression:

Stored size: 139 Bytes

Contents

class Factory
  def 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-0.2.0 lib/src/factory.rb
codebreaker_vv-0.1.0 lib/src/factory.rb