From: Juston Davies Date: 2009-07-10T04:07:27+09:00 Subject: How to invoke RubyParser on a class? I think I've got the basic concept and I got the test case to work where you can parse "1+1" and then use Ruby2Ruby to get it back to "1+1." But how do I get RubyParser to parse a class. I tried handing it method, proc and lambda objects as well as the class outright and it always throws an error. What do I need to give RubyParser to get it to parse a defined class or class::method? After two days of searching every lead I could find and reading the code I'm at wits end, maybe I'm missing something really obvious. I'd really appreciate any advice I could get.