Wes Gamble wrote:
> What's the easiest way to figure out if you are on a Windows vs. UNIX 
> platform in Ruby from within a Ruby program?

Try this:

irb(main):005:0> puts RUBY_PLATFORM
powerpc-darwin8.0



-- 
Posted via http://www.ruby-forum.com/.