I understand that Ruby folks don't like explicit returns. However, even disregarding my personal preferences, in this particular case I'd staunchly defend that it's the right thing to do because the return value calculation spans multiple lines - omitting the `return` here greatly decreases readability IMO.