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