Class: Faker::Esport
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.event ⇒ String
Produces the name of an eSports event.
-
.game ⇒ String
Produces the name of a game played as an eSport.
-
.league ⇒ String
Produces the name of an eSports league.
-
.player ⇒ String
Produces the name of a professional eSports player.
-
.team ⇒ String
Produces the name of an eSports team.
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, translate, unique, with_locale
Class Method Details
.event ⇒ String
Produces the name of an eSports event.
54 55 56 |
# File 'lib/faker/default/esport.rb', line 54 def event fetch('esport.events') end |
.game ⇒ String
Produces the name of a game played as an eSport.
67 68 69 |
# File 'lib/faker/default/esport.rb', line 67 def game fetch('esport.games') end |
.league ⇒ String
Produces the name of an eSports league.
41 42 43 |
# File 'lib/faker/default/esport.rb', line 41 def league fetch('esport.leagues') end |
.player ⇒ String
Produces the name of a professional eSports player.
15 16 17 |
# File 'lib/faker/default/esport.rb', line 15 def player fetch('esport.players') end |
.team ⇒ String
Produces the name of an eSports team.
28 29 30 |
# File 'lib/faker/default/esport.rb', line 28 def team fetch('esport.teams') end |