I am wondering what exactly ruby_script() is doing ?

Looking in README.EXT
  void ruby_script(char *name)
  Specifies the name of the script ($0). 


I have tried both with&without ruby_script(), but I 
don't feel any difference :-)
	ruby_init();
	ruby_init_loadpath();
	ruby_script("embed"); 

Why am I asking this question? Because I see ruby_script() 
used everywhere... Im confused. 


What is purpose with ruby_script() ?

--
Simon Strandgaard