M
Michel Demazure
The common idiom
if __FILE__ == $0 then ...
gives bugs when $0 is not what one would expect, for instance under a
debugger, or in rubyscript2exe, etc.
There should be a primitive test
if <nice name to be found> then...
if __FILE__ == $0 then ...
gives bugs when $0 is not what one would expect, for instance under a
debugger, or in rubyscript2exe, etc.
There should be a primitive test
if <nice name to be found> then...