Sha256: 563162812d0a43fc82d8d2aab1336433bfe37535131ab3c7c44a8657e1787abc
Contents?: true
Size: 1.12 KB
Versions: 23
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true module Faker class Movies class HowToTrainYourDragon < Base class << self ## # Produces a character from How To Train Your Dragon. # # @return [String] # # @example # Faker::Movies::HowToTrainYourDragon.character #=> "Hiccup" # # @faker.version next def character fetch('how_to_train_your_dragon.characters') end ## # Produces a location from How To Train Your Dragon. # # @return [String] # # @example # Faker::Movies::HowToTrainYourDragon.location #=> "Berk" # # @faker.version next def location fetch('how_to_train_your_dragon.locations') end ## # Produces a dragon from How To Train Your Dragon. # # @return [String] # # @example # Faker::Movies::HowToTrainYourDragon.dragons #=> "Toothless" # # @faker.version next def dragon fetch('how_to_train_your_dragon.dragons') end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems