Class: Faker::Dessert
- Inherits:
-
Base
- Object
- Base
- Faker::Dessert
show all
- Defined in:
- lib/faker/dessert.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.flavor ⇒ Object
14
15
16
|
# File 'lib/faker/dessert.rb', line 14
def flavor
fetch('dessert.flavor')
end
|
.topping ⇒ Object
10
11
12
|
# File 'lib/faker/dessert.rb', line 10
def topping
fetch('dessert.topping')
end
|
.variety ⇒ Object
6
7
8
|
# File 'lib/faker/dessert.rb', line 6
def variety
fetch('dessert.variety')
end
|