Sha256: 1fce204262e2ec73b2b54509be63d498e180af3077274666aba8ed24c1143349

Contents?: true

Size: 203 Bytes

Versions: 6

Compression:

Stored size: 203 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

6 entries across 6 versions & 1 rubygems

Version Path
br_documents-0.2.5 lib/br_documents/ie/pb.rb
br_documents-0.2.4 lib/br_documents/ie/pb.rb
br_documents-0.2.3 lib/br_documents/ie/pb.rb
br_documents-0.2.2 lib/br_documents/ie/pb.rb
br_documents-0.2.1 lib/br_documents/ie/pb.rb
br_documents-0.2.0 lib/br_documents/ie/pb.rb