diff options
Diffstat (limited to 'lib/bundler/vendor/thor/line_editor.rb')
-rw-r--r-- | lib/bundler/vendor/thor/line_editor.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/bundler/vendor/thor/line_editor.rb b/lib/bundler/vendor/thor/line_editor.rb deleted file mode 100644 index 021c926cfe..0000000000 --- a/lib/bundler/vendor/thor/line_editor.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'thor/line_editor/basic' -require 'thor/line_editor/readline' - -class Thor - module LineEditor - def self.readline(prompt, options={}) - best_available.new(prompt, options).readline - end - - def self.best_available - [ - Thor::LineEditor::Readline, - Thor::LineEditor::Basic - ].detect(&:available?) - end - end -end |