Method: Cond::CondPrivate::CodeSection#run

Defined in:
lib/cond.rb

#runObject



289
290
291
292
293
294
295
296
297
298
299
# File 'lib/cond.rb', line 289

def run
  catch(@leave) {
    while true
      catch(@again) {
        Cond.send(@with, Hash.new) {
          throw @leave, @block.call(*@again_args)
        }
      }
    end
  }
end