Class: Faker::Games::FinalFantasyXIV

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/games/final_fantasy_xiv.rb

Constant Summary

Constants inherited from Base

Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale

Class Method Details

.characterString

Produces the name of a character from FFXIV.

Examples:

Faker::Games::FinalFantasyXIV.character #=> "Y'shtola Rhul"

Returns:



16
17
18
# File 'lib/faker/games/final_fantasy_xiv.rb', line 16

def character
  fetch('games.final_fantasy_xiv.characters')
end

.data_centerString

Produces a data center from Final Fantasy XIV.

Examples:

Faker::Games::FinalFantasyXIV.data_center #=> "Aether"

Returns:



54
55
56
# File 'lib/faker/games/final_fantasy_xiv.rb', line 54

def data_center
  fetch('games.final_fantasy_xiv.data_centers')
end

.jobString

Produces a job name from Final Fantasy XIV. Either a battle or non-battle playable job.

Examples:

Faker::Games::FinalFantasyXIV.job #=> "Paladin"

Returns:



29
30
31
# File 'lib/faker/games/final_fantasy_xiv.rb', line 29

def job
  fetch('games.final_fantasy_xiv.jobs')
end

.raceString

Produces the name of a playable race from Final Fantasy XIV.

Examples:

Faker::Games::FinalFantasyXIV.race #=> "Miqo'te"

Returns:



41
42
43
# File 'lib/faker/games/final_fantasy_xiv.rb', line 41

def race
  fetch('games.final_fantasy_xiv.races')
end

.zoneString

Produces a geographical zone from Final Fantasy XIV.

Examples:

Faker::Games::FinalFantasyXIV.zone #=> "Eastern La Noscea"

Returns:



67
68
69
# File 'lib/faker/games/final_fantasy_xiv.rb', line 67

def zone
  fetch('games.final_fantasy_xiv.zones')
end