Method: Fibril::Guard#while

Defined in:
lib/fibril/guard.rb

#while(&blk) ⇒ Object

The inverse of loop. Loop until a block evalutes to true



107
108
109
# File 'lib/fibril/guard.rb', line 107

def while(&blk)
  loop{ !blk[] }
end