Sha256: 6e83e4a1a18e507efc14a9e40b6017575f6200701fa6dd9c41038877df3c82a5

Contents?: true

Size: 202 Bytes

Versions: 18

Compression:

Stored size: 202 Bytes

Contents

require_relative "pattern1"

module BrDocuments
  module IE
    class PB < Pattern1
      private
      def format_ie(number)
        number.sub(/(\d{8})(\d{1})/, "\\1-\\2")
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
br_documents-0.1.3 lib/br_documents/ie/pb.rb
br_documents-0.1.2 lib/br_documents/ie/pb.rb
br_documents-0.1.1 lib/br_documents/ie/pb.rb
br_documents-0.1.0 lib/br_documents/ie/pb.rb
br_documents-0.0.15 lib/br_documents/ie/pb.rb
br_documents-0.0.14 lib/br_documents/ie/pb.rb
br_documents-0.0.13 lib/br_documents/ie/pb.rb
br_documents-0.0.12 lib/br_documents/ie/pb.rb
br_documents-0.0.11 lib/br_documents/ie/pb.rb
br_documents-0.0.10 lib/br_documents/ie/pb.rb
br_documents-0.0.9 lib/br_documents/ie/pb.rb
br_documents-0.0.8 lib/br_documents/ie/pb.rb
br_documents-0.0.7 lib/br_documents/ie/pb.rb
br_documents-0.0.6 lib/br_documents/ie/pb.rb
br_documents-0.0.5 lib/br_documents/ie/pb.rb
br_documents-0.0.4 lib/br_documents/ie/pb.rb
br_documents-0.0.3 lib/br_documents/ie/pb.rb
br_documents-0.0.2 lib/br_documents/ie/pb.rb