class Faker::Music::Prince
Public Class Methods
album()
click to toggle source
Produces a random Prince
album.
@return [String]
@example
Faker::Music::Prince.album #=> "The Gold Experience" Faker::Music::Prince.album #=> "Purple Rain"
@faker.version 2.13.0
# File lib/faker/music/prince.rb, line 45 def album fetch('prince.album') end
band()
click to toggle source
Produces a random Prince-associated band.
@return [String]
@example
Faker::Music::Prince.band #=> "The New Power Generation"
@faker.version 2.13.0
# File lib/faker/music/prince.rb, line 58 def band fetch('prince.band') end
lyric()
click to toggle source
Produces a random Prince
song lyric.
@return [String]
@example
Faker::Music::Prince.lyric #=> "Dearly beloved, we are gathered here today to get through this thing called life." Faker::Music::Prince.lyric #=> "You were so hard to find, the beautiful ones, they hurt you every time."
@faker.version 2.13.0
# File lib/faker/music/prince.rb, line 31 def lyric fetch('prince.lyric') end
song()
click to toggle source
Produces a random Prince
song.
@return [String]
@example
Faker::Music::Prince.song #=> "Raspberry Beret" Faker::Music::Prince.song #=> "Starfish And Coffee"
@faker.version 2.13.0
# File lib/faker/music/prince.rb, line 17 def song fetch('prince.song') end