Sha256: eb4a3fb0ec0f5a134fcd3a617b3b95ecff521b9d8395e16375ffa8d21f72ccfe
Contents?: true
Size: 158 Bytes
Versions: 27
Compression:
Stored size: 158 Bytes
Contents
module BrDanfe module DanfeLib class Cep def self.format(cep) cep.sub(/(\d{2})(\d{3})(\d{3})/, "\\1.\\2-\\3") end end end end
Version data entries
27 entries across 27 versions & 1 rubygems