Created
February 26, 2013 19:35
-
-
Save famulus/5041407 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME | |
irbtab | |
DESCRIPTION | |
irbtab allows you to copy and paste from irb arrays to a spreadsheet (tab delimited) | |
it works on osx, linux and possibly windows. | |
SYNOPSIS | |
0) install the gem | |
gem install irbtab | |
1) in your .irbrc do | |
require 'rubygems' unless defined?(Gem) | |
require 'irbtab' | |
2) now in irb you could do | |
irbt [['a', 'two dimentional'],['array', 'for your spreadsheet']] | |
3) if you've copied something from a spreadsheet you can simply do | |
irbt | |
to paste it into an ruby array in 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 | |
LICENSE | |
MIT License |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment