Mischen Ruby-code und wörtliche markup mit Haml

Wie schreibt dieses ERB in HAML

<%= some_ruby_code %>:
# OR
<%= some_ruby_code %><br />

Kann ich:

=some_ruby_code + ":"
# and
=some_ruby_code
%br

aber ich will nicht die Verkettung von hier, und ich will es schreiben-inline:

(=some_ruby_code):
# and
(=some_ruby_code)%br
InformationsquelleAutor fl00r | 2011-08-19
Schreibe einen Kommentar