Skip to content

Instantly share code, notes, and snippets.

@ursm
Created January 5, 2009 10:19
Show Gist options
  • Select an option

  • Save ursm/43350 to your computer and use it in GitHub Desktop.

Select an option

Save ursm/43350 to your computer and use it in GitHub Desktop.
>> require 'csv'
=> true
>> CSV.parse("hoge\tfuga\n1\t2\n", col_sep: "\t")
=> [["hoge", "fuga"], ["1", "2"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment