Class: PdfEditor::Reorder
Constant Summary
Constants included from Errors
Errors::ArgumentMissingError, Errors::InvalidInputError, Errors::InvalidPDFError, Errors::PageCountError, Errors::PageOrderInvalidError, Errors::PageRangeError, Errors::ResourcesEmptyError, Errors::TitlePageTitleError
Constants included from Service
Service::InterfaceNotImplementedError, Service::MustPassBlockToAsTempfile
Instance Attribute Summary
Attributes inherited from Shuffle
Instance Method Summary collapse
-
#post_init ⇒ Object
Page order requires a unique set of members and is not sorted.
Methods inherited from Shuffle
Methods included from PdfRunner
Methods included from Service
Instance Method Details
#post_init ⇒ Object
Page order requires a unique set of members and is not sorted.
11 12 13 14 |
# File 'lib/pdf_editor/reorder.rb', line 11 def post_init super @page_order = @page_order.uniq end |