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 && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu != "x64"
end

def mri?

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

def mswin64?

def mswin64?
  Bundler::WINDOWS && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mswin64" && Bundler.local_platform.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 && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu == "x64"
end