Sha256: ee0c89dee2093ece84dbedb3fcc8d660f34892c42b34e0eb1e656ab8d0fa54e8
Contents?: true
Size: 1.1 KB
Versions: 11
Compression:
Stored size: 1.1 KB
Contents
# frozen_string_literal: true module Faker class TvShows class Simpsons < Base flexible :simpsons class << self ## # Produces a character from The Simpsons. # # @return [String] # # @example # Faker::TvShows::Simpsons.character #=> "Charles Montgomery Burns" # # @faker.version 1.8.0 def character fetch('simpsons.characters') end ## # Produces a location from The Simpsons. # # @return [String] # # @example # Faker::TvShows::Simpsons.location #=> "Moe's Tavern" # # @faker.version 1.8.0 def location fetch('simpsons.locations') end ## # Produces a quote from The Simpsons. # # @return [String] # # @example # Faker::TvShows::Simpsons.quote # #=> "It takes two to lie: one to lie and one to listen." # # @faker.version 1.8.0 def quote fetch('simpsons.quotes') end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems