Sha256: a3c9a98850fac727fdfebfc20568373bd9319581e93848e286ee527f34185007

Contents?: true

Size: 1.55 KB

Versions: 36

Compression:

Stored size: 1.55 KB

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class HowIMetYourMother < Base
      flexible :how_i_met_your_mother

      class << self
        ##
        # Produces a character from How I Met Your Mother.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::HowIMetYourMother.character #=> "Barney Stinson"
        #
        # @faker.version 1.8.0
        def character
          fetch('how_i_met_your_mother.character')
        end

        ##
        # Produces a catch phrase from How I Met Your Mother.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::HowIMetYourMother.catch_phrase #=> "Legendary"
        #
        # @faker.version 1.8.0
        def catch_phrase
          fetch('how_i_met_your_mother.catch_phrase')
        end

        ##
        # Produces a high five from How I Met Your Mother.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::HowIMetYourMother.high_five #=> "Relapse Five"
        #
        # @faker.version 1.8.0
        def high_five
          fetch('how_i_met_your_mother.high_five')
        end

        ##
        # Produces a quote from How I Met Your Mother.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::HowIMetYourMother.quote
        #     #=> "Whenever I'm sad, I stop being sad and be awesome instead."
        #
        # @faker.version 1.8.0
        def quote
          fetch('how_i_met_your_mother.quote')
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
faker-3.5.1 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.4.2 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.4.1 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.3.1 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.3.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.2.3 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.2.2 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.2.1 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.2.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.1.1 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.1.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-3.0.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.23.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.22.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.21.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.20.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.19.0 lib/faker/tv_shows/how_i_met_your_mother.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.18.0 lib/faker/tv_shows/how_i_met_your_mother.rb
faker-2.17.0 lib/faker/tv_shows/how_i_met_your_mother.rb