Sha256: 19cb75752e24e149ff9553bfd279e738c3ec22ab10fa6dad5a5c66d45eb0e089

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

# encoding: utf-8
#
# generates outline dictionary and items for document
#
# Author Jonathan Greenberg

require 'forwardable'
require "pdf/core/outline"

module Prawn

  class Document

    # @group Experimental API

    # Lazily instantiates an Outline object for document. This is used as point of entry
    # to methods to build the outline tree.
    def outline
      @outline ||= PDF::Core::Outline.new(self)
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prawn-0.15.0 lib/prawn/outline.rb