diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-08-16 16:05:33 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-08-16 16:06:47 +0200 |
commit | c9074f4cab24c624ec1bb43d6b98880416205282 (patch) | |
tree | 633312e41dd283a65a356ae79872bc09694e5ffc /data/rbot/plugins/games | |
parent | e51cc13bc8cf22227580f09c3e03fc776549a4a9 (diff) |
Suppress warnings about unitialized variables
hangman: an unneeded letters accessor was defined
ircbot: restore initializations removed by previous commit
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r-- | data/rbot/plugins/games/hangman.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb index c0a5ddc3..2a4bf338 100644 --- a/data/rbot/plugins/games/hangman.rb +++ b/data/rbot/plugins/games/hangman.rb @@ -63,7 +63,7 @@ class Hangman end class Hangman - attr_reader :misses, :guesses, :word, :letters, :scores + attr_reader :misses, :guesses, :word, :scores STAGES = [' (x_x) ', ' (;_;) ', ' (>_<) ', ' (-_-) ', ' (o_~) ', ' (^_^) ', '\(^o^)/'] HEALTH = STAGES.size-1 |