Sha256: 9fe682af8af4815da7fca953c501ee742db37dabe70b46bee15c36553ce44139
Contents?: true
Size: 391 Bytes
Versions: 321
Compression:
Stored size: 391 Bytes
Contents
require_relative "line_editor/basic" require_relative "line_editor/readline" class Bundler::Thor module LineEditor def self.readline(prompt, options = {}) best_available.new(prompt, options).readline end def self.best_available [ Bundler::Thor::LineEditor::Readline, Bundler::Thor::LineEditor::Basic ].detect(&:available?) end end end
Version data entries
321 entries across 321 versions & 6 rubygems