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

#album ⇒ Object



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

def album
  fetch_sample(ALBUMS)
end

#artist ⇒ Object



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

def artist
  fetch_sample(ARTISTS)
end

#genre ⇒ Object



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

def genre
  fetch_sample(GENRES)
end

#song ⇒ Object



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

def song
  fetch_sample(SONGS)
end