On Tue, Oct 02, 2007 at 10:25:34PM -0300, Cesar Rabak wrote: > I'm trying to use Directory class, and all I got from the info page > does not enlighten me enough to use it except as a singleton. > > How do I create an instance of Directory so I can iterate the contents > of it (using #contents)?
I recently used the Directory class too, this was what I discovered about how to use it: You create a new instance eg. with the #name: message, and iterate via #contents or #do: (Directory name: '/tmp') do: [:file| file displayNl] Robin _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
