From: Juston Davies Date: 2009-07-10T16:32:20+09:00 Subject: Re: How to invoke RubyParser on a class? Excellent, I'll look into it! Im still in 1.8.6 now but I'm Im working my way to 1.9.+ Thanks a for the reply, this gives me some much needed direction. On Jul 9, 10:16 pm, Roger Pack wrote: > > What do I need to give > > RubyParser to get it to parse a defined class or class::method? > > With ParseTree there is a method to do this.  With RubyParser I don't > think there is.  With 1.9.1 you could use {method, proc}#source_location > to try to re-locate the source and parse it from there. > -- > Posted viahttp://www.ruby-forum.com/.