blob: e43494191337411c4f7188c2f6295e958247c22a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
=begin
= $RCSfile$ -- Ruby-space definitions that completes C-space funcs for SSL
= Info
'OpenSSL for Ruby 2' project
Copyright (C) 2001 GOTOU YUUZOU <gotoyuzo@notwork.org>
All rights reserved.
= Licence
This program is licenced under the same licence as Ruby.
(See the file 'LICENCE'.)
= Version
$Id$
=end
require 'openssl/buffering'
module OpenSSL
module SSL
class SSLSocket
include Buffering
def addr
@io.addr
end
def peeraddr
@io.peeraddr
end
def closed?
@io.closed?
end
end
end
end
|