Sha256: b72a8772ef7a1c33d74326785172d42b951e3a3d0b07f0f7201b003765fab8cc
Contents?: true
Size: 830 Bytes
Versions: 1
Compression:
Stored size: 830 Bytes
Contents
# coding: utf-8 CaseRunner.current :list_events ThinReports::Report.generate_file(CaseRunner.output_file) do use_layout(CaseRunner.layout_file) do |config| config.list(:details) do events.on :page_footer_insert do |e| e.section.item(:event_name).value(':page_footer_insert') end events.on :footer_insert do |e| e.section.item(:event_name).value(':footer_insert') end events.on :page_finalize do |e| e.list.header.item(:event_name).value(':page_finalize') e.page.item(:event_name).value(':page_finalize') end end end start_new_page 2.times do |t| page.list(:details).add_row :row_name => t + 1 end start_new_page 8.times do |t| page.list(:details).add_row :row_name => t + 1 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.0 | test/case/list_events/list_events.rb |