Skip to content
Permalink
Browse files

ERb では -%> とすると後続の改行文字を削る -%] と同じ

  • Loading branch information...
kyanny committed Jan 19, 2010
1 parent 16c308d commit 3d203329b5a22553d26fc264cd2fb32908d1c5ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 demo/app/views/say/hello.html.erb
@@ -9,7 +9,7 @@
<li>連結: <%= "cow" + "boy" %> </li>
<li>1時間後の時刻: <%= 1.hour.from_now %> </li>
</ul>
<% 3.times do %>
<% 3.times do -%>
ホー!<br />
<% end %>
メリークリスマス!

0 comments on commit 3d20332

Please sign in to comment.
You can’t perform that action at this time.