method
get_input
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::LineEditor::Basic
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