method

readline

ruby latest stable - Class: Bundler::Thor::LineEditor::Readline

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

readline()
public

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb, line 13
      def readline
        if echo?
          ::Readline.completion_append_character = nil
          # Ruby 1.8.7 does not allow Readline.completion_proc= to receive nil.
          if complete = completion_proc
            ::Readline.completion_proc = complete
          end
          ::Readline.readline(prompt, add_to_history?)
        else
          super
        end
      end