How to write this ERB in HAML
<%= some_ruby_code %>:
# OR
<%= some_ruby_code %><br />
I can:
=some_ruby_code + ":"
# and
=some_ruby_code
%br
but I don’t want concatenating here and I want to write it inline:
(=some_ruby_code):
# and
(=some_ruby_code)%br
EDIT 1:
I’m not sure exactly what you are looking for. Would you like one of these?
or
There is no way to use
%brin HAML unless it is the first non-whitespace thing on the line, as far as I know.