From marc_ric at hotmail.com Sun Nov 7 08:16:12 2010 From: marc_ric at hotmail.com (Marcos Ricardo) Date: Sun, 7 Nov 2010 13:16:12 +0000 Subject: First Contact and a few doubts Message-ID: Hi Folks, This is my first contact, and I have a few doubts. 1 - I was looking for a specific subject (see below), but couldn't find a way to search the list by topic. Does this list have a search function? How to use it? 2 - I have seen more then one "Camping Home Page" and I'm not sure which one is THE ONE. 3 - My specific doubt is about This piece of code: class Index < R'/' Can some one explain it deeply? What exactly is the Index class inheriting this way? Thanks in advance. Marcos Ricardo (www.marcric.com)(R)mr(R)View my LinkedIn profile -------------- next part -------------- An HTML attachment was scrubbed... URL: From judofyr at gmail.com Sun Nov 7 09:31:39 2010 From: judofyr at gmail.com (Magnus Holm) Date: Sun, 7 Nov 2010 15:31:39 +0100 Subject: First Contact and a few doubts In-Reply-To: References: Message-ID: Hey Marcos, 1) You can search the mailing list at http://www.mail-archive.com/camping-list at rubyforge.org/ 2) http://whywentcamping.com/ is probably the most official one (since it's linked to the wiki). 3) Ah, you've discovered the first magic of Camping! R is simply a method which returns a class: https://github.com/camping/camping/blob/cf1dd6162d95f798190b/lib/camping-unabridged.rb#L526-L532 Another example (which you can play with in IRB): def C(name) Class.new { defined_method(:name) { name } } end class Index < C 'my name' end Index.new.name # => 'my name' // Magnus Holm On Sun, Nov 7, 2010 at 14:16, Marcos Ricardo wrote: > Hi Folks, > > This is my first contact, and I have a few doubts. > > 1 - I was looking for a specific subject (see below), but couldn't find a > way to search the list by topic. > > Does this list have a search function? How to use it? > > 2 - I have seen more then one "Camping Home Page" and I'm not sure which > one is THE ONE. > > 3 - My specific doubt is about This piece of code: > > class Index < R'/' > > Can some one explain it deeply? > > What exactly is the Index class inheriting this way? > > Thanks in advance. > > ------------------------------ > Marcos Ricardo (www.marcric.com) > > (R)mr(R) > > View my LinkedIn profile > > > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deveritt at innotts.co.uk Thu Nov 11 11:12:33 2010 From: deveritt at innotts.co.uk (Dave Everitt) Date: Thu, 11 Nov 2010 16:12:33 +0000 Subject: Rubyconf Message-ID: Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt? From judofyr at gmail.com Fri Nov 12 08:25:53 2010 From: judofyr at gmail.com (Magnus Holm) Date: Fri, 12 Nov 2010 14:25:53 +0100 Subject: Rubyconf In-Reply-To: References: Message-ID: I'm unfortunately not at RubyConf :-( Maybe next year? // Magnus Holm On Thu, Nov 11, 2010 at 17:12, Dave Everitt wrote: > Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt? > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deveritt at innotts.co.uk Fri Nov 12 09:26:31 2010 From: deveritt at innotts.co.uk (Dave Everitt) Date: Fri, 12 Nov 2010 14:26:31 +0000 Subject: Rubyconf In-Reply-To: References: Message-ID: <20D6E1F6-7367-4BF1-8771-0699AEB74BDB@innotts.co.uk> Just wondering. Maybe have a presence next year? :-) > I'm unfortunately not at RubyConf :-( > > Maybe next year? > > // Magnus Holm > >> On Thu, Nov 11, 2010 at 17:12, Dave Everitt >> wrote: >> Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt?