From: Burt Hill Date: 2008-01-08T12:46:14+09:00 Subject: Viewing code I am new to ruby and although I am learning quickley I was wondering if it is possible to view code, I will explain. When I write a module I can use the below code to print out the method names I used in my module on screen which is ok, but is it possible to print everything I written (the whole script) onscreen and/or output/save it to a txt file? =================================================================================== module Hidden class << self p instance_methods-Module.instance_methods end end =================================================================================== -- Posted via http://www.ruby-forum.com/.