diff options
Diffstat (limited to 'public/help/wiki_syntax_detailed.html')
-rw-r--r-- | public/help/wiki_syntax_detailed.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/help/wiki_syntax_detailed.html b/public/help/wiki_syntax_detailed.html index 38d5da38f..2ddd2fdf5 100644 --- a/public/help/wiki_syntax_detailed.html +++ b/public/help/wiki_syntax_detailed.html @@ -277,9 +277,9 @@ To go live, all you need to add is a database and a web server. <span class="line-numbers"> 3</span> <span class="reserved">def</span> <span class="function">initialize</span>(name) <span class="line-numbers"> 4</span> <span class="instance-variable">@name</span> = name.capitalize <span class="line-numbers"> 5</span> <span class="reserved">end</span> -<span class="line-numbers"> 6</span> +<span class="line-numbers"> 6</span> <span class="line-numbers"> 7</span> <span class="reserved">def</span> <span class="function">salute</span> -<span class="line-numbers"> 8</span> puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span> +<span class="line-numbers"> 8</span> puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span> <span class="line-numbers"> 9</span> <span class="reserved">end</span> <span class="line-numbers"><strong>10</strong></span> <span class="reserved">end</span></code> </pre> |