Class: Faker::Games::ClashOfClans
- Defined in:
- lib/faker/games/clash_of_clans.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.defensive_building ⇒ String
Produces the name of a defensive building from Clash Of Clans.
-
.rank ⇒ String
Produces the name of a rank from Clash Of Clans.
-
.troop ⇒ String
Produces the name of a troop from Clash of Clans.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.defensive_building ⇒ String
Produces the name of a defensive building from Clash Of Clans.
42 43 44 |
# File 'lib/faker/games/clash_of_clans.rb', line 42 def defensive_building fetch('games.clash_of_clans.defensive_buildings') end |
.rank ⇒ String
Produces the name of a rank from Clash Of Clans.
29 30 31 |
# File 'lib/faker/games/clash_of_clans.rb', line 29 def rank fetch('games.clash_of_clans.ranks') end |
.troop ⇒ String
Produces the name of a troop from Clash of Clans.
16 17 18 |
# File 'lib/faker/games/clash_of_clans.rb', line 16 def troop fetch('games.clash_of_clans.troops') end |