documentcloud/docsplit — Issue #26: undefined method normalize_range for Docsplit:Module
Author: sandstrom
Created: 2011-10-14 11:21:38+00:00
State: open

When specifying :pages => Range.new(1,5) I get a *undefined method normalize_range for Docsplit:Module* error. Looking at the source the method don't seem to be defined.

https://github.com/documentcloud/docsplit/blob/master/lib/docsplit.rb#L112-113

options = { :format => :jpg, :output => path_to_output_directory, :pages => Range.new(1, 5) }
Docsplit.extract_images(path_to_file, options)