On Mon, Sep 29, 2008 at 10:23:41PM -0400, Seth Thomas Rasmussen wrote: > Right. Sorry. > > So, the "unitialized constant Widget" error that I assume is the same > you found got me to remembering that the main Shoes app file lives in > a strange invisible namespace. In that file when you say Widget you > are really saying Shoes::Widget. I think.
That's right. > Mr. _why, will namespacing in Shoes become more plain in the future, > or does this trickery facilitate something integral to Shoes' > character? Sure, watching your responses, I think I'll change two things: * Rename Shoes.load to Shoes.visit. It already parallels the App.visit method and it's blocking the useful Kernel.load. (In conclusion: I am sorry.) * Only run the actual Shoes.app block in the Shoes module context. I need to figure out the impact this would make on other scripts. Dr. Ernie's tankspank ran into this before. (In conclusion: I really am sorry!) _why
