class PDF::Inspector::XObject

Attributes

page_xobjects[RW]
xobject_streams[RW]

Public Class Methods

new() click to toggle source
# File lib/pdf/inspector/xobject.rb, line 6
def initialize
  @page_xobjects = []
  @xobject_streams = {}
end

Public Instance Methods

page=(page) click to toggle source
# File lib/pdf/inspector/xobject.rb, line 11
def page=(page)
  @page_xobjects << page.xobjects
  page.xobjects.each do |label, stream|
    @xobject_streams[label] = stream
  end
end