Class: Faker::BossaNova
Constant Summary
Constants inherited from Base
Faker::Base::LLetters, Faker::Base::Letters, Faker::Base::NOT_GIVEN, Faker::Base::Numbers, Faker::Base::ULetters
Class Method Summary collapse
-
.artist ⇒ String
Produces the name of a bossa nova artist.
-
.song ⇒ String
Produces a bossa nova 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
.artist ⇒ String
Produces the name of a bossa nova artist.
15 16 17 |
# File 'lib/faker/default/bossa_nova.rb', line 15 def artist fetch('bossa_nova.artists') end |
.song ⇒ String
Produces a bossa nova song.
28 29 30 |
# File 'lib/faker/default/bossa_nova.rb', line 28 def song fetch('bossa_nova.songs') end |