Method: ChildProcess.platform
- Defined in:
- lib/childprocess.rb
.platform ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'lib/childprocess.rb', line 42 def platform if RUBY_PLATFORM == "java" :jruby elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby" :ironruby else os end end |