Monday, July 28, 2008

ruby readline


loop do
line = Readline::readline("app shell> ")
if line
Readline::HISTORY.push line
puts line
else
puts
break
end
end


This is a the most basic usage.
I want to find a way could act as irssi :/

 

No comments: