Skip to content

Commit

Permalink
update command
Browse files Browse the repository at this point in the history
  • Loading branch information
masa21kik committed May 31, 2014
1 parent 6aa922e commit 13857d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/csvconv
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if $PROGRAM_NAME == __FILE__

inputs = ARGV.empty? ? [STDIN] : ARGV.map { |f| File.open(f) }
inputs.each do |input|
CSVConv.send("to_#{format.to_s}", input, output, options)
output.puts CSVConv.send("csv2#{format.to_s}", input, options)
end

output.close
Expand Down

0 comments on commit 13857d2

Please sign in to comment.