1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# frozen_string_literal: true
module Faker
class Ancient < Base
class << self
##
# Produces a god from ancient mythology.
#
# @return [String]
#
# @example
# Faker::Ancient.god #=> "Zeus"
#
# @faker.version 1.7.0
def god
fetch('ancient.god')
end
##
# Produces a primordial from ancient mythology.
#
# @return [String]
#
# @example
# Faker::Ancient.primordial #=> "Gaia"
#
# @faker.version 1.7.0
def primordial
fetch('ancient.primordial')
end
##
# Produces a titan from ancient mythology.
#
# @return [String]
#
# @example
# Faker::Ancient.titan #=> "Atlas"
#
# @faker.version 1.7.0
def titan
fetch('ancient.titan')
end
##
# Produces a hero from ancient mythology.
#
# @return [String]
#
# @example
# Faker::Ancient.hero #=> "Achilles"
#
# @faker.version 1.7.0
def hero
fetch('ancient.hero')
end
end
end
end
|