Sha256: d1229a1fbc3bcd89debcf679aac0080181bab067fa55325ab7426fc78b3304e0
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module FFakerTW module AddressUK include FFakerTW::Address extend ModuleUtils extend self COUNTRY = ['England', 'Scotland', 'Wales', 'Northern Ireland'].freeze POSTCODE = ['??# #??', '??## #??'].freeze def county fetch_sample(COUNTY) end def country fetch_sample(COUNTRY) end def postcode FFakerTW.bothify(fetch_sample(POSTCODE)).upcase end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | lib/ffakerTW/address_uk.rb |