class Bundler::CurrentRuby

def jruby?

def jruby?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
end

def maglev?

def maglev?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == "maglev"
end

def mingw?

def mingw?
  Bundler::WINDOWS && Gem::Platform.local.os == "mingw32" && Gem::Platform.local.cpu != "x64"
end

def mri?

def mri?
  !mswin? && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby")
end

def mswin64?

def mswin64?
  Bundler::WINDOWS && Gem::Platform.local.os == "mswin64" && Gem::Platform.local.cpu == "x64"
end

def mswin?

def mswin?
  Bundler::WINDOWS
end

def rbx?

def rbx?
  ruby? && defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
end

def ruby?

def ruby?
  !mswin? && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" || RUBY_ENGINE == "maglev")
end

def x64_mingw?

def x64_mingw?
  Bundler::WINDOWS && Gem::Platform.local.os == "mingw32" && Gem::Platform.local.cpu == "x64"
end