Class: Faker::Movies::HowToTrainYourDragon
- Defined in:
- lib/faker/movies/how_to_train_your_dragon.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 a character from How To Train Your Dragon.
-
.dragon ⇒ String
Produces a dragon from How To Train Your Dragon.
-
.location ⇒ String
Produces a location from How To Train Your Dragon.
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 a character from How To Train Your Dragon.
16 17 18 |
# File 'lib/faker/movies/how_to_train_your_dragon.rb', line 16 def character fetch('how_to_train_your_dragon.characters') end |
.dragon ⇒ String
Produces a dragon from How To Train Your Dragon.
42 43 44 |
# File 'lib/faker/movies/how_to_train_your_dragon.rb', line 42 def dragon fetch('how_to_train_your_dragon.dragons') end |
.location ⇒ String
Produces a location from How To Train Your Dragon.
29 30 31 |
# File 'lib/faker/movies/how_to_train_your_dragon.rb', line 29 def location fetch('how_to_train_your_dragon.locations') end |