lib/ffaker/address_sn.rb in ffaker-2.2.0 vs lib/ffaker/address_sn.rb in ffaker-2.3.0
- old
+ new
@@ -9,17 +9,17 @@
extend ModuleUtils
extend self
def region
- REGIONS.sample
+ fetch_sample(REGIONS)
end
def departement
- DEPARTEMENTS.sample
+ fetch_sample(DEPARTEMENTS)
end
def arrondissement
- ARRONDISSEMENTS.sample
+ fetch_sample(ARRONDISSEMENTS)
end
end
end