[engines guide] add missing end for to_s method

This commit is contained in:
Ryan Bigg
2011-10-20 17:10:46 +11:00
parent 1cc6105d4d
commit 3e2d35b050

View File

@@ -493,6 +493,7 @@ This is undesirable and it would be much better to have the user's name there. T
<ruby>
def to_s
name
end
</ruby>
Now instead of the ugly Ruby object output the author's name will be displayed.