ask(question)
click to toggle source
def ask question
raise InputEOFError, question if @ins.eof?
super
end
error()
click to toggle source
def error
@errs.string
end
output()
click to toggle source
def output
@outs.string
end
terminate_interaction(status=0)
click to toggle source
def terminate_interaction(status=0)
@terminated = true
raise TermError, status if status != 0
raise SystemExitException
end
terminated?()
click to toggle source
def terminated?
@terminated
end