Sha256: 7d44ab24da12c84ea0c661d196fc26afc48863db6fd982503362ec1a7ce5a37a

Contents?: true

Size: 357 Bytes

Versions: 7

Compression:

Stored size: 357 Bytes

Contents

# The Message class's subclasses, each used for holding one line of a chat.

module Pidgin2Adium
  # An auto reply message.
  class AutoReplyMessage < XMLMessage
    def to_s
      return sprintf('<message sender="%s" time="%s" auto="true" alias="%s">%s</message>' << "\n",
                     @sender, @time, @buddy_alias, @styled_body)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pidgin2adium-3.3.0 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.2.4 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.2.3 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.2.2 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.2.1 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.2.0 lib/pidgin2adium/messages/auto_reply_message.rb
pidgin2adium-3.1.1 lib/pidgin2adium/messages/auto_reply_message.rb