class Faker::Movies::HowToTrainYourDragon
Public Class Methods
character()
click to toggle source
Produces a character from How To Train Your Dragon.
@return [String]
@example
Faker::Movies::HowToTrainYourDragon.character #=> "Hiccup"
@faker.version next
# File lib/faker/movies/how_to_train_your_dragon.rb, line 16 def character fetch('how_to_train_your_dragon.characters') end
dragon()
click to toggle source
Produces a dragon from How To Train Your Dragon.
@return [String]
@example
Faker::Movies::HowToTrainYourDragon.dragons #=> "Toothless"
@faker.version next
# File lib/faker/movies/how_to_train_your_dragon.rb, line 42 def dragon fetch('how_to_train_your_dragon.dragons') end
location()
click to toggle source
Produces a location from How To Train Your Dragon.
@return [String]
@example
Faker::Movies::HowToTrainYourDragon.location #=> "Berk"
@faker.version next
# File lib/faker/movies/how_to_train_your_dragon.rb, line 29 def location fetch('how_to_train_your_dragon.locations') end