The Self-Pipe Trick Explained
rubysource.com