I read on SO that it is recommended since Ruby 1.8 to use the new syntax, but only now they deprecated it. So I assume the new syntax also works in old Rubies.