lib/meibo/reader.rb in meibo-0.11.0 vs lib/meibo/reader.rb in meibo-0.12.0
- old
+ new
@@ -3,10 +3,10 @@
require 'csv'
require 'zip'
module Meibo
class Reader
- def self.open(file_path, profile: Profile.new)
+ def self.open(file_path, profile: Meibo.default_profile)
Zip::File.open(file_path) do |zipfile|
yield new(zipfile: zipfile, profile: profile)
end
end