Sha256: d04e6fdbfb48091ee17586f422e411138afca56047d38c248c8cd0c512687383

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module Prawn
  module SwissQRBill
    module Sections
      # Title section at receipt
      class ReceiptTitle < Section
        KEY = 'receipt.title'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
prawn-swiss_qr_bill-0.5.4 lib/prawn/swiss_qr_bill/sections/receipt_title.rb
prawn-swiss_qr_bill-0.5.2 lib/prawn/swiss_qr_bill/sections/receipt_title.rb
prawn-swiss_qr_bill-0.5.1 lib/prawn/swiss_qr_bill/sections/receipt_title.rb
prawn-swiss_qr_bill-0.5.0 lib/prawn/swiss_qr_bill/sections/receipt_title.rb
prawn-swiss_qr_bill-0.4.2 lib/prawn/swiss_qr_bill/sections/receipt_title.rb
prawn-swiss_qr_bill-0.4.1 lib/prawn/swiss_qr_bill/sections/receipt_title.rb