Class: Faker::Games::HeroesOfTheStorm
- Defined in:
- lib/faker/games/heroes_of_the_storm.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.battleground ⇒ String
Produces a battleground from Heroes of the Storm.
-
.class_name ⇒ String
Produces a class name from Heroes of the Storm.
-
.hero ⇒ String
Produces a hero from Heroes of the Storm.
-
.quote ⇒ String
Produces a quote from Heroes of the Storm.
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
.battleground ⇒ String
Produces a battleground from Heroes of the Storm.
16 17 18 |
# File 'lib/faker/games/heroes_of_the_storm.rb', line 16 def battleground fetch('heroes_of_the_storm.battlegrounds') end |
.class_name ⇒ String
Produces a class name from Heroes of the Storm.
29 30 31 |
# File 'lib/faker/games/heroes_of_the_storm.rb', line 29 def class_name fetch('heroes_of_the_storm.class_names') end |
.hero ⇒ String
Produces a hero from Heroes of the Storm.
42 43 44 |
# File 'lib/faker/games/heroes_of_the_storm.rb', line 42 def hero fetch('heroes_of_the_storm.heroes') end |
.quote ⇒ String
Produces a quote from Heroes of the Storm.
55 56 57 |
# File 'lib/faker/games/heroes_of_the_storm.rb', line 55 def quote fetch('heroes_of_the_storm.quotes') end |