From: Patrick Date: 2006-05-09T13:40:23+09:00 Subject: Print Out Code in Program class Ab def code a = 5 b = 2 end end Is there a way to store the actual code of a class or definition as a string without manually doing it? Such as if you were doing a tutorial on how something works. So basically I could do print aB and I get "def code a = 5 b = 2 end" -- Posted via http://www.ruby-forum.com/.