module Bundler::Thor::LineEditor
def self.best_available
def self.best_available [ Bundler::Thor::LineEditor::Readline, Bundler::Thor::LineEditor::Basic ].detect(&:available?) end
def self.readline(prompt, options = {})
def self.readline(prompt, options = {}) best_available.new(prompt, options).readline end