lib/roo/openoffice.rb in roo-1.12.2 vs lib/roo/openoffice.rb in roo-1.13.0
- old
+ new
@@ -34,10 +34,10 @@
if Hash === options
packed = options[:packed]
file_warning = options[:file_warning] || :error
tmpdir_root = options[:tmpdir_root]
else
- warn 'Supplying `packed`, `file_warning`, or `tmpdir_root` as separate arguments to `Roo::OpenOffice.new` is deprected. Use an options hash instead.'
+ warn 'Supplying `packed`, `file_warning`, or `tmpdir_root` as separate arguments to `Roo::OpenOffice.new` is deprecated. Use an options hash instead.'
packed = options
file_warning = deprecated_file_warning
tmpdir_root = deprecated_tmpdir_root
end