[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Aesthetikx/bubble-tea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bubble-tea

A Ruby Gem to generate possible bubble teas

###Installation

gem install bubble-tea

###Usage

# Get all teas
BubbleTea.all

# Generate a random tea
BubbleTea.any

# Specify a flavor
BubbleTea.any do
  with :coconut
end

# Filter a flavor
BubbleTea.any do
  without :taro
end

# Specify a base tea
Snowbubble.all do
  with :peach
end

# Valid base types
[CalpicoCooler, FusionTea, Smoothie, Snowbubble, MilkTea, TurtleTea, TikiTea, ThaiTea]

# Get all hot teas
BubbleTea.hot

# Complex example
FusionTea.any do
  size :large
  bubbles :mango_stars
  with :strawberry
end

About

A Ruby Gem to generate possible bubble teas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages