From: Joel VanderWerf Date: 2006-09-16T08:19:18+09:00 Subject: Re: Is there any way to save current job to a file in irb? Kuang Dong wrote: > Or is there any tool to take place of it? > You can put this in your .irbrc: def dump_history(file=nil) if file File.open(file, "w") do |f| f.puts IRB::ReadlineInputMethod::HISTORY.to_a end else puts IRB::ReadlineInputMethod::HISTORY.to_a end end -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407