module MiniTest::Unit::Guard
def jruby? platform = RUBY_PLATFORM
def jruby? platform = RUBY_PLATFORM "java" == platform end
def maglev? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE
def maglev? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE "maglev" == platform end
def mri? platform = RUBY_DESCRIPTION
def mri? platform = RUBY_DESCRIPTION /^ruby/ =~ platform end
def rubinius? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE
def rubinius? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE "rbx" == platform end
def windows? platform = RUBY_PLATFORM
def windows? platform = RUBY_PLATFORM /mswin|mingw/ =~ platform end