Class: Faker::Locations::Australia
- Defined in:
- lib/faker/locations/australia.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.animal ⇒ String
Produces an Australian animal.
-
.location ⇒ String
Produces a location in Australia.
-
.state ⇒ String
Produces an Australian State or Territory.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.animal ⇒ String
Produces an Australian animal
30 31 32 |
# File 'lib/faker/locations/australia.rb', line 30 def animal fetch('locations.australia.animals') end |
.location ⇒ String
Produces a location in Australia
17 18 19 |
# File 'lib/faker/locations/australia.rb', line 17 def location fetch('locations.australia.locations') end |
.state ⇒ String
Produces an Australian State or Territory
43 44 45 |
# File 'lib/faker/locations/australia.rb', line 43 def state fetch('locations.australia.states') end |