lib/hexapdf/task.rb in hexapdf-0.24.0 vs lib/hexapdf/task.rb in hexapdf-0.24.1
- old
+ new
@@ -56,10 +56,10 @@
#
# Here is a simple example:
#
# doc = HexaPDF::Document.new
# doc.config['task.map'][:validate] = lambda do |doc|
- # doc.each(only_current: false) {|obj| obj.validate || raise "Invalid object #{obj}"}
+ # doc.each {|obj| obj.validate || raise "Invalid object #{obj}"}
# end
module Task
autoload(:Optimize, 'hexapdf/task/optimize')
autoload(:Dereference, 'hexapdf/task/dereference')