Class: ModSpox::Messages::Outgoing::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Simple.rb

Direct Known Subclasses

Away, Ping, Quit

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Simple

Returns a new instance of Simple.



6
7
8
# File 'lib/mod_spox/messages/outgoing/Simple.rb', line 6

def initialize(message)
    @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/mod_spox/messages/outgoing/Simple.rb', line 5

def message
  @message
end