lib/smilodon.rb in smilodon-0.3.7 vs lib/smilodon.rb in smilodon-0.3.8
- old
+ new
@@ -100,10 +100,10 @@
# @param [String] Name of file to be read
# @return [Parser, #parse] Returns the parser class to use.
def parser
if type == 'csv'
require 'csv'
- return CSV::Reader
+ return CSV
end
end
# Absolute path for the data file.
#