module Multitrap

Constants

VERSION
VERSION_FILE

The VERSION file must be in the root directory of the library.

Public Class Methods

jruby?() click to toggle source
# File lib/multitrap.rb, line 10
def self.jruby?
  RUBY_ENGINE == 'jruby'
end
mri?() click to toggle source
# File lib/multitrap.rb, line 14
def self.mri?
  RUBY_ENGINE == 'ruby'
end
rbx?() click to toggle source
# File lib/multitrap.rb, line 18
def self.rbx?
  RUBY_ENGINE == 'rbx'
end