Skip to content

Commit

Permalink
ERb では -%> とすると後続の改行文字を削る -%] と同じ
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 19, 2010
1 parent 16c308d commit 3d20332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/app/views/say/hello.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li>連結: <%= "cow" + "boy" %> </li>
<li>1時間後の時刻: <%= 1.hour.from_now %> </li>
</ul>
<% 3.times do %>
<% 3.times do -%>
ホー!<br />
<% end %>
メリークリスマス!
Expand Down

0 comments on commit 3d20332

Please sign in to comment.