class Faker::WorldCup

Public Class Methods

city() click to toggle source
# File lib/faker/world_cup.rb, line 8
def city
  fetch('world_cup.cities')
end
group(group = 'group_A') click to toggle source
# File lib/faker/world_cup.rb, line 16
def group(group = 'group_A')
  fetch("world_cup.groups.#{group}")
end
roster(country = 'Egypt', type = 'coach') click to toggle source
# File lib/faker/world_cup.rb, line 20
def roster(country = 'Egypt', type = 'coach')
  fetch("world_cup.rosters.#{country}.#{type}")
end
stadium() click to toggle source
# File lib/faker/world_cup.rb, line 12
def stadium
  fetch('world_cup.stadiums')
end
team() click to toggle source
# File lib/faker/world_cup.rb, line 4
def team
  fetch('world_cup.teams')
end