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