doc/RockPaperScissors.html in RPSrb-0.0.8 vs doc/RockPaperScissors.html in RPSrb-0.0.9

- old
+ new

@@ -276,12 +276,12 @@ <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span> <span class="ruby-identifier">printf</span> <span class="ruby-string">&quot;\nFinal score:\nplayer: %i, computer: %i; (ties: %i).\n\n&quot;</span> <span class="ruby-operator">%</span> [<span class="ruby-ivar">@player_score</span>, <span class="ruby-ivar">@computer_score</span>, <span class="ruby-ivar">@ties</span>] <span class="ruby-keyword">case</span> <span class="ruby-identifier">final_outcome</span>(<span class="ruby-ivar">@player_score</span>, <span class="ruby-ivar">@computer_score</span>) <span class="ruby-keyword">when</span> <span class="ruby-value">:WIN</span> - <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\nPlayer wins!\n&quot;</span> + <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Player wins!\n&quot;</span> <span class="ruby-keyword">when</span> <span class="ruby-value">:LOSE</span> - <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\nComputer wins!\n&quot;</span> + <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Computer wins!\n&quot;</span> <span class="ruby-keyword">end</span> <span class="ruby-identifier">print</span> <span class="ruby-string">&quot;\n[press the enter/return key to exit game]&quot;</span> <span class="ruby-identifier">gets</span> <span class="ruby-identifier">puts</span> <span class="ruby-keyword">end</span></pre>