Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.