How to know the OS platform

How can i know which OS platform the ruby application is running, MS
Windows, Mac OS or Linux?

thank you

···

--

I've never used this, but does this help?

http://www.rubycentral.com/book/rubyworld.html#S5

Harry

···

On 5/25/07, huang zhimin <flyerhzm@gmail.com> wrote:

How can i know which OS platform the ruby application is running, MS
Windows, Mac OS or Linux?

thank you

--
CodeLineStatistics download | SourceForge.net

--

A Look into Japanese Ruby List in English

huang zhimin wrote:

How can i know which OS platform the ruby application is running, MS
Windows, Mac OS or Linux?

thank you

$ irb
>> puts PLATFORM
x86_64-linux
=> nil

···