From: Paul Brannan Date: 2002-03-21T23:13:17+09:00 Subject: Re: Windows version of Ruby (proposals) On Thu, Mar 21, 2002 at 11:04:55PM +0900, Dave Thomas wrote: > Then, we provide a set of environment support modules for those > classes that currently contain non-portable methods. We could have > (for example) > > module SysdepFilePosix > ... > end > > module SysdepFileWin32 > ... > end > > Mix one of these into class File and you'll get all the system > dependent calls. You'll also be explicitly marking your code as > non-portable. This would be a global change, and may not be desirable. What are the advantages of mixing a module into File over subclassing from File? Paul