Class: Faker::TvShows::Supernatural
- Defined in:
- lib/faker/tv_shows/supernatural.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a character from Supernatural.
-
.creature ⇒ String
Produces the name of a hunted creature.
-
.weapon ⇒ String
Produces the name of a weapon used by the hunters.
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
.character ⇒ String
Produces the name of a character from Supernatural.
16 17 18 |
# File 'lib/faker/tv_shows/supernatural.rb', line 16 def character fetch('supernatural.character') end |
.creature ⇒ String
Produces the name of a hunted creature.
29 30 31 |
# File 'lib/faker/tv_shows/supernatural.rb', line 29 def creature fetch('supernatural.creature') end |
.weapon ⇒ String
Produces the name of a weapon used by the hunters.
42 43 44 |
# File 'lib/faker/tv_shows/supernatural.rb', line 42 def weapon fetch('supernatural.weapon') end |