Class: Shoes::ColoredProgressBar

Inherits:
Widget
  • Object
show all
Defined in:
lib/setup.rb

Instance Method Summary collapse

Constructor Details

#initialize(percent, top, color) ⇒ ColoredProgressBar


125
126
127
128
129
# File 'lib/setup.rb', line 125

def initialize(percent,top,color)
  stroke color
  fill color
  rect 6, top, percent, 20
end