Thanx a lot ! This makes a lot of sense now.

Vidhi.



-----Original Message-----
From: Caio Tiago Oliveira [mailto:caiot1 / ibest.com.br] 
Sent: Friday, February 11, 2005 9:28 AM
To: ruby-talk ML
Subject: Re: new to this language

Hi,

Ghelani, Vidhi, 11/2/2005 14:01:
> 1) Just like in C++ you have a .h and a .cpp file , In this language
how
> would you store your file. In other words if I open emacs and want to
> write a very simple small class in what format would I save this file
?


.rb


> 2) How do you compile your code? What is the syntax?


Ruby is not compiled, it's interpreted. To run a file you can use 'ruby 
foo.rb', when 'foo' is the name of your file.


> 3) Do you need a main and a makefile ? I am sure you would need a main
> to test it . If yes how do you save the main? In what format?


You don't need a main either a makefile.