2008/8/17 Jaime Iniesta <[EMAIL PROTECTED]> > Hi, I don't know why I can't get arrows and stars on my shoes apps. When I > try this: > > arrow(:top => 10, :left => 10, :width => 150) > > I get this error: > > wrong number of arguments (1 for 3) > > And a similar error on: > > star(:top => 100, :left => 50) > #wrong number of arguments (1 for 2) > > I'm able to draw ovals and rectangles, but not arrows nor stars. Why can be > that? Maybe I need to install more graphical libraries? > > I'm on Ubuntu 8.04, GNOME. > > Thanks! >
Oh well I found that myself, which works for me: arrow 100, 100, 150 star 200, 200, 25 Is that the way to create arrows and stars? Why doesn't it work if I name explicitly the arguments with :top, :left, etc.? -- Jaime Iniesta http://jaimeiniesta.com http://www.workingwithrails.com/person/6722-jaime-iniesta
