Method: ODFReport::Nestable#initialize

Defined in:
lib/odf-report/nestable.rb

#initialize(opts) ⇒ Nestable

Returns a new instance of Nestable.



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/odf-report/nestable.rb', line 4

def initialize(opts)
  @name = opts[:name]

  @data_source = DataSource.new(opts)

  @fields   = []
  @texts    = []
  @tables   = []
  @sections = []
  @images   = []

end