On Dec 31, 2010, at 02:39 , Thillai S. wrote:

>> 
>> Before I knew what you were trying to do, I would have probably
>> recommended looking at ruby_parser to figure out your line number
>> problem. But now that I know, I wouldn't. It has like... almost NO
>> comments:
> 
> Kindly don't deviate the topic.
> I want to extract only the function code.
> Tell me how can we extract only the function code.
> How to identify in which line the function is ending.
> I want to extract like this for each functions in a ruby file.

kindly read my response.