NAME

irbcp

DESCRIPTION

irbcp gives access to your system's clipboard (copy and paste) from irb

it works on osx, linux and windows.

SYNOPSIS

0) install the gem

  gem install irbcp

1) in your .irbrc do

  require 'rubygems' unless defined?(Gem)

  require 'irbcp'

2) now in irb you could do

  cp 'this data is copied to your clibboard from irb'

3) if you've copied something to your system clipboard you can simply do

  cp

  to paste it into irb

NOTES

- you can use the commands 'copy' and 'paste' if you love carpal tunnel

- windows past support is via

  http://www.c3scripts.com/tutorials/msdos/paste.html#exe