I expected to see the word "test" appear in the output once and the word "hello" appear once.
But I'm puzzling over the fact that if I do this, the word "test" is displayed twice.
<div>
<h3>test</h3>
</div>
<% def helo %>
<% "hello" %>
<% end %>
<%= helo %>
I assume there's a simple explanation for this related to some quirk of erb?