Over a million developers have joined DZone.

Fancy Little Ruby Input Prompter

·

for i in 1..100
  print "Now at #{i}. Restart? "
  retry if gets =~ /^y/i
end
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}