Sha256: 0c4399984d0610a5723867430f0c36fbb501a81dad2beadb818668de43d06733
Contents?: true
Size: 1.14 KB
Versions: 13
Compression:
Stored size: 1.14 KB
Contents
# frozen_string_literal: true module Faker class Movies class LordOfTheRings < Base class << self ## # Produces a character from Lord of the Rings. # # @return [String] # # @example # Faker::Movies::LordOfTheRings.character #=> "Legolas" # # @faker.version 1.7.0 def character fetch('lord_of_the_rings.characters') end ## # Produces a location from Lord of the Rings. # # @return [String] # # @example # Faker::Movies::LordOfTheRings.location #=> "Helm's Deep" # # @faker.version 1.7.0 def location fetch('lord_of_the_rings.locations') end ## # Produces a quote from Lord of the Rings. # # @return [String] # # @example # Faker::Movies::LordOfTheRings.quote # #=> "I wish the Ring had never come to me. I wish none of this had happened." # # @faker.version 1.9.0 def quote fetch('lord_of_the_rings.quotes') end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems