Class: Faker::LeagueOfLegends

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/league_of_legends.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

.championObject



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

def champion
  fetch('league_of_legends.champion')
end

.locationObject



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

def location
  fetch('league_of_legends.location')
end

.masteriesObject



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

def masteries
  fetch('league_of_legends.masteries')
end

.quoteObject



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

def quote
  fetch('league_of_legends.quote')
end

.rankObject



24
25
26
# File 'lib/faker/league_of_legends.rb', line 24

def rank
  fetch('league_of_legends.rank')
end

.summoner_spellObject



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

def summoner_spell
  fetch('league_of_legends.summoner_spell')
end