John Merlino wrote in post #1014812:
> My understanding of the + operator is as follows. The + operator works
> differently with arrays than it does with scalar values. With arrays,
> when
> taking two arrays as operands, it returns an array containing everything
> in
> the two oeprand arrays. In e
The docs say this about content_tag:
==
Returns an HTML block tag of type name surrounding the content.
==
Ok, not too helpful unless you understand the subtleties of css/html
speak. But the docs provide some examples that should help clarify
things:
content_tag(:p, "Hello world!")
# => Hell
My understanding of the + operator is as follows. The + operator works
differently with arrays than it does with scalar values. With arrays, when
taking two arrays as operands, it returns an array containing everything in
the two oeprand arrays. In essence, + operator performs addition on scalar
3 matches
Mail list logo