Sha256: 5ccf4d366aba07c712d421cc160b102920df4677b4c1d37a1a8ccea1232ec828

Contents?: true

Size: 203 Bytes

Versions: 6

Compression:

Stored size: 203 Bytes

Contents

require_relative 'pattern1'

module BrDocuments
  module IE
    class CE < 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/ce.rb
br_documents-0.2.4 lib/br_documents/ie/ce.rb
br_documents-0.2.3 lib/br_documents/ie/ce.rb
br_documents-0.2.2 lib/br_documents/ie/ce.rb
br_documents-0.2.1 lib/br_documents/ie/ce.rb
br_documents-0.2.0 lib/br_documents/ie/ce.rb