Ruby n00b here.

What I'd like to do is create a command that, when invoked, copies the 
last output of irb to the Windows clipboard. How do I do this?