From: Martin DeMello Date: 2012-05-04T09:09:25+09:00 Subject: Re: irb state dump as ruby code On Thu, May 3, 2012 at 5:00 PM, Michael M. wrote: > Hi all, > > I don't know if this is possible, however I believe ruby is a reflective > programming language, and so I was wondering if anyone know how I might > dump an interactive ruby session as ruby code. IRB::ReadlineInputMethod::HISTORY.to_a.join("\n") martin