Evan Farrar wrote:
True, I wouldn't mind having to click that link either (in fact I am
running it way that right now) but I would feel pretty bad if one of
the examples in the "color" section used colors in such an obtuse way,
so probably better to hide that code.
What's wrong with it? it cleans up okay:
Shoes.app do
color_names = (Shoes::COLORS.keys - [:black]).map{|sym|sym.to_s}.sort
color_names.each do |color|
flow :width => 175 do
fill send(color)
rect 0, 0, 160, 25
para color
end
end
end
tutorials should run the spectrum from mundane to eloquent.
Put it as the definition of the COLORS table...