Get system name

I haven't that constant, but 'target_os'.

···

On 14 oct, 19:03, The Higgs bozo <higgs.b...@gmail.com> wrote:

Victor Goff wrote:
> Check out the Ruby Constants... PLATFORM could be one.

The constant is RUBY_PLATFORM.

Kless wrote:

···

On 14 oct, 19:03, The Higgs bozo <higgs.b...@gmail.com> wrote:

Victor Goff wrote:
> Check out the Ruby Constants... PLATFORM could be one.

The constant is RUBY_PLATFORM.

I haven't that constant, but 'target_os'.

RUBY_PLATFORM is a top-level constant, apart from Config::CONFIG.

  $ ruby -e 'p RUBY_PLATFORM'
--
Posted via http://www.ruby-forum.com/\.