class Faker::Games::ClashOfClans
Public Class Methods
defensive_building()
click to toggle source
Produces the name of a defensive buiding from Clash Of Clans.
@return [String]
@example
Faker::Games::ClashOfClans.defensive_building #=> "Cannon"
@faker.version next
# File lib/faker/games/clash_of_clans.rb, line 42 def defensive_building fetch('games.clash_of_clans.defensive_buildings') end
rank()
click to toggle source
Produces the name of a rank from Clash Of Clans.
@return [String]
@example
Faker::Games::ClashOfClans.rank #=> "Legend"
@faker.version next
# File lib/faker/games/clash_of_clans.rb, line 29 def rank fetch('games.clash_of_clans.ranks') end
troop()
click to toggle source
Produces the name of a troop from Clash of Clans.
@return [String]
@example
Faker::Games::ClashOfClans.troop #=> "Barbarian"
@faker.version next
# File lib/faker/games/clash_of_clans.rb, line 16 def troop fetch('games.clash_of_clans.troops') end