class Faker::Games::LeagueOfLegends

Public Class Methods

champion() click to toggle source

Produces the name of a champion from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.champion #=> "Jarvan IV"

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 16
def champion
  fetch('games.league_of_legends.champion')
end
location() click to toggle source

Produces a location from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.location #=> "Demacia"

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 29
def location
  fetch('games.league_of_legends.location')
end
masteries() click to toggle source

Produces a mastery from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.masteries #=> "Double Edged Sword"

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 68
def masteries
  fetch('games.league_of_legends.masteries')
end
quote() click to toggle source

Produces a quote from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.quote #=> "Purge the unjust."

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 42
def quote
  fetch('games.league_of_legends.quote')
end
rank() click to toggle source

Produces a rank from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.rank #=> "Bronze V"

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 81
def rank
  fetch('games.league_of_legends.rank')
end
summoner_spell() click to toggle source

Produces a summoner spell from League of Legends.

@return [String]

@example

Faker::Games::LeagueOfLegends.summoner_spell #=> "Flash"

@faker.version 1.8.0

# File lib/faker/games/league_of_legends.rb, line 55
def summoner_spell
  fetch('games.league_of_legends.summoner_spell')
end