Class: Prune::Elements::ProcedureSets

Inherits:
Base
  • Object
show all
Defined in:
lib/prune/elements/procedure_sets.rb

Instance Attribute Summary

Attributes inherited from Base

#document

Instance Method Summary collapse

Methods inherited from Base

#reference, #register, #to_s

Methods included from Functions

#mm_to_pt, #pt_to_mm

Methods included from PObjects

pa, pd, ph, pl, pn, ps

Constructor Details

#initialize(document) ⇒ ProcedureSets

Initialize.



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/prune/elements/procedure_sets.rb', line 7

def initialize(document)
  super(document)
  # Set dictionary.
  @content = pa(
    pn(:PDF),
    pn(:Text),
    pn(:ImageB),
    pn(:ImageC),
    pn(:ImageI))
  # Register element to document.
  register
end