The rest of the code is Ruby but this isn't. Guessing this code wasn't copied and pasted but written on the fly by someone who's been doing some Java recently? :-)
Heh. Yeah, I always find myself using the non-existent keyword now in Ruby and blowing things up by accident. It's the one place where Ruby is surprisingly unnatural.