Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
irbcp gives access to your system's clipboard (copy and paste) from irb
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README
Rakefile
irbcp.gemspec

README

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

Something went wrong with that request. Please try again.