Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4491

Re: Learning Ruby advice needed

From John Mair <jrmair@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Learning Ruby advice needed
Date 2011-05-13 09:23 -0500
Organization Service de news de lacave.net
Message-ID <f1093e800e276242213109fd61cea3d0@ruby-forum.com> (permalink)
References (1 earlier) <eb7418c63516e9c79cbc710620c250cb@ruby-forum.com> <8ba796d970e0b9c21bf1335f4111f0fb@ruby-forum.com> <20110512170501.GA71147@guilt.hydra> <BANLkTi=ArJQ341C=s2EOPDe0_vyWqxG0LQ@mail.gmail.com> <20110512200227.GA71829@guilt.hydra>

Show all headers | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Learning Ruby advice needed Rubist Rohit <passionate_programmer@hotmail.com> - 2011-05-12 03:54 -0500
  Re: Learning Ruby advice needed Regis d'Aubarede <regis.aubarede@gmail.com> - 2011-05-12 06:10 -0500
    Re: Learning Ruby advice needed Rubist Rohit <passionate_programmer@hotmail.com> - 2011-05-12 11:01 -0500
      Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 11:57 -0500
      Re: Learning Ruby advice needed 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-12 12:52 -0500
        Re: Learning Ruby advice needed Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 13:30 -0500
        Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 14:28 -0500
          Re: Learning Ruby advice needed Hassan Schroeder <hassan.schroeder@gmail.com> - 2011-05-12 14:44 -0500
            Re: Learning Ruby advice needed Stu <stu@rubyprogrammer.net> - 2011-05-12 14:48 -0500
            Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 14:49 -0500
          Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 19:46 -0500
      Re: Learning Ruby advice needed Stu <stu@rubyprogrammer.net> - 2011-05-12 13:34 -0500
        Re: Learning Ruby advice needed John Mair <jrmair@gmail.com> - 2011-05-13 09:23 -0500
          Re: Learning Ruby advice needed Adam Prescott <adam@aprescott.com> - 2011-05-13 10:02 -0500
  Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 09:26 -0500
    Re: Learning Ruby advice needed Josh Cheek <josh.cheek@gmail.com> - 2011-05-12 13:20 -0500
      Re: Learning Ruby advice needed Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 14:43 -0500
  Re: Learning Ruby advice needed jake kaiden <jakekaiden@yahoo.com> - 2011-05-12 15:29 -0500
    Re: Learning Ruby advice needed Alexander McMillan <alexandermcmillan@hotmail.com> - 2011-05-13 01:28 -0500

csiph-web