class Bundler::CurrentRuby

def jruby?

def jruby?
  RUBY_ENGINE == "jruby"
end

def maglev?

def maglev?
  RUBY_ENGINE == "maglev"
end

def mri?

def mri?
  !windows? && RUBY_ENGINE == "ruby"
end

def rbx?

def rbx?
  ruby? && RUBY_ENGINE == "rbx"
end

def ruby?

def ruby?
  return true if Bundler::GemHelpers.generic_local_platform_is_ruby?
  !windows? && (RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" || RUBY_ENGINE == "maglev" || RUBY_ENGINE == "truffleruby")
end

def truffleruby?

def truffleruby?
  RUBY_ENGINE == "truffleruby"
end

def windows?

def windows?
  Gem.win_platform?
end