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