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, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#albumObject



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

def album
  fetch_sample(ALBUMS)
end

#artistObject



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

def artist
  fetch_sample(ARTISTS)
end

#genreObject



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

def genre
  fetch_sample(GENRES)
end

#songObject



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

def song
  fetch_sample(SONGS)
end