From: Chad Fowler Date: 2002-01-21T04:54:27+09:00 Subject: Re: OS-specific implementation > OK. But what is the way you determine which OS you're running on? > You can use the RUBY_PLATFORM variable. Rubicon (http://www.rubygarden.org/triple-r/index.html) makes use of this to build a hierarchy of classes which represent platforms. You might want to look at the way it's done there for a clean example. Chad