]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
revert previous useless commit and rdocify documentation of accessors to BotModule
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 8 Apr 2008 14:28:53 +0000 (16:28 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 8 Apr 2008 14:28:53 +0000 (16:28 +0200)
lib/rbot/core/utils/extends.rb
lib/rbot/plugins.rb

index 1f4fd6fe4fc2692eefe5d2a64dd222681ad3ce89..e9581bc0902a466039ce443003a31c0b7199d957 100644 (file)
@@ -366,10 +366,6 @@ module ::Irc
       end
 
       class BotModule
-
-        # The botmodule registry
-        attr_reader :registry
-
         # Sometimes plugins need to create a new fake message based on an existing
         # message: for example, this is done by alias, linkbot, reaction and remotectl.
         #
index 567724f8b19db1e056ae6e834ee5e44dfb89e9dc..d68163ae8be0552a07cf2589812fbae9bafb4b0c 100644 (file)
@@ -134,9 +134,14 @@ module Plugins
 =end
 
   class BotModule
-    attr_reader :bot   # the associated bot
-    attr_reader :registry # the plugin registry
-    attr_reader :handler # the message map handler
+    # the associated bot
+    attr_reader :bot
+
+    # the plugin registry
+    attr_reader :registry
+
+    # the message map handler
+    attr_reader :handler
 
     # Initialise your bot module. Always call super if you override this method,
     # as important variables are set up for you: