Method: ChildProcess.platform
- Defined in:
- lib/childprocess.rb
.platform ⇒ Object
29 30 31 32 33 34 35 36 37 |
# File 'lib/childprocess.rb', line 29 def platform if RUBY_PLATFORM == "java" :jruby elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby" :ironruby else os end end |