Sha256: eb25f013b1cfb08c2ec5691bdb959692888e1a3c6125add3a5cc1132ccd1d99d
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true module Faker class Locations class Australia < Base class << self ## # Produces a location in Australia # # @return [String] # # @example # Faker::Locations::Australia.location # #=> "Sydney" # # @faker.version next def location fetch('locations.australia.locations') end # Produces an Australian animal # # @return [String] # # @example # Faker::Locations::Australia.animal # #=> "Dingo" # # @faker.version next def animal fetch('locations.australia.animals') end # Produces an Australian State or Territory # # @return [String] # # @example # Faker::Locations::Australia.state # #=> "New South Wales" # # @faker.version next def state fetch('locations.australia.states') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faker-3.5.1 | lib/faker/locations/australia.rb |