Lennart Borgman (gmail) wrote: >> Actually IO#sync means that you should call the sync method on an object >> that belongs to the IO class. It does not represent executable Ruby >> code. In your case it means to do $stdout.sync, as originally suggested. >> > > Thanks, I had no idea of that. Is that some kind of meta language for > Ruby or is it more general? > It is a Ruby-specific meta language. It is often used in rdoc. I've seen this lead to lots of confusion.
I would express this idea (IO#sync) thus: io.sync = true And the reader would then have to understand that "io" was an instance of the IO class. Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
