Method: ODFWriter::Section#initialize

Defined in:
lib/odf_writer/section.rb

#initialize(options) ⇒ Section

initialize



39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/odf_writer/section.rb', line 39

def initialize(options)
  @name       = options[:name]
  @field      = options[:field]
  @key        = @field || @name
  @collection = options[:collection]
  @proc       = options[:proc]
  
  @fields     = []
  @bookmarks  = []
  @images     = []
  @texts      = []
  @tables     = []
  @sections   = []
end