Sha256: 5e70d606dae0bb3d7e6df551eb23cc279d7159fdac2c225323e3a29543bee097
Contents?: true
Size: 856 Bytes
Versions: 1
Compression:
Stored size: 856 Bytes
Contents
= RubyEngine {<img src="https://travis-ci.org/janlelis/ruby_engine.png" />}[https://travis-ci.org/janlelis/ruby_engine] Provides a +RubyEngine+ to simplify checking on which implementation your Ruby programs is running. == Setup On your command-line: $ gem install ruby_engine In Ruby: require 'ruby_engine' == Usage # Output the interpreter name RubyEngine.to_s # true for JRuby RubyEngine.is? 'jruby' # There are some query methods defined: RubyEngine.mri? RubyEngine.jruby? RubyEngine.rubinius? RubyEngine.ree? RubyEngine.ironruby? RubyEngine.macruby? RubyEngine.cardinal? == Also See https://github.com/janlelis/ruby_version | https://github.com/janlelis/ruby_info | https://github.com/rdp/os == J-_-L Copyright (c) 2010-2014 Jan Lelis. MIT License. Originated from the zucker gem.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_engine-1.0.1 | README.rdoc |