Module: Synctest::Patches::KernelPatch

Defined in:
lib/synctest/patches.rb

Instance Method Summary collapse

Instance Method Details

#sleep(duration = nil) ⇒ Object



8
9
10
11
12
13
# File 'lib/synctest/patches.rb', line 8

def sleep(duration = nil)
  bubble = Synctest.current_bubble
  return super unless bubble

  bubble.sleep(duration)
end