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 <marc_ric at hotmail.com>
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 <http://www.linkedin.com/in/marcric>
>
>
>
>
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/camping-list/attachments/20101107/92d84445/attachment.html>