class Faker::Music::GratefulDead

Public Class Methods

player() click to toggle source

Produces the name of a member of The Grateful Dead.

@return [String]

@example

Faker::Music::GratefulDead.player #=> "Jerry Garcia"

@faker.version 1.9.2

# File lib/faker/music/grateful_dead.rb, line 18
def player
  fetch('grateful_dead.players')
end
song() click to toggle source

Produces the name of a song by The Grateful Dead.

@return [String]

@example

Faker::Music::GratefulDead.song #=> "Cassidy"

@faker.version 1.9.2

# File lib/faker/music/grateful_dead.rb, line 31
def song
  fetch('grateful_dead.songs')
end