Class: Prawn::SwissQRBill::Sections::ReceiptTitle
- Defined in:
- lib/prawn/swiss_qr_bill/sections/receipt_title.rb
Overview
Title section at receipt
Constant Summary collapse
- KEY =
'receipt.title'
Instance Attribute Summary
Attributes inherited from Section
Instance Method Summary collapse
Methods inherited from Section
Constructor Details
This class inherits a constructor from Prawn::SwissQRBill::Sections::Section
Instance Method Details
#draw ⇒ Object
10 11 12 13 14 |
# File 'lib/prawn/swiss_qr_bill/sections/receipt_title.rb', line 10 def draw box do content I18n.t('receipt', scope: i18n_scope) end end |