Sha256: f16efd75895102739fb58d2a9a3224c27c4db6d3bf99570fe5e1f32f860e034a
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true 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