X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!talisker.lacave.net!lacave.net!not-for-mail From: John Mair Newsgroups: comp.lang.ruby Subject: Re: Learning Ruby advice needed Date: Fri, 13 May 2011 09:23:15 -0500 Organization: Service de news de lacave.net Lines: 14 Message-ID: References: <5c6d6fdb8d7a3429d3a5031248106dcd@ruby-forum.com> <8ba796d970e0b9c21bf1335f4111f0fb@ruby-forum.com> <20110512170501.GA71147@guilt.hydra> <20110512200227.GA71829@guilt.hydra> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1305296828 31194 65.111.164.187 (13 May 2011 14:27:08 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Fri, 13 May 2011 14:27:08 +0000 (UTC) In-Reply-To: <20110512200227.GA71829@guilt.hydra> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 383209 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:4491 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/.