Class: Thinreports::BasicReport::Generator::PDF::Drawer::ListSection
- Defined in:
- lib/thinreports/basic_report/generator/pdf/drawer/list_section.rb
Instance Method Summary collapse
- #draw(section, at) ⇒ Object
-
#initialize(pdf, section) ⇒ ListSection
constructor
A new instance of ListSection.
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
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 |