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 Pease
···
On 7/7/06, Satish Talim <satish.talim@gmail.com> wrote:
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.
Thanks Tim, that did help.
Satish
···
On 7/10/06, Tim Pease <tim.pease@gmail.com> wrote:
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 PeaseOn 7/7/06, Satish Talim <satish.talim@gmail.com> wrote:
> 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.
>
--
Satish Talim