From: Han Holl Date: 2005-05-24T18:19:37+09:00 Subject: if __FILE_ == $0 executed twice Hello, As recommended in the pickaxe I often have a section at the end of a .rb file with if __FILE__ == $0 .... end However, if one of the included files includes this file itself (not unlikely at all), the code gets executed twice. Is there a reasonable workaround for this ? Cheers, Han Holl