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