Sha256: a29f48d3dba75319bfc1084a49e9c725f524890d90d3197b7735424f3638503e

Contents?: true

Size: 267 Bytes

Versions: 28

Compression:

Stored size: 267 Bytes

Contents

module BrDanfe
  module CceLib
    class Header
      def initialize(pdf)
        @pdf = pdf
      end

      def render
        @pdf.box(height: 40) do
          @pdf.text I18n.t('cce.title'), align: :center, size: 25, pad: 6
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
br_danfe-0.14.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.13.3 lib/br_danfe/cce_lib/header.rb
br_danfe-0.13.2 lib/br_danfe/cce_lib/header.rb
br_danfe-0.13.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.13.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.12.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.12.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.11.2 lib/br_danfe/cce_lib/header.rb