Class: Faker::Music::Hiphop
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.artist ⇒ String
Produces the name of a Hip Hop Artist.
-
.groups ⇒ String
Produces the name of a Hip Hop Group.
-
.subgenres ⇒ String
Produces the name of a Hip Hop Subgenre.
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
.artist ⇒ String
Produces the name of a Hip Hop Artist
16 17 18 |
# File 'lib/faker/music/hiphop.rb', line 16 def artist fetch('music.hiphop.artist') end |
.groups ⇒ String
Produces the name of a Hip Hop Group
29 30 31 |
# File 'lib/faker/music/hiphop.rb', line 29 def groups fetch('music.hiphop.groups') end |
.subgenres ⇒ String
Produces the name of a Hip Hop Subgenre
42 43 44 |
# File 'lib/faker/music/hiphop.rb', line 42 def subgenres fetch('music.hiphop.subgenres') end |