class Loto6
Public Instance Methods
sum(a, b, c, d, e, f)
click to toggle source
# File bin/speak, line 141 def sum(a, b, c, d, e, f) x = Random.rand(a) + 1 y = Random.rand(b) + 1 z = Random.rand(c) + 1 s = Random.rand(d) + 1 t = Random.rand(e) + 1 d = Random.rand(f) + 1 [x, y, z, s, t, d] end