Julian Fondren <julian / imaji.net> writes:

> What is the ruby equivalent of python's
> 
> if __name__ == '__main__':

Try this:

  if __FILE__ == $0
    ...
  end

Shugo