PHP 8.2.31
Preview: line_editor.rb Size: 431 B
//proc/thread-self/root/opt/alt/ruby26/lib64/ruby/2.6.0/bundler/vendor/thor/lib/thor/line_editor.rb

require "bundler/vendor/thor/lib/thor/line_editor/basic"
require "bundler/vendor/thor/lib/thor/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

Directory Contents

Dirs: 5 × Files: 13

Name Size Perms Modified Actions
actions DIR
- drwxr-xr-x 2024-03-03 22:47:32
Edit Download
core_ext DIR
- drwxr-xr-x 2024-03-03 22:47:32
Edit Download
- drwxr-xr-x 2024-03-03 22:47:32
Edit Download
parser DIR
- drwxr-xr-x 2024-03-03 22:47:32
Edit Download
shell DIR
- drwxr-xr-x 2024-03-03 22:47:32
Edit Download
10.11 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
23.65 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
4.54 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
943 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download
8.86 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
6.05 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
431 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download
218 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download
2.10 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
9.99 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
2.29 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
8.50 KB lrw-r--r-- 2022-04-12 11:50:11
Edit Download
45 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).