Sha256: 50345171a23f82725dee1650cf1fb663e515d810ca232a725ceaa7b67ef7c058
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true module FFakerTW module AddressRU include FFakerTW::Address extend ModuleUtils extend self POSTAL_CODE_FORMAT = ['######'].freeze STREET_NBR_FORMATS = %w[## # ###].freeze def city fetch_sample(CITY) end def province fetch_sample(PROVINCE) end def zip_code FFakerTW.numerify(POSTAL_CODE_FORMAT) end def street_name fetch_sample(STREET) end def street_address "#{street_name}, ะด. #{street_number}" end def street_number FFakerTW.numerify(STREET_NBR_FORMATS) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | lib/ffakerTW/address_ru.rb |