Ruby on Rails
<title><%= content_for?(:title) ? yield(:title) : "default title" %></title> <% content_for :title do %> <%= post.user.name %>'s post <% end %> その他、参考 ActionView::Helpers::CaptureHelper#content_for ActionView::Helpers::CaptureHelper#content_for?
<% 3.times do %> ひゃー<br> <% end %> ほげほげ ひゃー<br> ひゃー<br> ひゃー<br> ほげほげ %> を -%> にすることで改行されない <% 3.times do -%> ひゃー<br> <% end -%> ほげほげ ひゃー<br> ひゃー<br> ひゃー<br> ほげほげ ちなみに、はなんて呼べばいいんだろう...