Sha256: 83ea93bf0850d40e2a6b2c570872ccc2adc72cd13c57546a3cf2b129e8a83185

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

require 'slim2pdf'

writer = Slim2pdf::Writer.new
writer.template = 'doc/examples/agreement/template.slim'
writer.data = {date: '2014-01-14', part1: 'Google', part2: 'Microsoft'}
writer.footer_text = 'Agreement footer'
writer.save_to_pdf('doc/examples/agreement/output.pdf')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slim2pdf-0.0.4 doc/examples/agreement/script.rb
slim2pdf-0.0.3 doc/examples/agreement/script.rb
slim2pdf-0.0.2 doc/examples/agreement/script.rb