In older versions of Ruby, bare ranges could be used as conditions in if, while, and similar statements. You could, for example, have written the previous code fragment as:
print if /start/../end/
This is no longer supported. Unfortunately, no error is raised; the test will simply succeed each time.