I've seen some example code that uses what appears to be a string
object with a join method, for example:
(from "rubyisms in rails")
<code>
def category_links(article)
"Posted in " + article.categories.collect { |c|
link_to c.name,
{ :controller=>"articles", :action => "category",
:id => c.permalink },
:rel => "tag"
}.join(", ")
end
</code>
But I don't see api docs in rails or ruby for a join method like this
(obviously there are other join methods).
It _appears_ that this might be a conditional concat (but perhaps
not).
anyone familiar with this?