Sha256: 3d5e8cd227367e57d264fd87271737a6f309cec19682d0846e6cf7bbdd3b6063

Contents?: true

Size: 985 Bytes

Versions: 1

Compression:

Stored size: 985 Bytes

Contents

# frozen_string_literal: true

module Faker
  class Music
    class Phish < Base
      class << self
        ##
        # Produces the name of a album by Phish.
        #
        # @return [String]
        #
        # @example
        #   Faker::Music::Phish.album #=> "Fuego"
        #
        # @faker.version next
        def album
          fetch('phish.albums')
        end

        ##
        # Produces the name of a musician in Phish.
        #
        # @return [String]
        #
        # @example
        #   Faker::Music::Phish.musician #=> "Trey Anastasio"
        #
        # @faker.version next
        def musician
          fetch('phish.musicians')
        end

        ##
        # Produces the name of a song by Phish.
        #
        # @return [String]
        #
        # @example
        #   Faker::Music::Phish.song #=> "Tweezer"
        #
        # @faker.version 1.9.2
        def song
          fetch('phish.songs')
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faker-2.12.0 lib/faker/music/phish.rb