Ruby 1.9: What to Expect

OSCON 2008

Break values


 Ruby 1.9

match =
   while line = gets
     next if line =~ /^#/
     break line if line.find(‘ruby’)
   end