Without some difference between functions and blocks, patterns like
foo.each do |x|
return if x == 3
end
Don't "return" out of the enclosing function.