CSV.foreach('data.csv' skip_lines: /^(?:,\s*)+$/) do |row|
# do something
end
こんな感じでskip_lines: /^(?:,\s*)+$/
とすると上手くいったメモ
Go to list of users who liked
More than 5 years have passed since last update.
CSV.foreach('data.csv' skip_lines: /^(?:,\s*)+$/) do |row|
# do something
end
こんな感じでskip_lines: /^(?:,\s*)+$/
とすると上手くいったメモ
Register as a new user and use Qiita more conveniently
Go to list of users who liked