lib/ffaker/address_sn.rb in ffaker-1.30.0 vs lib/ffaker/address_sn.rb in ffaker-1.31.0
- old
+ new
@@ -9,17 +9,17 @@
extend ModuleUtils
extend self
def region
- REGIONS.rand
+ REGIONS.sample
end
def departement
- DEPARTEMENTS.rand
+ DEPARTEMENTS.sample
end
def arrondissement
- ARRONDISSEMENTS.rand
+ ARRONDISSEMENTS.sample
end
end
end