There seems to be a bug with the Vector class in the shoes version of ruby.
I'm making vectors of coordinates using this line:

pos = Vector[mouse[1], mouse[2]]

Before I was doing this with arrays, but realized that using vectors would
help me out in the long run. Once I switched to vectors, I got this error in
the shoes console:

undefined method '[]' for #<Class:0x1249a54>::Vector

Has anyone come across this? It seems like this should work just fine. I'm
using the latest .dmg release of Raisins on Leopard.

Thanks

Chris

Reply via email to