you're right Satoshi! I WAS mistaken thinking my string was the real thing...
2009/3/27 Satoshi Asakawa <[email protected]> > Hi Louis, > > I think it's not bug. ;-) > > fill yellow > > is correct. > > fill "yellow" > > is not correct. > > The first `yellow` is a method. It returns the same as rgb(255, 255, 0) > > For more information: > http://help.shoooes.net/Colors.html > > Hope it helps, > ashbb > > > > On Fri, Mar 27, 2009 at 11:55 PM, Louis-Philippe <[email protected]>wrote: > >> Hi, >> I have the weird bug on Raisin, OSX 10.5.5, PowerPC >> >> doing: >> >> Shoes.app do >> stack do >> position = 0 >> %w[aqua yellow tan].each do |color| >> fill color >> rect(:top => position,:width => 600,:height => 20) >> position += 20 >> end >> end >> end >> >> ## >> >> the fill color, doesn't work and gives error: >> - Shoes could not find file aqua >> - Shoes could not find file yellow >> - Shoes could not find file tan >> >> the way I find to make it work now is by wrapping the color in an eval >> function. >> weird!!!! >> >> L-P >> >> >
