Sha256: d2244165392c40318482cddc46d4b8272e3e9bfbe542b1617a3bc82c505b5edb

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

class String
  def as_cpf
    Burocracias::Masks.format_cpf(self)
  end

  def as_cnpj
    Burocracias::Masks.format_cnpj(self)
  end

  def as_cep
    Burocracias::Masks.format_cep(self)
  end

  def as_phone_number
    Burocracias::Masks.format_phone_number(self)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
burocracias-0.0.4 lib/string.rb
burocracias-0.0.3 lib/string.rb
burocracias-0.0.2 lib/string.rb