lib/faker/music/rock_band.rb in faker-2.3.0 vs lib/faker/music/rock_band.rb in faker-2.4.0
- old
+ new
@@ -2,9 +2,18 @@
module Faker
class Music
class RockBand < Base
class << self
+ ##
+ # Produces the name of a rock band.
+ #
+ # @return [String]
+ #
+ # @example
+ # Faker::Music::RockBand.name #=> "Led Zeppelin"
+ #
+ # @faker.version 1.7.0
def name
fetch('rock_band.name')
end
end
end