# File lib/net/yail/output_api.rb, line 228 def topic(channel, new_topic = nil) # Dup for filter safety in outgoing handler channel = channel.dup new_topic = new_topic.dup handle(:outgoing_topic, channel, new_topic) output = "TOPIC #{channel}" output += " #{new_topic}" unless new_topic.to_s.empty? raw output end