thinreports / thinreports-generator

A Ruby library for Thinreports
https://github.com/thinreports/thinreports
MIT License
297 stars 48 forks source link

allow title argument to be specified in Report.generate method #127

Closed hidakatsuya closed 1 year ago

hidakatsuya commented 1 year ago
Thinreports::Report.generate(layout: '/path/to/layout.tlf', title: 'Custom Title') { start_new_page }

This code does not work with the following error.

ArgumentError: unknown keyword: :title

See https://github.com/orgs/thinreports/discussions/37#discussioncomment-6954604