Newbie Qs on Filename convention

Coming from a Java background, we are used to give filenames the same
name
as the public class. In Ruby, is there a convention for giving
filenames. A
HelloWorld program should be named Hello.rb or hello.rb ? I use the
Windows
O/S.

Download the ruby source code

ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz

Take a look in the lib directory to see how Matz names his .rb files.

Blessings,
Tim P.

Thanks Tim, that did help.

Satish

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs