1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix formatting

This commit is contained in:
Vijay Dev 2010-12-26 00:09:08 +05:30
parent 2801efbc3b
commit 9ed385fe17

View file

@ -439,7 +439,7 @@ The +capture+ method allows you to extract part of a template into a variable. Y
<% @greeting = capture do %>
<p>Welcome! The date and time is <%= Time.now %></p>
<% end %>
<ruby>
</ruby>
The captured variable can then be used anywhere else.