Method: CommandWrap::Pdf.pages

Defined in:
lib/command_wrap/pdf.rb

.pages(path) ⇒ Object



29
30
31
# File 'lib/command_wrap/pdf.rb', line 29

def self.pages (path)
    metas(path)['NumberOfPages'].to_i
end