K
Kenneth McDonald
In Python, I can use the test indicated in the subject line to
determine if a file is being executed directly, as opposed to being
loaded indirectly as the result of the execution of another file. I
haven't been able to find the Ruby equivalent of this, and would be
most grateful is someone could point me in the right direction.
Thanks,
Ken McDonald
determine if a file is being executed directly, as opposed to being
loaded indirectly as the result of the execution of another file. I
haven't been able to find the Ruby equivalent of this, and would be
most grateful is someone could point me in the right direction.
Thanks,
Ken McDonald