From c9074f4cab24c624ec1bb43d6b98880416205282 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 16 Aug 2009 16:05:33 +0200 Subject: Suppress warnings about unitialized variables hangman: an unneeded letters accessor was defined ircbot: restore initializations removed by previous commit --- data/rbot/plugins/games/hangman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins/games/hangman.rb') 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 -- cgit v1.2.3