Sha256: ab95f2ebd06ae80e1d106ab7c4a9a8b029c73dccf9606eaeb7dc7d9e582a66dc
Contents?: true
Size: 460 Bytes
Versions: 3
Compression:
Stored size: 460 Bytes
Contents
# coding: utf-8 example :list_manual_generation, 'Generate list manually' do |t| Thinreports::Report.generate(filename: t.output_filename) do use_layout(t.layout_filename) list.header do |h| h.item(:header).value(page.no) end 25.times do |row_index| if list.overflow? start_new_page list.header header: page.no end list.page_break if row_index == 15 list.add_row detail: t end end end
Version data entries
3 entries across 3 versions & 1 rubygems