module Blather class Stream class Client < Stream LANG = 'en' VERSION = '1.0' NAMESPACE = 'jabber:client' protected def start @parser = Parser.new self start_stream = <<-STREAM STREAM send start_stream.gsub(/\s+/, ' ') end end #Client end #Stream end #Blather