Class: Faker::Games::LeagueOfLegends
- Defined in:
- lib/faker/games/league_of_legends.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.champion ⇒ String
Produces the name of a champion from League of Legends.
-
.location ⇒ String
Produces a location from League of Legends.
-
.masteries ⇒ String
Produces a mastery from League of Legends.
-
.quote ⇒ String
Produces a quote from League of Legends.
-
.rank ⇒ String
Produces a rank from League of Legends.
-
.summoner_spell ⇒ String
Produces a summoner spell from League of Legends.
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
.champion ⇒ String
Produces the name of a champion from League of Legends.
16 17 18 |
# File 'lib/faker/games/league_of_legends.rb', line 16 def champion fetch('games.league_of_legends.champion') end |
.location ⇒ String
Produces a location from League of Legends.
29 30 31 |
# File 'lib/faker/games/league_of_legends.rb', line 29 def location fetch('games.league_of_legends.location') end |
.masteries ⇒ String
Produces a mastery from League of Legends.
68 69 70 |
# File 'lib/faker/games/league_of_legends.rb', line 68 def masteries fetch('games.league_of_legends.masteries') end |
.quote ⇒ String
Produces a quote from League of Legends.
42 43 44 |
# File 'lib/faker/games/league_of_legends.rb', line 42 def quote fetch('games.league_of_legends.quote') end |
.rank ⇒ String
Produces a rank from League of Legends.
81 82 83 |
# File 'lib/faker/games/league_of_legends.rb', line 81 def rank fetch('games.league_of_legends.rank') end |
.summoner_spell ⇒ String
Produces a summoner spell from League of Legends.
55 56 57 |
# File 'lib/faker/games/league_of_legends.rb', line 55 def summoner_spell fetch('games.league_of_legends.summoner_spell') end |