class RandT::GenNum

Public Instance Methods

gen() click to toggle source
# File lib/rand_t/gen_num.rb, line 3
def gen
  4.times.map{ single_draw }
end

Private Instance Methods

single_draw() click to toggle source
# File lib/rand_t/gen_num.rb, line 8
def single_draw
  rand(0...60)
end