Class: Faker::Esport

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/default/esport.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

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

Class Method Details

.eventObject


18
19
20
# File 'lib/faker/default/esport.rb', line 18

def event
  fetch('esport.events')
end

.gameObject


22
23
24
# File 'lib/faker/default/esport.rb', line 22

def game
  fetch('esport.games')
end

.leagueObject


14
15
16
# File 'lib/faker/default/esport.rb', line 14

def league
  fetch('esport.leagues')
end

.playerObject


6
7
8
# File 'lib/faker/default/esport.rb', line 6

def player
  fetch('esport.players')
end

.teamObject


10
11
12
# File 'lib/faker/default/esport.rb', line 10

def team
  fetch('esport.teams')
end