class Pipio::StatusMessage

A message saying e.g. “Blahblah has gone away.”

Constants

MAP

Attributes

status[R]

Public Class Methods

new(sender_screen_name, time, sender_alias, status) click to toggle source
Calls superclass method Pipio::Message::new
# File lib/pipio/messages/status_message.rb, line 15
def initialize(sender_screen_name, time, sender_alias, status)
  super(sender_screen_name, time, sender_alias)
  @status = status
end

Public Instance Methods

to_s() click to toggle source
# File lib/pipio/messages/status_message.rb, line 22
def to_s
  %(<status type="#{@status}" sender="#{@sender_screen_name}" time="#{adium_formatted_time}" alias="#{@sender_alias}"/>)
end