How can i know which OS platform the ruby application is running, MS
Windows, Mac OS or Linux?
thank you
···
--
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
--
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