class Faker::Esport
Public Class Methods
Source
# File lib/faker/default/esport.rb, line 54 def event fetch('esport.events') end
Produces the name of an eSports event.
@return [String]
@example
Faker::Esport.event #=> "ESL Cologne"
@faker.version 1.7.0
Source
# File lib/faker/default/esport.rb, line 67 def game fetch('esport.games') end
Produces the name of a game played as an eSport.
@return [String]
@example
Faker::Esport.game #=> "Dota 2"
@faker.version 1.7.0
Source
# File lib/faker/default/esport.rb, line 41 def league fetch('esport.leagues') end
Produces the name of an eSports league.
@return [String]
@example
Faker::Esport.league #=> "IEM"
@faker.version 1.7.0
Source
# File lib/faker/default/esport.rb, line 15 def player fetch('esport.players') end
Produces the name of a professional eSports player.
@return [String]
@example
Faker::Esport.player #=> "Crimsix"
@faker.version 1.7.0
Source
# File lib/faker/default/esport.rb, line 28 def team fetch('esport.teams') end
Produces the name of an eSports team.
@return [String]
@example
Faker::Esport.team #=> "CLG"
@faker.version 1.7.0