Is there any way to access the current session's IRB history as an
array of commands from within IRB?
martin
Is there any way to access the current session's IRB history as an
array of commands from within IRB?
martin
does this help?
IRB::ReadlineInputMethod::HISTORY.to_a
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?
perfect, thanks!
martin
On Wed, Dec 21, 2011 at 3:58 PM, Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
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