Subject: Is there a name for this idiom?
From: Lyle Johnson <lyle.johnson gmail.com>
Date: Sat, 7 Jul 2007 05:20:55 +0900
When you want to move your program's startup code into a block like so:
if __FILE__ == $0
# initialize and run program here
end
What's that called? Is there a commonly used name for that "startup"
block?