开发者

.each method block leaves a hash after end?

im following the tutorial on http://ruby.railstutorial.org/ and im on chapter 10.

ive noticed after i do a .each method block it leaves a hash of all the items in the block. why is it doing this? its not on the pictures in the tutorial..

ex:

i have included a screenshot of what happens with the hash at the end

.each method block leaves a hash after end?

.


You don't need to print the first line

<%= ... %>
Should be
<% ... %>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜