struct Barista::ColorIterator
- Barista::ColorIterator
- Struct
- Value
- Object
Defined in:
barista/color_iterator.crConstructors
Instance Method Summary
- #colors : Array(Symbol)
- #current : Int32
-
#next
Fetch next color
Constructor Detail
def self.new(current : Int32 = 0, colors : Array(Symbol) = [:red, :green, :yellow, :blue, :magenta, :cyan])
#