faye 1.0.3 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +0,0 @@
1
- module Faye
2
- class Envelope
3
-
4
- include Deferrable
5
- attr_reader :id, :message
6
-
7
- def initialize(message, timeout = nil)
8
- @id = message['id']
9
- @message = message
10
-
11
- self.timeout(timeout, false) if timeout
12
- end
13
-
14
- def eql?(other)
15
- Envelope === other and @id == other.id
16
- end
17
-
18
- def hash
19
- @id.hash
20
- end
21
-
22
- end
23
- end
24
-