From: Stephane Wirtel Date: 2006-11-05T11:15:09+09:00 Subject: how to know if i am in a module or in the main script ? Hi all, with ruby, it's possible to check if I am in the main script or in a module with if __name__ == 'main' Is there the same thing with ruby ? Thanks