Class: Pidgin2Adium::AutoReplyMessage

Inherits:
XMLMessage show all
Defined in:
lib/pidgin2adium/messages/auto_reply_message.rb

Overview

An auto reply message.

Instance Attribute Summary

Attributes inherited from XMLMessage

#body

Attributes inherited from Message

#buddy_alias, #sender, #time

Instance Method Summary collapse

Methods inherited from XMLMessage

#initialize, #normalize_body!, #normalize_body_entities!

Methods inherited from Message

#<=>, #initialize

Constructor Details

This class inherits a constructor from Pidgin2Adium::XMLMessage

Instance Method Details

#to_sObject



6
7
8
9
# File 'lib/pidgin2adium/messages/auto_reply_message.rb', line 6

def to_s
  return sprintf('<message sender="%s" time="%s" auto="true" alias="%s">%s</message>' << "\n",
                 @sender, @time, @buddy_alias, @styled_body)
end