copy and paste between ruby arrays in irb/rails console and a spreadsheet (tab delimited) and vise versa
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 17 commits ahead of ahoward:master.
Permalink
Failed to load latest commit information.
lib alias irbtab to irbt, raise argument error for one dimentional array Mar 25, 2013
README.md copy edits Feb 26, 2013
Rakefile add systemu gem dep May 3, 2011
irbtab.gemspec copy edit Feb 26, 2013

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