class Sisyphus::Sleep
Public Instance Methods
perform()
click to toggle source
# File lib/sisyphus/sleep.rb, line 5 def perform sleep 40 puts "Goodmorning from #{Process.pid}" raise "Hest" if rand(10) % 2 == 0 end