ident 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +674 -0
- data/README +2 -0
- data/Rakefile +27 -0
- data/doc/Ident.html +552 -0
- data/doc/Ident/Response.html +113 -0
- data/doc/Ident/Response/BasicResponse.html +271 -0
- data/doc/Ident/Response/ERROR.html +445 -0
- data/doc/Ident/Response/USERID.html +166 -0
- data/doc/README.html +29 -0
- data/doc/all-files.html +23 -0
- data/doc/all-methods.html +126 -0
- data/doc/all-namespaces.html +32 -0
- data/doc/app.js +18 -0
- data/doc/custom.css +1 -0
- data/doc/index.html +19 -0
- data/doc/jquery.js +11 -0
- data/doc/style.css +81 -0
- data/doc/syntax_highlight.css +24 -0
- data/doc/top-level-namespace.html +25 -0
- data/examples/example.rb +34 -0
- data/lib/ident.rb +134 -0
- metadata +75 -0
@@ -0,0 +1,113 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../custom.css" type="text/css" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
9
|
+
|
10
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<title>Module: Ident::Response</title>
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div id="content">
|
16
|
+
<div class="section module Ident_Response">
|
17
|
+
<h1 class="title">Module: Ident::Response</h1>
|
18
|
+
<div class="section constants">
|
19
|
+
|
20
|
+
</div> <div class="section visibilitygroup public">
|
21
|
+
<h1>Public Visibility</h1>
|
22
|
+
<div class="section methodsummary class public">
|
23
|
+
<h1>Public Class Method Summary</h1>
|
24
|
+
<table class="summary">
|
25
|
+
|
26
|
+
<tr>
|
27
|
+
<th class="signature">
|
28
|
+
|
29
|
+
<span class='overload'>
|
30
|
+
<span class='name'><a href="#from-class_method" title="from">from</a></span><span class='args'>(s)</span>
|
31
|
+
<span class='block'></span>
|
32
|
+
</span>
|
33
|
+
|
34
|
+
|
35
|
+
</th>
|
36
|
+
<td class="docstring">
|
37
|
+
<p>
|
38
|
+
Returns an instance of <tt><a href="Response/USERID.html" title="USERID">USERID</a></tt> or <tt><a href="Response/ERROR.html" title="ERROR">ERROR</a></tt>, depending on the type of reply.
|
39
|
+
</p>
|
40
|
+
|
41
|
+
|
42
|
+
</td>
|
43
|
+
</tr>
|
44
|
+
|
45
|
+
</table>
|
46
|
+
|
47
|
+
</div>
|
48
|
+
<div class="section methoddetails class public">
|
49
|
+
<h1>Public Class Method Details</h1>
|
50
|
+
|
51
|
+
<div class="method">
|
52
|
+
<div class="method_header">
|
53
|
+
<h3>from</h3>
|
54
|
+
</div><div id="from-class_method" class="section method">
|
55
|
+
<div class="details_title">
|
56
|
+
<div class='section methodsignature'>
|
57
|
+
<tt class='def'>
|
58
|
+
<span class='visibility'>public</span>
|
59
|
+
<span class='return_types'></span>
|
60
|
+
<span class='name'>from</span><span class='args'>(s)</span>
|
61
|
+
<span class='block'></span>
|
62
|
+
</tt>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
</div><div class="section docstring">
|
66
|
+
<p>
|
67
|
+
Returns an instance of <tt><a href="Response/USERID.html" title="USERID">USERID</a></tt> or <tt><a href="Response/ERROR.html" title="ERROR">ERROR</a></tt>, depending on the type of reply.
|
68
|
+
</p>
|
69
|
+
|
70
|
+
</div><div class="section source">
|
71
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
72
|
+
<div class="source_code">
|
73
|
+
<table>
|
74
|
+
<tr>
|
75
|
+
<td>
|
76
|
+
<pre class="lines">
|
77
|
+
|
78
|
+
|
79
|
+
73
|
80
|
+
74
|
81
|
+
75
|
82
|
+
76
|
83
|
+
77</pre>
|
84
|
+
</td>
|
85
|
+
<td>
|
86
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 73</span>
|
87
|
+
|
88
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id from'>from</span><span class='lparen'>(</span><span class='id s'>s</span><span class='rparen'>)</span>
|
89
|
+
<span class='id ports'>ports</span><span class='comma'>,</span> <span class='id type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id addinfo'>addinfo</span> <span class='op'>=</span> <span class='id s'>s</span><span class='period'>.</span><span class='id split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>:</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
90
|
+
<span class='id klass'>klass</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id const_get'>const_get</span><span class='lparen'>(</span><span class='id type'>type</span><span class='period'>.</span><span class='id to_sym'>to_sym</span><span class='rparen'>)</span>
|
91
|
+
<span class='id klass'>klass</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='op'>*</span><span class='id addinfo'>addinfo</span><span class='rparen'>)</span>
|
92
|
+
<span class='kw'>end</span></pre>
|
93
|
+
</td>
|
94
|
+
</tr>
|
95
|
+
</table>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
<div id="yard_info">
|
107
|
+
Generated on Wednesday, October 14 2009 at 04:55:47 PM by
|
108
|
+
<abbr class="yard" title="Yay! A Ruby Documentation Tool"><a href="http://yard.soen.ca">YARD</a></abbr>
|
109
|
+
0.2.3.3 (ruby-1.9.1).
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</body>
|
113
|
+
</html>
|
@@ -0,0 +1,271 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../custom.css" type="text/css" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
9
|
+
|
10
|
+
<script src="../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script src="../../app.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<title>Class: Ident::Response::BasicResponse</title>
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div id="content">
|
16
|
+
<div class="section class Ident_Response_BasicResponse">
|
17
|
+
<h1 class="title">Class: Ident::Response::BasicResponse</h1>
|
18
|
+
<div class="section docstring">
|
19
|
+
<p>
|
20
|
+
This is the blankslate response which ensures that both kind of responses
|
21
|
+
respond to all required methods. You should never have to work with this
|
22
|
+
class directly.
|
23
|
+
</p>
|
24
|
+
|
25
|
+
</div><div class="section constants">
|
26
|
+
|
27
|
+
</div> <div class="section visibilitygroup public">
|
28
|
+
<h1>Public Visibility</h1>
|
29
|
+
<div class="section methodsummary instance public">
|
30
|
+
<h1>Public Instance Method Summary</h1>
|
31
|
+
<table class="summary">
|
32
|
+
|
33
|
+
<tr>
|
34
|
+
<th class="signature">
|
35
|
+
|
36
|
+
<span class='overload'>
|
37
|
+
<span class='name'><a href="#charset-instance_method" title="#charset">#charset</a></span><span class='args'></span>
|
38
|
+
<span class='block'></span>
|
39
|
+
</span>
|
40
|
+
|
41
|
+
|
42
|
+
</th>
|
43
|
+
<td class="docstring">
|
44
|
+
|
45
|
+
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
|
49
|
+
<tr>
|
50
|
+
<th class="signature">
|
51
|
+
|
52
|
+
<span class='overload'>
|
53
|
+
<span class='name'><a href="#error%3F-instance_method" title="#error?">#error?</a></span><span class='args'></span>
|
54
|
+
<span class='block'></span>
|
55
|
+
</span>
|
56
|
+
|
57
|
+
|
58
|
+
</th>
|
59
|
+
<td class="docstring">
|
60
|
+
<p>
|
61
|
+
Is the response the result of an error?.
|
62
|
+
</p>
|
63
|
+
|
64
|
+
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
|
68
|
+
<tr>
|
69
|
+
<th class="signature">
|
70
|
+
|
71
|
+
<span class='overload'>
|
72
|
+
<span class='name'><a href="#os-instance_method" title="#os">#os</a></span><span class='args'></span>
|
73
|
+
<span class='block'></span>
|
74
|
+
</span>
|
75
|
+
|
76
|
+
|
77
|
+
</th>
|
78
|
+
<td class="docstring">
|
79
|
+
|
80
|
+
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
|
84
|
+
<tr>
|
85
|
+
<th class="signature">
|
86
|
+
|
87
|
+
<span class='overload'>
|
88
|
+
<span class='name'><a href="#userid-instance_method" title="#userid">#userid</a></span><span class='args'></span>
|
89
|
+
<span class='block'></span>
|
90
|
+
</span>
|
91
|
+
|
92
|
+
|
93
|
+
</th>
|
94
|
+
<td class="docstring">
|
95
|
+
|
96
|
+
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
|
100
|
+
</table>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
<div class="section methoddetails instance public">
|
104
|
+
<h1>Public Instance Method Details</h1>
|
105
|
+
|
106
|
+
<div class="method">
|
107
|
+
<div class="method_header">
|
108
|
+
<h3>charset</h3>
|
109
|
+
</div><div id="charset-instance_method" class="section method">
|
110
|
+
<div class="details_title">
|
111
|
+
<div class='section methodsignature'>
|
112
|
+
<tt class='def'>
|
113
|
+
<span class='visibility'>public</span>
|
114
|
+
<span class='return_types'></span>
|
115
|
+
<span class='name'>charset</span><span class='args'></span>
|
116
|
+
<span class='block'></span>
|
117
|
+
</tt>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
</div><div class="section source">
|
121
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
122
|
+
<div class="source_code">
|
123
|
+
<table>
|
124
|
+
<tr>
|
125
|
+
<td>
|
126
|
+
<pre class="lines">
|
127
|
+
|
128
|
+
|
129
|
+
14</pre>
|
130
|
+
</td>
|
131
|
+
<td>
|
132
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 14</span>
|
133
|
+
|
134
|
+
<span class='kw'>def</span> <span class='id charset'>charset</span><span class='semicolon'>;</span> <span class='kw'>nil</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
</table>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div class="method">
|
144
|
+
<div class="method_header">
|
145
|
+
<h3>error?</h3>
|
146
|
+
</div><div id="error?-instance_method" class="section method">
|
147
|
+
<div class="details_title">
|
148
|
+
<div class='section methodsignature'>
|
149
|
+
<tt class='def'>
|
150
|
+
<span class='visibility'>public</span>
|
151
|
+
<span class='return_types'></span>
|
152
|
+
<span class='name'>error?</span><span class='args'></span>
|
153
|
+
<span class='block'></span>
|
154
|
+
</tt>
|
155
|
+
</div>
|
156
|
+
|
157
|
+
</div><div class="section docstring">
|
158
|
+
<p>
|
159
|
+
Is the response the result of an error?
|
160
|
+
</p>
|
161
|
+
|
162
|
+
</div><div class="section source">
|
163
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
164
|
+
<div class="source_code">
|
165
|
+
<table>
|
166
|
+
<tr>
|
167
|
+
<td>
|
168
|
+
<pre class="lines">
|
169
|
+
|
170
|
+
|
171
|
+
12</pre>
|
172
|
+
</td>
|
173
|
+
<td>
|
174
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 12</span>
|
175
|
+
|
176
|
+
<span class='kw'>def</span> <span class='id error?'>error?</span><span class='semicolon'>;</span> <span class='kw'>false</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
</table>
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
<div class="method">
|
186
|
+
<div class="method_header">
|
187
|
+
<h3>os</h3>
|
188
|
+
</div><div id="os-instance_method" class="section method">
|
189
|
+
<div class="details_title">
|
190
|
+
<div class='section methodsignature'>
|
191
|
+
<tt class='def'>
|
192
|
+
<span class='visibility'>public</span>
|
193
|
+
<span class='return_types'></span>
|
194
|
+
<span class='name'>os</span><span class='args'></span>
|
195
|
+
<span class='block'></span>
|
196
|
+
</tt>
|
197
|
+
</div>
|
198
|
+
|
199
|
+
</div><div class="section source">
|
200
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
201
|
+
<div class="source_code">
|
202
|
+
<table>
|
203
|
+
<tr>
|
204
|
+
<td>
|
205
|
+
<pre class="lines">
|
206
|
+
|
207
|
+
|
208
|
+
13</pre>
|
209
|
+
</td>
|
210
|
+
<td>
|
211
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 13</span>
|
212
|
+
|
213
|
+
<span class='kw'>def</span> <span class='id os'>os</span><span class='semicolon'>;</span> <span class='kw'>nil</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
214
|
+
</td>
|
215
|
+
</tr>
|
216
|
+
</table>
|
217
|
+
</div>
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div class="method">
|
223
|
+
<div class="method_header">
|
224
|
+
<h3>userid</h3>
|
225
|
+
</div><div id="userid-instance_method" class="section method">
|
226
|
+
<div class="details_title">
|
227
|
+
<div class='section methodsignature'>
|
228
|
+
<tt class='def'>
|
229
|
+
<span class='visibility'>public</span>
|
230
|
+
<span class='return_types'></span>
|
231
|
+
<span class='name'>userid</span><span class='args'></span>
|
232
|
+
<span class='block'></span>
|
233
|
+
</tt>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
</div><div class="section source">
|
237
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
238
|
+
<div class="source_code">
|
239
|
+
<table>
|
240
|
+
<tr>
|
241
|
+
<td>
|
242
|
+
<pre class="lines">
|
243
|
+
|
244
|
+
|
245
|
+
15</pre>
|
246
|
+
</td>
|
247
|
+
<td>
|
248
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 15</span>
|
249
|
+
|
250
|
+
<span class='kw'>def</span> <span class='id userid'>userid</span><span class='semicolon'>;</span> <span class='kw'>nil</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
251
|
+
</td>
|
252
|
+
</tr>
|
253
|
+
</table>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
</div>
|
258
|
+
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
<div id="yard_info">
|
265
|
+
Generated on Wednesday, October 14 2009 at 04:55:47 PM by
|
266
|
+
<abbr class="yard" title="Yay! A Ruby Documentation Tool"><a href="http://yard.soen.ca">YARD</a></abbr>
|
267
|
+
0.2.3.3 (ruby-1.9.1).
|
268
|
+
</div>
|
269
|
+
|
270
|
+
</body>
|
271
|
+
</html>
|
@@ -0,0 +1,445 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../custom.css" type="text/css" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
9
|
+
|
10
|
+
<script src="../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script src="../../app.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<title>Class: Ident::Response::ERROR</title>
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div id="content">
|
16
|
+
<div class="section class Ident_Response_ERROR">
|
17
|
+
<h1 class="title">Class: Ident::Response::ERROR</h1>
|
18
|
+
<div class="section inheritance">
|
19
|
+
<ul>
|
20
|
+
<li><a href="BasicResponse.html" title="Ident::Response::BasicResponse">Ident::Response::BasicResponse</a></li><ul><li>Ident::Response::ERROR</li>
|
21
|
+
</ul></ul>
|
22
|
+
</div><div class="section docstring">
|
23
|
+
<p>
|
24
|
+
This class gives access to the error returned by an identd. It defines
|
25
|
+
method for every possible kind of error: invalid_port? no_user?
|
26
|
+
hidden_user? unknown_error?
|
27
|
+
</p>
|
28
|
+
|
29
|
+
</div><div class="section attributes">
|
30
|
+
<h1>Attributes</h1>
|
31
|
+
|
32
|
+
|
33
|
+
<div class="instance">
|
34
|
+
<h2>Instance Attributes</h2>
|
35
|
+
<table>
|
36
|
+
|
37
|
+
|
38
|
+
<tr class="">
|
39
|
+
<th class='signature'>
|
40
|
+
<span class='name'>type</span>
|
41
|
+
</td>
|
42
|
+
<td class="readwrite">
|
43
|
+
[<span id='type-instance_method'>R</span>]
|
44
|
+
</td>
|
45
|
+
<td class="visibility">
|
46
|
+
public
|
47
|
+
</td>
|
48
|
+
<td class="docstring">
|
49
|
+
<p>
|
50
|
+
Returns the value of attribute <tt>type</tt>.
|
51
|
+
</p>
|
52
|
+
|
53
|
+
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
|
57
|
+
|
58
|
+
</table>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<div class="section constants">
|
63
|
+
|
64
|
+
</div><div class="section constructor">
|
65
|
+
<h1>Constructor Summary</h1>
|
66
|
+
<div id="initialize-instance_method" class="section method">
|
67
|
+
<div class="details_title">
|
68
|
+
<div class='section methodsignature'>
|
69
|
+
<tt class='def'>
|
70
|
+
<span class='visibility'>public</span>
|
71
|
+
<span class='return_types'></span>
|
72
|
+
<span class='name'>initialize</span><span class='args'>(type)</span>
|
73
|
+
<span class='block'></span>
|
74
|
+
</tt>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
</div><div class="section source">
|
78
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
79
|
+
<div class="source_code">
|
80
|
+
<table>
|
81
|
+
<tr>
|
82
|
+
<td>
|
83
|
+
<pre class="lines">
|
84
|
+
|
85
|
+
|
86
|
+
55
|
87
|
+
56
|
88
|
+
57</pre>
|
89
|
+
</td>
|
90
|
+
<td>
|
91
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 55</span>
|
92
|
+
|
93
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id type'>type</span><span class='rparen'>)</span>
|
94
|
+
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id type'>type</span>
|
95
|
+
<span class='kw'>end</span></pre>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
</table>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</div>
|
102
|
+
</div> <div class="section visibilitygroup public">
|
103
|
+
<h1>Public Visibility</h1>
|
104
|
+
<div class="section methodsummary instance public">
|
105
|
+
<h1>Public Instance Method Summary</h1>
|
106
|
+
<table class="summary">
|
107
|
+
|
108
|
+
<tr>
|
109
|
+
<th class="signature">
|
110
|
+
|
111
|
+
<span class='overload'>
|
112
|
+
<span class='name'><a href="#error%3F-instance_method" title="#error?">#error?</a></span><span class='args'></span>
|
113
|
+
<span class='block'></span>
|
114
|
+
</span>
|
115
|
+
|
116
|
+
|
117
|
+
</th>
|
118
|
+
<td class="docstring">
|
119
|
+
|
120
|
+
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
|
124
|
+
<tr>
|
125
|
+
<th class="signature">
|
126
|
+
|
127
|
+
<span class='overload'>
|
128
|
+
<span class='name'><a href="#hidden_user%3F-instance_method" title="#hidden_user?">#hidden_user?</a></span><span class='args'></span>
|
129
|
+
<span class='block'></span>
|
130
|
+
</span>
|
131
|
+
|
132
|
+
|
133
|
+
</th>
|
134
|
+
<td class="docstring">
|
135
|
+
<p>
|
136
|
+
Does the identd hide information from us?.
|
137
|
+
</p>
|
138
|
+
|
139
|
+
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
|
143
|
+
<tr>
|
144
|
+
<th class="signature">
|
145
|
+
|
146
|
+
<span class='overload'>
|
147
|
+
<span class='name'><a href="#invalid_port%3F-instance_method" title="#invalid_port?">#invalid_port?</a></span><span class='args'></span>
|
148
|
+
<span class='block'></span>
|
149
|
+
</span>
|
150
|
+
|
151
|
+
|
152
|
+
</th>
|
153
|
+
<td class="docstring">
|
154
|
+
<p>
|
155
|
+
Did we specify an invalid port?.
|
156
|
+
</p>
|
157
|
+
|
158
|
+
|
159
|
+
</td>
|
160
|
+
</tr>
|
161
|
+
|
162
|
+
<tr>
|
163
|
+
<th class="signature">
|
164
|
+
|
165
|
+
<span class='overload'>
|
166
|
+
<span class='name'><a href="#no_user%3F-instance_method" title="#no_user?">#no_user?</a></span><span class='args'></span>
|
167
|
+
<span class='block'></span>
|
168
|
+
</span>
|
169
|
+
|
170
|
+
|
171
|
+
</th>
|
172
|
+
<td class="docstring">
|
173
|
+
<p>
|
174
|
+
Is no user known for the given connection specification?.
|
175
|
+
</p>
|
176
|
+
|
177
|
+
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
|
181
|
+
<tr>
|
182
|
+
<th class="signature">
|
183
|
+
|
184
|
+
<span class='overload'>
|
185
|
+
<span class='name'><a href="#unknown_error%3F-instance_method" title="#unknown_error?">#unknown_error?</a></span><span class='args'></span>
|
186
|
+
<span class='block'></span>
|
187
|
+
</span>
|
188
|
+
|
189
|
+
|
190
|
+
</th>
|
191
|
+
<td class="docstring">
|
192
|
+
<p>
|
193
|
+
Did an unknown error occur?.
|
194
|
+
</p>
|
195
|
+
|
196
|
+
|
197
|
+
</td>
|
198
|
+
</tr>
|
199
|
+
|
200
|
+
</table>
|
201
|
+
<div class="inherited">
|
202
|
+
|
203
|
+
<div>
|
204
|
+
<h1>Public Instance Methods Inherited from <a href="BasicResponse.html" title="Ident::Response::BasicResponse">Ident::Response::BasicResponse</a></h1>
|
205
|
+
<p><span class='name'><a href="BasicResponse.html#charset-instance_method" title="charset">charset</a></span>, <span class='name'><a href="BasicResponse.html#os-instance_method" title="os">os</a></span>, <span class='name'><a href="BasicResponse.html#userid-instance_method" title="userid">userid</a></span></p>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
</div>
|
209
|
+
<div class="clear"></div>
|
210
|
+
</div>
|
211
|
+
<div class="section methoddetails instance public">
|
212
|
+
<h1>Public Instance Method Details</h1>
|
213
|
+
|
214
|
+
<div class="method">
|
215
|
+
<div class="method_header">
|
216
|
+
<h3>error?</h3>
|
217
|
+
</div><div id="error?-instance_method" class="section method">
|
218
|
+
<div class="details_title">
|
219
|
+
<div class='section methodsignature'>
|
220
|
+
<tt class='def'>
|
221
|
+
<span class='visibility'>public</span>
|
222
|
+
<span class='return_types'></span>
|
223
|
+
<span class='name'>error?</span><span class='args'></span>
|
224
|
+
<span class='block'></span>
|
225
|
+
</tt>
|
226
|
+
</div>
|
227
|
+
|
228
|
+
</div><div class="section tags">
|
229
|
+
<h2>Meta Tags</h2>
|
230
|
+
<div class="see">
|
231
|
+
<h3>See Also:</h3>
|
232
|
+
<dl>
|
233
|
+
<dt></dt>
|
234
|
+
<dd>
|
235
|
+
<span class='desc'>
|
236
|
+
<tt><a href="BasicResponse.html#error%3F-instance_method" title="BasicResponse#error?">BasicResponse#error?</a></tt>
|
237
|
+
</span>
|
238
|
+
</dd>
|
239
|
+
</dl>
|
240
|
+
</div>
|
241
|
+
|
242
|
+
</div><div class="section source">
|
243
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
244
|
+
<div class="source_code">
|
245
|
+
<table>
|
246
|
+
<tr>
|
247
|
+
<td>
|
248
|
+
<pre class="lines">
|
249
|
+
|
250
|
+
|
251
|
+
60</pre>
|
252
|
+
</td>
|
253
|
+
<td>
|
254
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 60</span>
|
255
|
+
|
256
|
+
<span class='kw'>def</span> <span class='id error?'>error?</span><span class='semicolon'>;</span> <span class='kw'>true</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
</table>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
|
265
|
+
<div class="method">
|
266
|
+
<div class="method_header">
|
267
|
+
<h3>hidden_user?</h3>
|
268
|
+
</div><div id="hidden_user?-instance_method" class="section method">
|
269
|
+
<div class="details_title">
|
270
|
+
<div class='section methodsignature'>
|
271
|
+
<tt class='def'>
|
272
|
+
<span class='visibility'>public</span>
|
273
|
+
<span class='return_types'></span>
|
274
|
+
<span class='name'>hidden_user?</span><span class='args'></span>
|
275
|
+
<span class='block'></span>
|
276
|
+
</tt>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
</div><div class="section docstring">
|
280
|
+
<p>
|
281
|
+
Does the identd hide information from us?
|
282
|
+
</p>
|
283
|
+
|
284
|
+
</div><div class="section source">
|
285
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
286
|
+
<div class="source_code">
|
287
|
+
<table>
|
288
|
+
<tr>
|
289
|
+
<td>
|
290
|
+
<pre class="lines">
|
291
|
+
|
292
|
+
|
293
|
+
66</pre>
|
294
|
+
</td>
|
295
|
+
<td>
|
296
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 66</span>
|
297
|
+
|
298
|
+
<span class='kw'>def</span> <span class='id hidden_user?'>hidden_user?</span><span class='semicolon'>;</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>HIDDEN-USER</span><span class='tstring_end'>"</span></span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
299
|
+
</td>
|
300
|
+
</tr>
|
301
|
+
</table>
|
302
|
+
</div>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
|
307
|
+
<div class="method">
|
308
|
+
<div class="method_header">
|
309
|
+
<h3>invalid_port?</h3>
|
310
|
+
</div><div id="invalid_port?-instance_method" class="section method">
|
311
|
+
<div class="details_title">
|
312
|
+
<div class='section methodsignature'>
|
313
|
+
<tt class='def'>
|
314
|
+
<span class='visibility'>public</span>
|
315
|
+
<span class='return_types'></span>
|
316
|
+
<span class='name'>invalid_port?</span><span class='args'></span>
|
317
|
+
<span class='block'></span>
|
318
|
+
</tt>
|
319
|
+
</div>
|
320
|
+
|
321
|
+
</div><div class="section docstring">
|
322
|
+
<p>
|
323
|
+
Did we specify an invalid port?
|
324
|
+
</p>
|
325
|
+
|
326
|
+
</div><div class="section source">
|
327
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
328
|
+
<div class="source_code">
|
329
|
+
<table>
|
330
|
+
<tr>
|
331
|
+
<td>
|
332
|
+
<pre class="lines">
|
333
|
+
|
334
|
+
|
335
|
+
62</pre>
|
336
|
+
</td>
|
337
|
+
<td>
|
338
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 62</span>
|
339
|
+
|
340
|
+
<span class='kw'>def</span> <span class='id invalid_port?'>invalid_port?</span><span class='semicolon'>;</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>INVALID-PORT</span><span class='tstring_end'>"</span></span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
341
|
+
</td>
|
342
|
+
</tr>
|
343
|
+
</table>
|
344
|
+
</div>
|
345
|
+
</div>
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
|
349
|
+
<div class="method">
|
350
|
+
<div class="method_header">
|
351
|
+
<h3>no_user?</h3>
|
352
|
+
</div><div id="no_user?-instance_method" class="section method">
|
353
|
+
<div class="details_title">
|
354
|
+
<div class='section methodsignature'>
|
355
|
+
<tt class='def'>
|
356
|
+
<span class='visibility'>public</span>
|
357
|
+
<span class='return_types'></span>
|
358
|
+
<span class='name'>no_user?</span><span class='args'></span>
|
359
|
+
<span class='block'></span>
|
360
|
+
</tt>
|
361
|
+
</div>
|
362
|
+
|
363
|
+
</div><div class="section docstring">
|
364
|
+
<p>
|
365
|
+
Is no user known for the given connection specification?
|
366
|
+
</p>
|
367
|
+
|
368
|
+
</div><div class="section source">
|
369
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
370
|
+
<div class="source_code">
|
371
|
+
<table>
|
372
|
+
<tr>
|
373
|
+
<td>
|
374
|
+
<pre class="lines">
|
375
|
+
|
376
|
+
|
377
|
+
64</pre>
|
378
|
+
</td>
|
379
|
+
<td>
|
380
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 64</span>
|
381
|
+
|
382
|
+
<span class='kw'>def</span> <span class='id no_user?'>no_user?</span><span class='semicolon'>;</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>NO-USER</span><span class='tstring_end'>"</span></span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
383
|
+
</td>
|
384
|
+
</tr>
|
385
|
+
</table>
|
386
|
+
</div>
|
387
|
+
</div>
|
388
|
+
</div>
|
389
|
+
</div>
|
390
|
+
|
391
|
+
<div class="method">
|
392
|
+
<div class="method_header">
|
393
|
+
<h3>unknown_error?</h3>
|
394
|
+
</div><div id="unknown_error?-instance_method" class="section method">
|
395
|
+
<div class="details_title">
|
396
|
+
<div class='section methodsignature'>
|
397
|
+
<tt class='def'>
|
398
|
+
<span class='visibility'>public</span>
|
399
|
+
<span class='return_types'></span>
|
400
|
+
<span class='name'>unknown_error?</span><span class='args'></span>
|
401
|
+
<span class='block'></span>
|
402
|
+
</tt>
|
403
|
+
</div>
|
404
|
+
|
405
|
+
</div><div class="section docstring">
|
406
|
+
<p>
|
407
|
+
Did an unknown error occur?
|
408
|
+
</p>
|
409
|
+
|
410
|
+
</div><div class="section source">
|
411
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
412
|
+
<div class="source_code">
|
413
|
+
<table>
|
414
|
+
<tr>
|
415
|
+
<td>
|
416
|
+
<pre class="lines">
|
417
|
+
|
418
|
+
|
419
|
+
68</pre>
|
420
|
+
</td>
|
421
|
+
<td>
|
422
|
+
<pre class="code"><span class="info file"># File 'lib/ident.rb', line 68</span>
|
423
|
+
|
424
|
+
<span class='kw'>def</span> <span class='id unknown_error?'>unknown_error?</span><span class='semicolon'>;</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>UNKNOWN-ERROR</span><span class='tstring_end'>"</span></span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
</table>
|
428
|
+
</div>
|
429
|
+
</div>
|
430
|
+
</div>
|
431
|
+
</div>
|
432
|
+
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
|
436
|
+
</div>
|
437
|
+
</div>
|
438
|
+
<div id="yard_info">
|
439
|
+
Generated on Wednesday, October 14 2009 at 04:55:47 PM by
|
440
|
+
<abbr class="yard" title="Yay! A Ruby Documentation Tool"><a href="http://yard.soen.ca">YARD</a></abbr>
|
441
|
+
0.2.3.3 (ruby-1.9.1).
|
442
|
+
</div>
|
443
|
+
|
444
|
+
</body>
|
445
|
+
</html>
|