lib/knuth.rb
def randomize
    random_seed = -1
    while random_seed < 0 || random_seed > 1
      puts 'Enter seed random number (0.0..1.0): '
      user_input = gets
      random_seed = user_input.to_i
    end
    warmup_random(random_seed)
  end
# randomize - queries terminal for user-specified random seed
# and initializes random.
queries terminal for user-specified random seed
and initializes random.
queries terminal for user - specified random seed and initializes random .
def randomize
    random_seed = -1
    while random_seed < 0 || random_seed > 1
      puts 'Enter seed random number (0.0..1.0): '
      user_input = gets
      random_seed = user_input.to_i
    end
    warmup_random(random_seed)
  end
def randomize random_seed = - 1 while random_seed < 0 || random_seed > 1 puts 'Enter seed random number (0.0..1.0): ' user_input = gets random_seed = user_input . to_i end warmup_random ( random_seed ) end
randomize - queries terminal for user-specified random seed
and initializes random.
randomize - queries terminal for user - specified random seed and initializes random .