Method: Faker::Music::RockBand.name

Defined in:
lib/faker/music/rock_band.rb

.nameString

Produces the name of a rock band.

Examples:

Faker::Music::RockBand.name #=> "Led Zeppelin"

Returns:

  • (String)

Available since:

  • 1.7.0



16
17
18
# File 'lib/faker/music/rock_band.rb', line 16

def name
  fetch('rock_band.name')
end