lib/br_documents/ie/pb.rb in br_documents-0.1.3 vs lib/br_documents/ie/pb.rb in br_documents-0.2.0

- old
+ new

@@ -1,12 +1,13 @@ -require_relative "pattern1" +require_relative 'pattern1' module BrDocuments module IE class PB < Pattern1 private + def format_ie(number) - number.sub(/(\d{8})(\d{1})/, "\\1-\\2") + number.sub(/(\d{8})(\d{1})/, '\\1-\\2') end end end end