Sha256: 73e6d12c4ad5f08b03bc972ef1994eb9a914f0df23a96f00b45bcd46b8cf0738
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
# encoding: utf-8 require 'ffakerer/address' module Faker module AddressUS include Faker::Address extend ModuleUtils extend self def zip_code Faker.numerify ZIP_FORMATS.rand end def state STATE.rand end def state_abbr STATE_ABBR.rand end def state_and_territories_abbr STATE_AND_TERRITORIES_ABBR.rand end ZIP_FORMATS = k ['#####', '#####-####'] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffakerer-1.0.2 | lib/ffakerer/address_us.rb |
ffakerer-1.0.1 | lib/ffakerer/address_us.rb |