Top Level Namespace

Defined in:

Method Summary

Method Detail

def loop(start = 0, &) #

Repeatedly executes the block.

loop do
  line = gets
  break unless line
  # ...
end

[View source]