Absolutly same code but it Pythonic way. Why should you force you favorite style to other people? Ruby doesn't have any official code style guidelines (Python does). So any code that works is a correct one. Like in the Perl way.