Fixing 'mod' snippet (Ruby)