]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
azgame plugin: whitespace cleanup
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 4 Dec 2007 13:11:03 +0000 (13:11 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 4 Dec 2007 13:11:03 +0000 (13:11 +0000)
data/rbot/plugins/games/azgame.rb

index fb81b6d74948f1109944d09d2065258bb87d8296..495173b34fdd89c6a7f6f4cf72ef8ca0446c5278 100644 (file)
@@ -121,7 +121,7 @@ class AzGamePlugin < Plugin
       :listener => /^[a-z]+$/\r
     },\r
     }\r
-    \r
+\r
     japanese_wordlist = "#{@bot.botclass}/azgame/wordlist-japanese"\r
     if File.exist?(japanese_wordlist)\r
       words = File.readlines(japanese_wordlist) \\r
@@ -339,12 +339,12 @@ class AzGamePlugin < Plugin
   def is_japanese?(word)\r
     @rules[:japanese][:list].include?(word)\r
   end\r
-  \r
+\r
   # return integer between min and max, inclusive\r
   def rand_between(min, max)\r
     rand(max - min + 1) + min\r
   end\r
-  \r
+\r
   def random_pick_japanese(min=nil, max=nil)\r
     rules = @rules[:japanese]\r
     min = rules[:first] if min.nil_or_empty?\r