From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-12-11T15:17:08+09:00 Subject: Re: Required scripts In article , Shashank Date wrote: > >"George Moschovitis" wrote in message >> Is there a way to find out which ruby script files are "required" >> (==loaded) by the current application? > >Take a look at the "rdep" utility on RAA: >This utility analyzes large Ruby programs and attempts to >determine all their dependencies and whether they can be >resolved. It recognizes simple forms of load, require, and >autoload. so rdep actually parses some Ruby code to determine these things? How about checking the Array in $" ? From page 217 of the Pickaxe: "An array containing the filenames of modules loaded by require." Phil -- "Or perhaps the truth is less interesting than the facts?" Amy Weiss (accusing theregister.co.uk of engaging in 'tabloid journalism') Senior VP, Communications Recording Industry Association of America