my alarm clock is

by janedotx7

def alarm(hours, minutes)
total = (hours * 60 + minutes) * 60
sleep(total)
while true
`say “wake up”`
end
end

alarm(ARGV[0].to_i, ARGV[1].to_i)

———-

Rock on.

Advertisements