2009/1/22 Szymon Wrozynski <[email protected]>: > Perhaps it could be helpful to explicitly write somewhere in the docs how to > split custom widgets to separate files, etc.? (1 missing sentence IMHO).
Yeah. The main things to be aware of, as I see it, is knowing that, in the main app file, everything is evaluated in the context of Shoes. So, there you can get away with saying "class Foo < Widget". In other files, normal Ruby behavior prevails, requiring you to say "Shoes::Widget". -- Seth Thomas Rasmussen http://greatseth.com
