Class: Thinreports::BasicReport::Generator::PDF::Drawer::ListSection

Inherits:
Page
  • Object
show all
Defined in:
lib/thinreports/basic_report/generator/pdf/drawer/list_section.rb

Instance Method Summary collapse

Constructor Details

#initialize(pdf, section) ⇒ ListSection

Returns a new instance of ListSection.



11
12
13
14
15
# File 'lib/thinreports/basic_report/generator/pdf/drawer/list_section.rb', line 11

def initialize(pdf, section)
  super(pdf, section.format)
  @section = section
  @stamp_created = false
end

Instance Method Details

#draw(section, at) ⇒ Object

Parameters:



19
20
21
22
23
# File 'lib/thinreports/basic_report/generator/pdf/drawer/list_section.rb', line 19

def draw(section, at)
  @draw_at = at
  draw_section
  super(section)
end