Module: Tox::OutMessage
Overview
Abstract module for outgoing message representation in Tox client.
Defined Under Namespace
Classes: EmptyError, SendQueueAllocError, TooLongError
Instance Method Summary
collapse
Instance Method Details
#==(other) ⇒ Object
16
17
18
19
20
|
# File 'lib/tox/out_message.rb', line 16
def ==(other)
self.class == other.class &&
friend == other.friend &&
id == other.id
end
|
#client ⇒ Object
12
13
14
|
# File 'lib/tox/out_message.rb', line 12
def client
raise NotImplementedError, "#{self.class}#client"
end
|
#initialize ⇒ Object
8
9
10
|
# File 'lib/tox/out_message.rb', line 8
def initialize(*)
raise NotImplementedError, "#{self.class}#initialize"
end
|