From: Robert Klemme Date: 2013-04-06T04:46:52+09:00 Subject: Re: How do you know what the main file in Ruby Projects is? --047d7bb0421625546604d9a25974 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 5, 2013 at 8:30 PM, peteV wrote: > Hi Ruby people, > > I have been using C for a while and I was wondering how you can tell what > the main file is in a multi file Ruby project? > Ruby is great, I love it as a language. thanks to all who take time to > post here with answers to our newb questions. > > robert@fussel:~$ ruby a.rb a.rb a.rb robert@fussel:~$ cat -n a.rb 1 2 puts $0 3 4 load 'b.rb' 5 robert@fussel:~$ cat -n b.rb 1 2 puts $0 3 Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --047d7bb0421625546604d9a25974 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Fri, Apr 5, 2013 at 8:30 PM, peteV <pete0verse@gmail.com= > wrote:
Hi Ruby people,

I have been using C for a while and I was wondering how you can tell what t= he main file is in a multi file Ruby project?
Ruby is great, I love it as a language. thanks to all who take time to post= here with answers to our newb questions.


robert@fussel:~$ ruby a.rb
a.rb
a.rb
robert@fu= ssel:~$ cat -n a.rb=A0
=A0 =A0 =A01
=A0 =A0 =A02 puts $0
=A0 =A0 =A03
=A0 =A0 =A04 load 'b.rb'
=A0 =A0 = =A05
robert@fussel:~$ cat -n b.rb=A0
=A0 =A0 =A01
=A0 =A0 =A02 puts $0
=A0 =A0 =A03

Cheers

rober= t


--
remember.guy do |as, often| = as.you_can - without end
= http://blog.rubybestpractices.com/
--047d7bb0421625546604d9a25974--