Learning Ruby advice needed

> For instance, it has no memory of the last session (it does not keep
> records like .bash_history).

That's reasonably easy. Here's an example:

    http://snippets.dzone.com/posts/show/2586

Thanks! I'm a bit glaikit sometimes: never thought of making it do
that!

Good craic
Thank you
Johnny

I added an `edit-method` command to pry, which works in principle
similarly to interactive_editor.

Except you can just go `edit-method obj.meth` and the source file for
the method is opened and fast forwarded to the first line of the method.
The file is re-loaded once the editor returns to the pry session too.
Check out the docs on the `edit-method` command here if you're
interested

http://rdoc.info/github/banister/pry/master/file/README.markdown

···

--
Posted via http://www.ruby-forum.com/.

Cool!

···

On Fri, May 13, 2011 at 3:23 PM, John Mair <jrmair@gmail.com> wrote:

I added an `edit-method` command to pry, which works in principle
similarly to interactive_editor.

Except you can just go `edit-method obj.meth` and the source file for
the method is opened and fast forwarded to the first line of the method.
The file is re-loaded once the editor returns to the pry session too.