From: Hans Mackowiak Date: 2011-12-08T07:15:55+09:00 Subject: Re: Viewing a script source loaded into the interpreter i thought you joked because i test it... require "gosu" p SCRIPT_LINES__ #undefined constant but it only works if SCRIPT_LINES__ is defined before require SCRIPT_LINES__ = {} require "gosu" p SCRIPT_LINES__ #many lines but i think SCRIPT_LINES__ is very ugly and i do not like it PS: no you does not get all code, because some stuff you require is written in C or C++ -- Posted via http://www.ruby-forum.com/.