Module: FFaker::Music

Extended by:
ModuleUtils, Music
Included in:
Music
Defined in:
lib/ffaker/music.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#albumObject



12
13
14
# File 'lib/ffaker/music.rb', line 12

def album
  ALBUMS.sample
end

#artistObject



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

def artist
  ARTISTS.sample
end

#genreObject



8
9
10
# File 'lib/ffaker/music.rb', line 8

def genre
  GENRES.sample
end

#songObject



20
21
22
# File 'lib/ffaker/music.rb', line 20

def song
  SONGS.sample
end