class AgentPlugin

Public Class Methods

new(*a) click to toggle source
Calls superclass method
# File lib/rbot/core/utils/agent.rb, line 77
def initialize(*a)
  super(*a)
  debug 'initializing agent factory'
  @bot.agent = Irc::Utils::AgentFactory.new(@bot)
end

Public Instance Methods

cleanup() click to toggle source
Calls superclass method
# File lib/rbot/core/utils/agent.rb, line 83
def cleanup
  debug 'shutting down agent factory'
  @bot.agent.cleanup
  @bot.agent = nil
  super
end