Class: Faker::Theater
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.adult_musical ⇒ String
Produces the name of a musical for an older audience.
-
.kids_musical ⇒ String
Produces the name of a musical for a younger audience.
-
.play ⇒ String
Produces the name of a play.
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
.adult_musical ⇒ String
Produces the name of a musical for an older audience
16 17 18 |
# File 'lib/faker/default/theater.rb', line 16 def adult_musical fetch('theater.adult_musical') end |
.kids_musical ⇒ String
Produces the name of a musical for a younger audience
30 31 32 |
# File 'lib/faker/default/theater.rb', line 30 def kids_musical fetch('theater.kids_musical') end |
.play ⇒ String
Produces the name of a play
44 45 46 |
# File 'lib/faker/default/theater.rb', line 44 def play fetch('theater.play') end |