Class: Prawn::SwissQRBill::Sections::PaymentTitle

Inherits:
Section
  • Object
show all
Defined in:
lib/prawn/swiss_qr_bill/sections/payment_title.rb

Overview

Title section at payment

Constant Summary collapse

KEY =
'payment.title'

Instance Attribute Summary

Attributes inherited from Section

#doc, #specs

Instance Method Summary collapse

Methods inherited from Section

#initialize

Constructor Details

This class inherits a constructor from Prawn::SwissQRBill::Sections::Section

Instance Method Details

#drawObject



10
11
12
13
14
# File 'lib/prawn/swiss_qr_bill/sections/payment_title.rb', line 10

def draw
  box do
    content I18n.t('payment', scope: i18n_scope)
  end
end