class Thor::LineEditor::Basic
def self.available?
def self.available? true end
def echo?
def echo? options.fetch(:echo, true) end
def get_input
def get_input if echo? $stdin.gets else $stdin.noecho(&:gets) end end
def initialize(prompt, options)
def initialize(prompt, options) @prompt = prompt @options = options end
def readline
def readline $stdout.print(prompt) get_input end