Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (20 sloc) 0.656 kb
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
Jump to Line
Something went wrong with that request. Please try again.