Trans wrote: > funny thing i just came across a similar case for break. how would you > DRY this up and get rid of 'result'? > > result = nil > files.each do > result = require file > break if result > end > if result > ... Well, this is much easier: if files.any? {|file| require file } ... C'mon, Trans. :) Devin (Or am I missing something obvious?)