Sha256: ea6b02965b44d3286f9da197290ae5f101f4a2faf82a48e919c4a7c4ce733e36

Contents?: true

Size: 333 Bytes

Versions: 29

Compression:

Stored size: 333 Bytes

Contents

module PDF
  class Inspector
    class XObject < Inspector
      attr_accessor :page_xobjects

      def initialize
        @page_xobjects = []
      end

      def resource_xobject(*params)
        @page_xobjects.last << params.first
      end

      def begin_page(*params)
        @page_xobjects << [] 
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 8 rubygems

Version Path
prawn-core-0.5.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.5.0.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.2.2 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.2.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.2.0 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.3.0 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.2.3 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.4.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.4.0 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb