Class: ModSpox::Messages::Outgoing::Pong

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(server, string) ⇒ Pong

Send a pong



10
11
12
13
# File 'lib/mod_spox/messages/outgoing/Pong.rb', line 10

def initialize(server, string)
    @server = server
    @string = string
end

Instance Attribute Details

#serverObject (readonly)

server

server to send to



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

def server
  @server
end

#stringObject (readonly)

string

string



8
9
10
# File 'lib/mod_spox/messages/outgoing/Pong.rb', line 8

def string
  @string
end