Sha256: 156ac28abdec474fdc5a5b34e78ecdcd79c8c4efaecd5064f084202c96190647

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 Bytes

Contents

require File.dirname(__FILE__) + "/../../node/base"
require "PDFlib"
module FN
  module PDF
    module Node
      
      def BeginDocument(file, compatibility)
        FN::Node::Base("begin_document", :file => file, :compatibility => compatibility).extend(BeginDocument)
      end
      
      module BeginDocument 
        include FN::Node::Base
      
        def visit(struct)
          struct.begin_document(self[:file], :compatibility => self[:compatibility])
          visit_children(struct)
          struct.end_document("")
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fn_document-0.9.6 lib/fn/pdf/node/begin_document.rb
fn_document-0.9.4 lib/fn/pdf/node/begin_document.rb
fn_document-0.9.3 lib/fn/pdf/node/begin_document.rb
fn_document-0.9.2 lib/fn/pdf/node/begin_document.rb