Sha256: c2db4566f1b97badf7f5ef376db852a6b99c6ae2c314945dccc3e5734856e6e4

Contents?: true

Size: 137 Bytes

Versions: 28

Compression:

Stored size: 137 Bytes

Contents

class SleepWaiter
 
  def initialize(sleep_time = 1)
    @sleep_time = sleep_time
  end
 
  def wait
    sleep @sleep_time
  end
    
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
karl-loris-0.0.10 lib/sleep_waiter.rb
karl-loris-0.0.11 lib/sleep_waiter.rb
karl-loris-0.0.6 lib/sleep_waiter.rb
karl-loris-0.0.7 lib/sleep_waiter.rb
karl-loris-0.0.9 lib/sleep_waiter.rb
loris-0.5.2 lib/sleep_waiter.rb
loris-0.5.1 lib/sleep_waiter.rb
loris-0.5.0 lib/sleep_waiter.rb
loris-0.4.1 lib/sleep_waiter.rb
loris-0.4.0 lib/sleep_waiter.rb
loris-0.3.2 lib/sleep_waiter.rb
loris-0.3.1 lib/sleep_waiter.rb
loris-0.3.0 lib/sleep_waiter.rb
loris-0.2.3 lib/sleep_waiter.rb
loris-0.2.2 lib/sleep_waiter.rb
loris-0.2.1 lib/sleep_waiter.rb
loris-0.2.0 lib/sleep_waiter.rb
loris-0.1.7 lib/sleep_waiter.rb
loris-0.1.5 lib/sleep_waiter.rb
loris-0.1.4 lib/sleep_waiter.rb