Class: ChineseFaker::Address

Inherits:
Base
  • Object
show all
Defined in:
lib/chinese_faker/address.rb

Class Method Summary collapse

Methods inherited from Base

fetch, parse

Class Method Details

.cityObject



5
# File 'lib/chinese_faker/address.rb', line 5

def city;     fetch('address.city'); end

.countyObject



6
# File 'lib/chinese_faker/address.rb', line 6

def county;   fetch('address.county'); end

.districtObject



4
# File 'lib/chinese_faker/address.rb', line 4

def district; fetch('address.district'); end