Sha256: 6ddf38eeb9feee8bf2736e0fe5cc3e293591c1e582591941f6e9653a31c3cd09
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
require File.dirname(__FILE__) + "/../../node/base" require "PDFlib" module FN module PDF module Node def OpenPdi(file, var) FN::Node::Base("open_pdi", :file => file, :assigns => var).extend(OpenPdi) end module OpenPdi include FN::Node::Base def visit(struct) pdi = struct.open_pdi(self[:file], "", 0) struct.assigns(self, pdi) visit_children struct struct.close_pdi(pdi) 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/open_pdi.rb |
fn_document-0.9.4 | lib/fn/pdf/node/open_pdi.rb |
fn_document-0.9.3 | lib/fn/pdf/node/open_pdi.rb |
fn_document-0.9.2 | lib/fn/pdf/node/open_pdi.rb |