Sha256: a5749c0f8b098f1f07d73cc7ce95dbe817373caf800cb494da07061ba87946be
Contents?: true
Size: 1.12 KB
Versions: 36
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true module Faker class TvShows class RickAndMorty < Base flexible :rick_and_morty class << self ## # Produces a character from Rick and Morty. # # @return [String] # # @example # Faker::TvShows::RickAndMorty.character #=> "Rick Sanchez" # # @faker.version 1.8.0 def character fetch('rick_and_morty.characters') end ## # Produces a location from Rick and Morty. # # @return [String] # # @example # Faker::TvShows::RickAndMorty.location #=> "Dimension C-132" # # @faker.version 1.8.0 def location fetch('rick_and_morty.locations') end ## # Produces a quote from Rick and Morty. # # @return [String] # # @example # Faker::TvShows::RickAndMorty.quote # #=> "Ohh yea, you gotta get schwifty." # # @faker.version 1.8.0 def quote fetch('rick_and_morty.quotes') end end end end end
Version data entries
36 entries across 36 versions & 2 rubygems