Both do work.
1. Is by the angle and the slight vacuum as the exhaust flows past the pipe, and is helped by the port to allow exhaust flowing in to keep the flow of CCV fumes out. Mount this at 90 deg and it won't work with the opening forwards, turn it around so the opening backwards and it'll work also.
2. Is by the slight vacuum created as the exhaust flows around/past the piece of pipe.
Mine is closer to #2, works fine