Class: Faker::Music::Prince
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.album ⇒ String
Produces a random Prince album.
-
.band ⇒ String
Produces a random Prince-associated band.
-
.lyric ⇒ String
Produces a random Prince song lyric.
-
.song ⇒ String
Produces a random Prince song.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.album ⇒ String
Produces a random Prince album.
45 46 47 |
# File 'lib/faker/music/prince.rb', line 45 def album fetch('prince.album') end |
.band ⇒ String
Produces a random Prince-associated band.
58 59 60 |
# File 'lib/faker/music/prince.rb', line 58 def band fetch('prince.band') end |
.lyric ⇒ String
Produces a random Prince song lyric.
31 32 33 |
# File 'lib/faker/music/prince.rb', line 31 def lyric fetch('prince.lyric') end |
.song ⇒ String
Produces a random Prince song.
17 18 19 |
# File 'lib/faker/music/prince.rb', line 17 def song fetch('prince.song') end |