A new instance of HttpUtilPlugin.
Returns a new instance of HttpUtilPlugin.
685 686 687 688 689
# File 'lib/rbot/core/utils/httputil.rb', line 685 def initialize(*a) super(*a) debug 'initializing httputil' @bot.httputil = Irc::Utils::HttpUtil.new(@bot) end
691 692 693 694 695 696
# File 'lib/rbot/core/utils/httputil.rb', line 691 def cleanup debug 'shutting down httputil' @bot.httputil.cleanup @bot.httputil = nil super end