class Faker::Locations::Australia

Public Class Methods

animal() click to toggle source

Produces an Australian animal

@return [String]

@example

Faker::Locations::Australia.animal
 #=> "Dingo"

@faker.version next

# File lib/faker/locations/australia.rb, line 30
def animal
  fetch('locations.australia.animals')
end
location() click to toggle source

Produces a location in Australia

@return [String]

@example

Faker::Locations::Australia.location
 #=> "Sydney"

@faker.version next

# File lib/faker/locations/australia.rb, line 17
def location
  fetch('locations.australia.locations')
end
state() click to toggle source

Produces an Australian State or Territory

@return [String]

@example

Faker::Locations::Australia.state
 #=> "New South Wales"

@faker.version next

# File lib/faker/locations/australia.rb, line 43
def state
  fetch('locations.australia.states')
end