Module: FFaker::SSN
Instance Method Summary collapse
-
#ssn ⇒ Object
The Social Security number is a nine-digit number in the format “AAA-GG-SSSS”.
Methods included from ModuleUtils
Methods included from RandomUtils
#fetch_sample, #rand, #shuffle
Instance Method Details
#ssn ⇒ Object
The Social Security number is a nine-digit number in the format “AAA-GG-SSSS”. More info here:
13 14 15 |
# File 'lib/ffaker/ssn.rb', line 13 def ssn FFaker.numerify('###-##-####') end |