Irb session history

Is there any way to access the current session’s IRB history as an
array of commands from within IRB?

martin

On 12/21/2011 01:41 PM, Martin DeMello wrote:

Is there any way to access the current session’s IRB history as an
array of commands from within IRB?

does this help?

IRB::ReadlineInputMethod::HISTORY.to_a

perfect, thanks!

martin

On Wed, Dec 21, 2011 at 3:58 PM, Joel VanderWerf