Module: DerivativeRodeo::Services::PdfSplitterService
- Defined in:
- lib/derivative_rodeo/services/pdf_splitter_service.rb
Class Method Summary collapse
-
.for(name) ⇒ PdfSplitter::Base
Find the DerivativeRodeo::Services::PdfSplitter::Base with the given name.
Class Method Details
.for(name) ⇒ PdfSplitter::Base
Find the DerivativeRodeo::Services::PdfSplitter::Base with the given name.
13 14 15 16 |
# File 'lib/derivative_rodeo/services/pdf_splitter_service.rb', line 13 def self.for(name) klass_name = "#{name.to_s.classify}_page".classify "DerivativeRodeo::Services::PdfSplitter::#{klass_name}".constantize end |