Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
copy and paste between ruby arrays in irb/rails console and a spreadsheet (tab delimited) and vise versa
Ruby
branch: master

This branch is 17 commits ahead of ahoward:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
Rakefile
irbtab.gemspec

README.md

DESCRIPTION

copy and paste between ruby arrays in irb/rails console and a spreadsheet (tab delimited) and vise versa.

it works on osx, linux and possibly windows.

SYNOPSIS

  • install the gem
gem install irbtab
  • in your ~/.irbrc add
require 'rubygems' unless defined?(Gem)

require 'irbtab' 
  • now in irb you can do
irbt [['a', 'two dimentional'],['array', 'for your spreadsheet']]

and the array is in your clipboard ready to paste into a spreadsheet.

  • if you've copied something from a spreadsheet, in irb you can simply do
irbt

to paste it into a ruby array

NOTES

LICENSE

MIT License

CREDITS

Based on irbcp by Ara T. Howard

Something went wrong with that request. Please try again.