class Gaspar::Reader
Read infor from PDF file usin pdf-reader
Public Class Methods
new(source)
click to toggle source
# File lib/gaspar.rb, line 133 def initialize(source) @reader = ::PDF::Reader.new(source) end
Public Instance Methods
info()
click to toggle source
# File lib/gaspar.rb, line 141 def info @reader.info end
metadata()
click to toggle source
# File lib/gaspar.rb, line 137 def metadata @reader.metadata end
page_count()
click to toggle source
# File lib/gaspar.rb, line 145 def page_count @reader.page_count end