class Faker::Ancient
Public Class Methods
god()
click to toggle source
Produces a god from ancient mythology.
@return [String]
@example
Faker::Ancient.god #=> "Zeus"
@faker.version 1.7.0
# File lib/faker/default/ancient.rb, line 15 def god fetch('ancient.god') end
hero()
click to toggle source
Produces a hero from ancient mythology.
@return [String]
@example
Faker::Ancient.hero #=> "Achilles"
@faker.version 1.7.0
# File lib/faker/default/ancient.rb, line 54 def hero fetch('ancient.hero') end
primordial()
click to toggle source
Produces a primordial from ancient mythology.
@return [String]
@example
Faker::Ancient.primordial #=> "Gaia"
@faker.version 1.7.0
# File lib/faker/default/ancient.rb, line 28 def primordial fetch('ancient.primordial') end
titan()
click to toggle source
Produces a titan from ancient mythology.
@return [String]
@example
Faker::Ancient.titan #=> "Atlas"
@faker.version 1.7.0
# File lib/faker/default/ancient.rb, line 41 def titan fetch('ancient.titan') end