Skip to content

Commit

Permalink
実験コード消した
Browse files Browse the repository at this point in the history
時刻の追加
  • Loading branch information
kyanny committed Jan 19, 2010
1 parent dcb97aa commit cbe715d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions demo/app/views/say/hello.html.erb
Expand Up @@ -4,19 +4,8 @@
</head>
<body>
<h1>Railsからこんにちは!</h1>
<ul>
<li>足し算: <%= 1+2 %> </li>
<li>連結: <%= "cow" + "boy" %> </li>
<li>1時間後の時刻: <%= 1.hour.from_now %> </li>
</ul>
<% 3.times do -%>
ホー!<br />
<% end -%>
メリークリスマス!
<% 3.downto(1) do |count| -%>
<%= count %>...<br />
<% end %>
発射!
Eメール: <%= h("Ann & Bill <frazers@isp.email>") %>
<p>
現在の時刻は、 <%= Time.now %> です。
</p>
</body>
</html>

0 comments on commit cbe715d

Please sign in to comment.