module Bundler::Thor::LineEditor

def self.best_available

def self.best_available
  [
    Bundler::Thor::LineEditor::Readline,
    Bundler::Thor::LineEditor::Basic
  ].detect(&:available?)
end