Class: Faker::Esport

Inherits:
Base
  • Object
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, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale

Class Method Details

.eventObject


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

def event
  fetch('esport.events')
end

.gameObject


20
21
22
# File 'lib/faker/esport.rb', line 20

def game
  fetch('esport.games')
end

.leagueObject


12
13
14
# File 'lib/faker/esport.rb', line 12

def league
  fetch('esport.leagues')
end

.playerObject


4
5
6
# File 'lib/faker/esport.rb', line 4

def player
  fetch('esport.players')
end

.teamObject


8
9
10
# File 'lib/faker/esport.rb', line 8

def team
  fetch('esport.teams')
end