Skip to content

Commit

Permalink
Consertando o comentário do método #blacklisted_cpf?
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonpires committed Apr 9, 2014
1 parent ab3da5b commit b0c0d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cpf_utils/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def generate_cpf_formatted
# A blacklist consiste em CPFs inválidos como '111.111.111-11' e seus
# derivados
#
# "11111111111".blacklisted_cpf? => # false
# "11111111111".blacklisted_cpf? => # true
def blacklisted_cpf?
wihout_mask = self.gsub(/\.?-?/,"",)
first_number = wihout_mask[0]
Expand Down

0 comments on commit b0c0d3b

Please sign in to comment.