From: Jimmy Thrasher Date: 2001-11-16T23:04:19+09:00 Subject: [ruby-talk:25429] Re: Refactoring tool for Ruby... At 07:16 AM 11/16/2001 +0900, you wrote: >Is [needing an IDE] really true? The core refactoring capability doesn't have >to have anything to do with an IDE. It could easily be a libray which >is capable of being used on the command line or from a ruby script. >Hmm, maybe we have different ideas re: what a refactoring tool does I agree, except that it might be hard to API-ify it. Perhaps: class RefactorTool def extractMethod(ast, astPath) #astPath is like X-Path? end def getPossibleRefactorings(ast, astPath) end end ? Jimmy