Class: Shoes::ColoredProgressBar
Instance Method Summary collapse
-
#initialize(percent, top, color) ⇒ ColoredProgressBar
constructor
A new instance of ColoredProgressBar.
Constructor Details
#initialize(percent, top, color) ⇒ ColoredProgressBar
Returns a new instance of 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 |