Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
does a required_by method exist?
Jack Dempsey
10/29/2007 5:29:00 PM
Through some caller() and load path searching, I've found you can get
the full path to the file requiring the one you're currently in....Is
there a built-in or easier way of doing this though?
thanks!
1 Answer
ara.t.howard
10/29/2007 5:54:00 PM
0
On Oct 29, 2007, at 11:28 AM, Jack Dempsey wrote:
> Through some caller() and load path searching, I've found you can get
> the full path to the file requiring the one you're currently in....Is
> there a built-in or easier way of doing this though?
>
over ride Kernel#require and Kernel#load
a @
http://codeforp...
--
it is not enough to be compassionate. you must act.
h.h. the 14th dalai lama
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
does a required_by method exist?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password