Sha256: 491391844530794c10bb6b2b8f8e2d68bebbac7bd4a3883b12980bd6c4ec22d5

Contents?: true

Size: 267 Bytes

Versions: 27

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

27 entries across 27 versions & 1 rubygems

Version Path
br_danfe-0.11.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.11.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.10.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.10.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.8.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.7 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.6 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.5 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.4 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.3 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.2 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.7.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.6.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.6.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.5.2 lib/br_danfe/cce_lib/header.rb
br_danfe-0.5.1 lib/br_danfe/cce_lib/header.rb
br_danfe-0.5.0 lib/br_danfe/cce_lib/header.rb
br_danfe-0.4.3 lib/br_danfe/cce_lib/header.rb
br_danfe-0.4.2 lib/br_danfe/cce_lib/header.rb