module PdfPageCount::PdfUtil
Public Class Methods
count_pages(file_path)
click to toggle source
# File lib/pdf-page-count/pdf_util.rb, line 7 def count_pages(file_path) reader = PDF::Reader.new(file_path) reader.page_count end
Private Instance Methods
count_pages(file_path)
click to toggle source
# File lib/pdf-page-count/pdf_util.rb, line 7 def count_pages(file_path) reader = PDF::Reader.new(file_path) reader.page_count end