lib/ffaker/identification_mx.rb in ffaker-2.16.0 vs lib/ffaker/identification_mx.rb in ffaker-2.17.0
- old
+ new
@@ -7,10 +7,10 @@
extend ModuleUtils
extend self
CONSONANTS = %w[B C D F G H J K L M N P Q R S T V W X Y Z].freeze
VOWELS = %w[A E I O U].freeze
- HOMOCLAVE = CONSONANTS + VOWELS + [*'0'..'9']
+ HOMOCLAVE = CONSONANTS + VOWELS + Array('0'..'9')
# http://es.wikipedia.org/wiki/Registro_Federal_de_Contribuyentes_(M%C3%A9xico)
# Registro Federal de Contribuyentes (R.F.C.) para persona física
def rfc_persona_fisica
consonants_n = CONSONANTS + ['Ñ']