Sha256: 0df4838d11ac6adc9fb485c26946dc78bc28ef45a56150d03bb869c30eca77f7
Contents?: true
Size: 1.99 KB
Versions: 22
Compression:
Stored size: 1.99 KB
Contents
# frozen_string_literal: true module Faker class TvShows class Buffy < Base flexible :buffy class << self ## # Produces a character from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.character #=> "Buffy Summers" # # @faker.version 1.9.2 def character fetch('buffy.characters') end ## # Produces a quote from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.quote #=> "If the apocalypse comes, beep me." # # @faker.version 1.9.2 def quote fetch('buffy.quotes') end ## # Produces a actor from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.actor #=> "John Ritter" # # @faker.version next def actor fetch('buffy.actors') end ## # Produces a actor from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.celebrity #=> "John Ritter" # # @deprecated Use the `actor` method instead. # # @faker.version 1.9.2 alias celebrity actor ## # Produces a big bad from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.big_bad #=> "Glory" # # @faker.version 1.9.2 def big_bad fetch('buffy.big_bads') end ## # Produces an episode from Buffy the Vampire Slayer. # # @return [String] # # @example # Faker::TvShows::Buffy.episode #=> "Once More, with Feeling" # # @faker.version 1.9.2 def episode fetch('buffy.episodes') end end end end end
Version data entries
22 entries across 22 versions & 2 rubygems