Class: Faker::Dessert
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.flavor ⇒ String
Produces the name of a dessert flavor.
-
.topping ⇒ String
Produces the name of a dessert topping.
-
.variety ⇒ String
Produces the name of a dessert variety.
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
.flavor ⇒ String
Produces the name of a dessert flavor.
43 44 45 |
# File 'lib/faker/default/dessert.rb', line 43 def flavor fetch('dessert.flavor') end |
.topping ⇒ String
Produces the name of a dessert topping.
30 31 32 |
# File 'lib/faker/default/dessert.rb', line 30 def topping fetch('dessert.topping') end |
.variety ⇒ String
Produces the name of a dessert variety.
17 18 19 |
# File 'lib/faker/default/dessert.rb', line 17 def variety fetch('dessert.variety') end |