# File lib/autumn/ctcp.rb, line 204 def added(stem) stem.instance_variable_set :@ctcp, self class << stem def method_missing(meth, *args) if meth.to_s =~ /^ctcp_reply_([a-z]+)$/ then @ctcp.send_ctcp_reply self, args.shift, $1.to_s.upcase, *args elsif meth.to_s =~ /^ctcp_([a-z]+)$/ then privmsg args.shift, @ctcp.make_ctcp_message($1.to_s.upcase, *args) else super end end end end