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
davebenvenuti-prawn-0.11.1.pre vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
piglop-prawn-0.10.2.3 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
piglop-prawn-0.10.2.2 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
piglop-prawn-0.10.2.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-0.11.1.pre vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
goodwill-prawn-edge-0.10.0 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
alphasights-prawn-0.10.4 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
alphasights-prawn-0.10.3 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
alphasights-prawn-0.10.2 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
alphasights-prawn-0.10.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.8.4 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-graph-0.0.2 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-graph-0.0.1 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.7.2 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.7.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-layout-0.3.2 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.6.3 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.6.2 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-layout-0.3.1 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
prawn-core-0.6.1 vendor/pdf-inspector/lib/pdf/inspector/xobject.rb