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