- hoge.csv
user\tpassword
foo\t1234
bar\t1111
# !/usr/bin/env ruby
require "csv"
require 'pp'
c = CSV.table('./hoge.csv',:col_sep => "\t")
c.each do |_c|
p _c[:user]
# "foo"
# "bar"
end
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
user\tpassword
foo\t1234
bar\t1111
# !/usr/bin/env ruby
require "csv"
require 'pp'
c = CSV.table('./hoge.csv',:col_sep => "\t")
c.each do |_c|
p _c[:user]
# "foo"
# "bar"
end
Register as a new user and use Qiita more conveniently
Go to list of users who liked