class Faker::Music::RockBand
Public Class Methods
name()
click to toggle source
Produces the name of a rock band.
@return [String]
@example
Faker::Music::RockBand.name #=> "Led Zeppelin"
@faker.version 1.7.0
# File lib/faker/music/rock_band.rb, line 16 def name fetch('rock_band.name') end
song()
click to toggle source
Produces a rock song.
@return [String]
@example
Faker::Music::RockBand.song #=> "Dani California"
@faker.version next
# File lib/faker/music/rock_band.rb, line 28 def song fetch('rock_band.song') end