lib/sharp_office.rb in sharp_office-0.1.1 vs lib/sharp_office.rb in sharp_office-1.0.0

- old
+ new

@@ -14,10 +14,10 @@ logger = Logger.new(STDOUT) logger.level = Logger::INFO @logger = logger end - def self.process(path, options={pages: '1-10'}) + def self.process(path, options={pages: '1-20'}) raise Errno::ENOENT, "the file '#{path}' does not exist" unless File.exists?(path) Office.instance.start(path, options) end end