Module: FFaker::AddressDE
Constant Summary
Constants included
from Address
FFaker::Address::CITY_PREFIXES, FFaker::Address::COMPASS_DIRECTIONS, FFaker::Address::SEC_ADDR
Instance Method Summary
collapse
const_missing, k, luhn_check, underscore, unique
#fetch_sample, #rand, #shuffle
Methods included from Address
#building_number, #city_prefix, #city_suffix, #country, #country_code, #neighborhood, #secondary_address, #street_suffix, #time_zone, #uk_country, #uk_county, #uk_postcode, #us_state, #us_state_abbr
Instance Method Details
[View source]
18
19
20
|
# File 'lib/ffaker/address_de.rb', line 18
def city
fetch_sample(CITY)
end
|
[View source]
14
15
16
|
# File 'lib/ffaker/address_de.rb', line 14
def state
fetch_sample(STATE)
end
|
permalink
#street_address ⇒ Object
[View source]
27
28
29
|
# File 'lib/ffaker/address_de.rb', line 27
def street_address
"#{street_name} #{rand(1..192)}"
end
|