lib/yquotes.rb in yquotes-1.2.0 vs lib/yquotes.rb in yquotes-1.4.0
- old
+ new
@@ -35,10 +35,10 @@
def create_from_csv(data)
file_path = Dir.tmpdir + "/#{Time.now.to_i}"
CSV.open(file_path, 'w') do |out|
data.each do |row|
- out << row
+ out << row unless row.include? 'null'
end
end
df = nil