method

get_input

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

Method not available on this version

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

get_input()
private

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb, line 22
      def get_input
        if echo?
          $stdin.gets
        else
          # Lazy-load io/console since it is gem-ified as of 2.3
          require "io/console" if RUBY_VERSION > "1.9.2"
          $stdin.noecho(&:gets)
        end
      end