Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 315 Bytes

tea.md

File metadata and controls

15 lines (11 loc) · 315 Bytes

Faker::Tea

Available since version next.

# Get a tea variety
Faker::Tea.variety # => "Earl Grey"

# Get a tea variety, by type of tea. Accepted types:
# ['Black', 'Green', 'Herbal', 'Oolong', 'White']
Faker::Tea.variety(type: 'Green') #=> "Jasmine"

# Get a type of tea
Faker::Tea.type #=> "Herbal"