Class: Faker::Esport
- Inherits:
-
Base
- Object
- Base
- Faker::Esport
show all
- Defined in:
- lib/faker/esport.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand_in_range, regexify, translate, unique, with_locale
Class Method Details
.event ⇒ Object
16
17
18
|
# File 'lib/faker/esport.rb', line 16
def event
fetch('esports.events')
end
|
.game ⇒ Object
20
21
22
|
# File 'lib/faker/esport.rb', line 20
def game
fetch('esports.games')
end
|
.league ⇒ Object
12
13
14
|
# File 'lib/faker/esport.rb', line 12
def league
fetch('esports.leagues')
end
|
.player ⇒ Object
4
5
6
|
# File 'lib/faker/esport.rb', line 4
def player
fetch('esports.players')
end
|
.team ⇒ Object
8
9
10
|
# File 'lib/faker/esport.rb', line 8
def team
fetch('esports.teams')
end
|