method

completion_proc

completion_proc()
private

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb, line 32
      def completion_proc
        if use_path_completion?
          proc { |text| PathCompletion.new(text).matches }
        elsif completion_options.any?
          proc do |text|
            completion_options.select { |option| option.start_with?(text) }
          end
        end
      end