When reading source code, I always want to know the full path of the file when it is loaded, is there any callback method in ruby to accomplish this, or any other way to do this? thanks in advance.
EDIT Clarification from the comments:
I want to know where the loaded "somefile" is located while I execute this line: "load somefile"