fakeldap 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/README.md +2 -0
  2. data/lib/fakeldap.rb +20 -0
  3. data/lib/fakeldap/version.rb +1 -1
  4. data/vendor/ruby-ldapserver/doc/LDAP.html +104 -0
  5. data/vendor/ruby-ldapserver/doc/LDAP/Abandon.html +112 -0
  6. data/vendor/ruby-ldapserver/doc/LDAP/Error.html +115 -0
  7. data/vendor/ruby-ldapserver/doc/LDAP/ResultError.html +241 -0
  8. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AdminLimitExceeded.html +158 -0
  9. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AffectsMultipleDSAs.html +158 -0
  10. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasDereferencingProblem.html +158 -0
  11. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasProblem.html +158 -0
  12. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AttributeOrValueExists.html +158 -0
  13. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AuthMethodNotSupported.html +158 -0
  14. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Busy.html +158 -0
  15. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareFalse.html +158 -0
  16. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareTrue.html +158 -0
  17. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConfidentialityRequired.html +158 -0
  18. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConstraintViolation.html +158 -0
  19. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/EntryAlreadyExists.html +158 -0
  20. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateAuthentication.html +158 -0
  21. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateMatching.html +158 -0
  22. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InsufficientAccessRights.html +158 -0
  23. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidAttributeSyntax.html +158 -0
  24. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidCredentials.html +158 -0
  25. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidDNSyntax.html +158 -0
  26. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/IsLeaf.html +158 -0
  27. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/LoopDetect.html +158 -0
  28. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NamingViolation.html +158 -0
  29. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchAttribute.html +158 -0
  30. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchObject.html +158 -0
  31. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnNonLeaf.html +158 -0
  32. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnRDN.html +158 -0
  33. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassModsProhibited.html +158 -0
  34. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassViolation.html +158 -0
  35. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/OperationsError.html +158 -0
  36. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Other.html +158 -0
  37. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ProtocolError.html +158 -0
  38. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Referral.html +158 -0
  39. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SaslBindInProgress.html +158 -0
  40. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SizeLimitExceeded.html +158 -0
  41. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/StrongAuthRequired.html +158 -0
  42. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Success.html +158 -0
  43. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/TimeLimitExceeded.html +158 -0
  44. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Unavailable.html +158 -0
  45. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnavailableCriticalExtension.html +158 -0
  46. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UndefinedAttributeType.html +158 -0
  47. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnwillingToPerform.html +158 -0
  48. data/vendor/ruby-ldapserver/doc/LDAP/Server.html +1056 -0
  49. data/vendor/ruby-ldapserver/doc/LDAP/Server/Connection.html +1353 -0
  50. data/vendor/ruby-ldapserver/doc/LDAP/Server/Filter.html +634 -0
  51. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule.html +1132 -0
  52. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/DefaultMatchingClass.html +219 -0
  53. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Equality.html +170 -0
  54. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Downcase.html +143 -0
  55. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Trim.html +155 -0
  56. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Integer.html +143 -0
  57. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Ordering.html +212 -0
  58. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringDowncase.html +143 -0
  59. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringTrim.html +154 -0
  60. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Substrings.html +177 -0
  61. data/vendor/ruby-ldapserver/doc/LDAP/Server/Operation.html +2994 -0
  62. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema.html +2024 -0
  63. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/AttributeType.html +1462 -0
  64. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/ObjectClass.html +1097 -0
  65. data/vendor/ruby-ldapserver/doc/LDAP/Server/Syntax.html +1254 -0
  66. data/vendor/ruby-ldapserver/doc/LDAP/Server/VERSION.html +134 -0
  67. data/vendor/ruby-ldapserver/doc/_index.html +662 -0
  68. data/vendor/ruby-ldapserver/doc/class_list.html +36 -0
  69. data/vendor/ruby-ldapserver/doc/css/common.css +1 -0
  70. data/vendor/ruby-ldapserver/doc/css/full_list.css +50 -0
  71. data/vendor/ruby-ldapserver/doc/css/style.css +303 -0
  72. data/vendor/ruby-ldapserver/doc/file.README.html +399 -0
  73. data/vendor/ruby-ldapserver/doc/file_list.html +38 -0
  74. data/vendor/ruby-ldapserver/doc/frames.html +13 -0
  75. data/vendor/ruby-ldapserver/doc/index.html +399 -0
  76. data/vendor/ruby-ldapserver/doc/js/app.js +204 -0
  77. data/vendor/ruby-ldapserver/doc/js/full_list.js +112 -0
  78. data/vendor/ruby-ldapserver/doc/js/jquery.js +154 -0
  79. data/vendor/ruby-ldapserver/doc/method_list.html +1571 -0
  80. data/vendor/ruby-ldapserver/doc/top-level-namespace.html +88 -0
  81. metadata +99 -10
@@ -0,0 +1,1097 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: LDAP::Server::Schema::ObjectClass</title>
7
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '../../..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../../../_index.html">Index (O)</a> &raquo;
27
+ <span class='title'><span class='object_link'><a href="../../../LDAP.html" title="LDAP (module)">LDAP</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Server.html" title="LDAP::Server (class)">Server</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Schema.html" title="LDAP::Server::Schema (class)">Schema</a></span></span>
28
+ &raquo;
29
+ <span class="title">ObjectClass</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: LDAP::Server::Schema::ObjectClass
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+ <dt class="r1">Inherits:</dt>
55
+ <dd class="r1">
56
+ <span class="inheritName">Object</span>
57
+
58
+ <ul class="fullTree">
59
+ <li>Object</li>
60
+
61
+ <li class="next">LDAP::Server::Schema::ObjectClass</li>
62
+
63
+ </ul>
64
+ <a href="#" class="inheritanceTree">show all</a>
65
+
66
+ </dd>
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+ <dt class="r2 last">Defined in:</dt>
77
+ <dd class="r2 last">lib/ldap/server/schema.rb</dd>
78
+
79
+ </dl>
80
+ <div class="clear"></div>
81
+
82
+ <h2>Overview</h2><div class="docstring">
83
+ <div class="discussion">
84
+ <p>
85
+ Class holding an instance of an ObjectClassDescription (RFC2252 4.4)
86
+ </p>
87
+
88
+
89
+ </div>
90
+ </div>
91
+ <div class="tags">
92
+
93
+ </div>
94
+ <h2>Constant Summary</h2>
95
+
96
+ <dl class="constants">
97
+
98
+ <dt id="SCAN_WOID-constant" class="">SCAN_WOID =
99
+
100
+ </dt>
101
+ <dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='embexpr_beg'>#{</span><span class='const'>LDAP</span><span class='op'>::</span><span class='const'>Server</span><span class='op'>::</span><span class='const'>Syntax</span><span class='op'>::</span><span class='const'>WOID</span><span class='rbrace'>}</span><span class='regexp_end'>/x</span></span></pre></dd>
102
+
103
+ </dl>
104
+
105
+
106
+
107
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
108
+ <ul class="summary">
109
+
110
+ <li class="public ">
111
+ <span class="summary_signature">
112
+
113
+ <a href="#desc-instance_method" title="#desc (instance method)">- (Object) <strong>desc</strong> </a>
114
+
115
+
116
+
117
+ </span>
118
+
119
+
120
+ <span class="note title readonly">readonly</span>
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <span class="summary_desc"><div class='inline'><p>
130
+ Returns the value of attribute desc.
131
+ </p>
132
+ </div></span>
133
+
134
+ </li>
135
+
136
+
137
+ <li class="public ">
138
+ <span class="summary_signature">
139
+
140
+ <a href="#may-instance_method" title="#may (instance method)">- (Object) <strong>may</strong> </a>
141
+
142
+
143
+
144
+ </span>
145
+
146
+
147
+ <span class="note title readonly">readonly</span>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'><p>
157
+ Returns the value of attribute may.
158
+ </p>
159
+ </div></span>
160
+
161
+ </li>
162
+
163
+
164
+ <li class="public ">
165
+ <span class="summary_signature">
166
+
167
+ <a href="#must-instance_method" title="#must (instance method)">- (Object) <strong>must</strong> </a>
168
+
169
+
170
+
171
+ </span>
172
+
173
+
174
+ <span class="note title readonly">readonly</span>
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <span class="summary_desc"><div class='inline'><p>
184
+ Returns the value of attribute must.
185
+ </p>
186
+ </div></span>
187
+
188
+ </li>
189
+
190
+
191
+ <li class="public ">
192
+ <span class="summary_signature">
193
+
194
+ <a href="#names-instance_method" title="#names (instance method)">- (Object) <strong>names</strong> </a>
195
+
196
+
197
+
198
+ </span>
199
+
200
+
201
+ <span class="note title readonly">readonly</span>
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <span class="summary_desc"><div class='inline'><p>
211
+ Returns the value of attribute names.
212
+ </p>
213
+ </div></span>
214
+
215
+ </li>
216
+
217
+
218
+ <li class="public ">
219
+ <span class="summary_signature">
220
+
221
+ <a href="#obsolete-instance_method" title="#obsolete (instance method)">- (Object) <strong>obsolete</strong> </a>
222
+
223
+
224
+
225
+ </span>
226
+
227
+
228
+ <span class="note title readonly">readonly</span>
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <span class="summary_desc"><div class='inline'><p>
238
+ Returns the value of attribute obsolete.
239
+ </p>
240
+ </div></span>
241
+
242
+ </li>
243
+
244
+
245
+ <li class="public ">
246
+ <span class="summary_signature">
247
+
248
+ <a href="#oid-instance_method" title="#oid (instance method)">- (Object) <strong>oid</strong> </a>
249
+
250
+
251
+
252
+ </span>
253
+
254
+
255
+ <span class="note title readonly">readonly</span>
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ <span class="summary_desc"><div class='inline'><p>
265
+ Returns the value of attribute oid.
266
+ </p>
267
+ </div></span>
268
+
269
+ </li>
270
+
271
+
272
+ <li class="public ">
273
+ <span class="summary_signature">
274
+
275
+ <a href="#struct-instance_method" title="#struct (instance method)">- (Object) <strong>struct</strong> </a>
276
+
277
+
278
+
279
+ </span>
280
+
281
+
282
+ <span class="note title readonly">readonly</span>
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+ <span class="summary_desc"><div class='inline'><p>
292
+ Returns the value of attribute struct.
293
+ </p>
294
+ </div></span>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="public ">
300
+ <span class="summary_signature">
301
+
302
+ <a href="#sup-instance_method" title="#sup (instance method)">- (Object) <strong>sup</strong> </a>
303
+
304
+
305
+
306
+ </span>
307
+
308
+
309
+ <span class="note title readonly">readonly</span>
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+ <span class="summary_desc"><div class='inline'><p>
319
+ Returns the value of attribute sup.
320
+ </p>
321
+ </div></span>
322
+
323
+ </li>
324
+
325
+
326
+ </ul>
327
+
328
+
329
+
330
+ <h2>
331
+ Instance Method Summary
332
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
333
+ </h2>
334
+
335
+ <ul class="summary">
336
+
337
+ <li class="public ">
338
+ <span class="summary_signature">
339
+
340
+ <a href="#changed-instance_method" title="#changed (instance method)">- (Object) <strong>changed</strong> </a>
341
+
342
+
343
+
344
+ </span>
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+ <span class="summary_desc"><div class='inline'></div></span>
354
+
355
+ </li>
356
+
357
+
358
+ <li class="public ">
359
+ <span class="summary_signature">
360
+
361
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (ObjectClass) <strong>initialize</strong>(str) </a>
362
+
363
+
364
+
365
+ </span>
366
+
367
+ <span class="note title constructor">constructor</span>
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+ <span class="summary_desc"><div class='inline'><p>
377
+ A new instance of ObjectClass.
378
+ </p>
379
+ </div></span>
380
+
381
+ </li>
382
+
383
+
384
+ <li class="public ">
385
+ <span class="summary_signature">
386
+
387
+ <a href="#joinoids-instance_method" title="#joinoids (instance method)">- (Object) <strong>joinoids</strong>(pfx, arr, sfx) </a>
388
+
389
+
390
+
391
+ </span>
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+ <span class="summary_desc"><div class='inline'></div></span>
401
+
402
+ </li>
403
+
404
+
405
+ <li class="public ">
406
+ <span class="summary_signature">
407
+
408
+ <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
409
+
410
+
411
+
412
+ </span>
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+ <span class="summary_desc"><div class='inline'></div></span>
422
+
423
+ </li>
424
+
425
+
426
+ <li class="public ">
427
+ <span class="summary_signature">
428
+
429
+ <a href="#to_def-instance_method" title="#to_def (instance method)">- (Object) <strong>to_def</strong> </a>
430
+
431
+
432
+
433
+ </span>
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+ <span class="summary_desc"><div class='inline'></div></span>
443
+
444
+ </li>
445
+
446
+
447
+ <li class="public ">
448
+ <span class="summary_signature">
449
+
450
+ <a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
451
+
452
+
453
+
454
+ </span>
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+ <span class="summary_desc"><div class='inline'></div></span>
464
+
465
+ </li>
466
+
467
+
468
+ </ul>
469
+
470
+
471
+ <div id="constructor_details" class="method_details_list">
472
+ <h2>Constructor Details</h2>
473
+
474
+ <div class="method_details first">
475
+ <p class="signature first" id="initialize-instance_method">
476
+
477
+ - (<tt><span class='object_link'><a href="" title="LDAP::Server::Schema::ObjectClass (class)">ObjectClass</a></span></tt>) <strong>initialize</strong>(str)
478
+
479
+
480
+
481
+ </p><div class="docstring">
482
+ <div class="discussion">
483
+ <p>
484
+ A new instance of ObjectClass
485
+ </p>
486
+
487
+
488
+ </div>
489
+ </div>
490
+ <div class="tags">
491
+ <h3>Raises:</h3>
492
+ <ul class="raise">
493
+
494
+ <li>
495
+
496
+ <span class='type'>(<tt><span class='object_link'><a href="../../ResultError/InvalidAttributeSyntax.html" title="LDAP::ResultError::InvalidAttributeSyntax (class)">LDAP::ResultError::InvalidAttributeSyntax</a></span></tt>)</span>
497
+
498
+
499
+
500
+
501
+ </li>
502
+
503
+ </ul>
504
+
505
+ </div><table class="source_code">
506
+ <tr>
507
+ <td>
508
+ <pre class="lines">
509
+
510
+
511
+ 528
512
+ 529
513
+ 530
514
+ 531
515
+ 532
516
+ 533
517
+ 534
518
+ 535
519
+ 536
520
+ 537
521
+ 538
522
+ 539
523
+ 540
524
+ 541</pre>
525
+ </td>
526
+ <td>
527
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 528</span>
528
+
529
+ <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id str'>str</span><span class='rparen'>)</span>
530
+ <span class='id m'>m</span> <span class='op'>=</span> <span class='const'>LDAP</span><span class='op'>::</span><span class='const'>Server</span><span class='op'>::</span><span class='const'>Syntax</span><span class='op'>::</span><span class='const'>ObjectClassDescription</span><span class='period'>.</span><span class='id match'>match</span><span class='lparen'>(</span><span class='id str'>str</span><span class='rparen'>)</span>
531
+ <span class='id raise'>raise</span> <span class='const'>LDAP</span><span class='op'>::</span><span class='const'>ResultError</span><span class='op'>::</span><span class='const'>InvalidAttributeSyntax</span><span class='comma'>,</span>
532
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad ObjectClassDescription </span><span class='embexpr_beg'>#{</span><span class='id str'>str</span><span class='period'>.</span><span class='id inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>unless</span> <span class='id m'>m</span>
533
+ <span class='ivar'>@oid</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
534
+ <span class='ivar'>@names</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>2</span><span class='rbracket'>]</span><span class='op'>||</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>'(.*?)'</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id flatten'>flatten</span>
535
+ <span class='ivar'>@desc</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>3</span><span class='rbracket'>]</span>
536
+ <span class='ivar'>@obsolete</span> <span class='op'>=</span> <span class='op'>!</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>4</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
537
+ <span class='ivar'>@sup</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>5</span><span class='rbracket'>]</span><span class='op'>||</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id scan'>scan</span><span class='lparen'>(</span><span class='const'>SCAN_WOID</span><span class='rparen'>)</span><span class='period'>.</span><span class='id flatten'>flatten</span>
538
+ <span class='ivar'>@struct</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>6</span><span class='rbracket'>]</span> <span class='op'>?</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>6</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id downcase'>downcase</span><span class='period'>.</span><span class='id intern'>intern</span> <span class='op'>:</span> <span class='symbol'>:structural</span>
539
+ <span class='ivar'>@must</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>7</span><span class='rbracket'>]</span><span class='op'>||</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id scan'>scan</span><span class='lparen'>(</span><span class='const'>SCAN_WOID</span><span class='rparen'>)</span><span class='period'>.</span><span class='id flatten'>flatten</span>
540
+ <span class='ivar'>@may</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>8</span><span class='rbracket'>]</span><span class='op'>||</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id scan'>scan</span><span class='lparen'>(</span><span class='const'>SCAN_WOID</span><span class='rparen'>)</span><span class='period'>.</span><span class='id flatten'>flatten</span>
541
+ <span class='ivar'>@def</span> <span class='op'>=</span> <span class='kw'>nil</span>
542
+ <span class='kw'>end</span></pre>
543
+ </td>
544
+ </tr>
545
+ </table>
546
+ </div>
547
+
548
+ </div>
549
+
550
+ <div id="instance_attr_details" class="attr_details">
551
+ <h2>Instance Attribute Details</h2>
552
+
553
+
554
+ <span id=""></span>
555
+ <span id="desc-instance_method"></span>
556
+ <div class="method_details first">
557
+ <p class="signature first" id="desc-instance_method">
558
+
559
+ - (<tt>Object</tt>) <strong>desc</strong> <span class="extras">(readonly)</span>
560
+
561
+
562
+
563
+ </p><div class="docstring">
564
+ <div class="discussion">
565
+ <p>
566
+ Returns the value of attribute desc
567
+ </p>
568
+
569
+
570
+ </div>
571
+ </div>
572
+ <div class="tags">
573
+
574
+ </div><table class="source_code">
575
+ <tr>
576
+ <td>
577
+ <pre class="lines">
578
+
579
+
580
+ 524
581
+ 525
582
+ 526</pre>
583
+ </td>
584
+ <td>
585
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
586
+
587
+ <span class='kw'>def</span> <span class='id desc'>desc</span>
588
+ <span class='ivar'>@desc</span>
589
+ <span class='kw'>end</span></pre>
590
+ </td>
591
+ </tr>
592
+ </table>
593
+ </div>
594
+
595
+
596
+ <span id=""></span>
597
+ <span id="may-instance_method"></span>
598
+ <div class="method_details ">
599
+ <p class="signature " id="may-instance_method">
600
+
601
+ - (<tt>Object</tt>) <strong>may</strong> <span class="extras">(readonly)</span>
602
+
603
+
604
+
605
+ </p><div class="docstring">
606
+ <div class="discussion">
607
+ <p>
608
+ Returns the value of attribute may
609
+ </p>
610
+
611
+
612
+ </div>
613
+ </div>
614
+ <div class="tags">
615
+
616
+ </div><table class="source_code">
617
+ <tr>
618
+ <td>
619
+ <pre class="lines">
620
+
621
+
622
+ 524
623
+ 525
624
+ 526</pre>
625
+ </td>
626
+ <td>
627
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
628
+
629
+ <span class='kw'>def</span> <span class='id may'>may</span>
630
+ <span class='ivar'>@may</span>
631
+ <span class='kw'>end</span></pre>
632
+ </td>
633
+ </tr>
634
+ </table>
635
+ </div>
636
+
637
+
638
+ <span id=""></span>
639
+ <span id="must-instance_method"></span>
640
+ <div class="method_details ">
641
+ <p class="signature " id="must-instance_method">
642
+
643
+ - (<tt>Object</tt>) <strong>must</strong> <span class="extras">(readonly)</span>
644
+
645
+
646
+
647
+ </p><div class="docstring">
648
+ <div class="discussion">
649
+ <p>
650
+ Returns the value of attribute must
651
+ </p>
652
+
653
+
654
+ </div>
655
+ </div>
656
+ <div class="tags">
657
+
658
+ </div><table class="source_code">
659
+ <tr>
660
+ <td>
661
+ <pre class="lines">
662
+
663
+
664
+ 524
665
+ 525
666
+ 526</pre>
667
+ </td>
668
+ <td>
669
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
670
+
671
+ <span class='kw'>def</span> <span class='id must'>must</span>
672
+ <span class='ivar'>@must</span>
673
+ <span class='kw'>end</span></pre>
674
+ </td>
675
+ </tr>
676
+ </table>
677
+ </div>
678
+
679
+
680
+ <span id=""></span>
681
+ <span id="names-instance_method"></span>
682
+ <div class="method_details ">
683
+ <p class="signature " id="names-instance_method">
684
+
685
+ - (<tt>Object</tt>) <strong>names</strong> <span class="extras">(readonly)</span>
686
+
687
+
688
+
689
+ </p><div class="docstring">
690
+ <div class="discussion">
691
+ <p>
692
+ Returns the value of attribute names
693
+ </p>
694
+
695
+
696
+ </div>
697
+ </div>
698
+ <div class="tags">
699
+
700
+ </div><table class="source_code">
701
+ <tr>
702
+ <td>
703
+ <pre class="lines">
704
+
705
+
706
+ 524
707
+ 525
708
+ 526</pre>
709
+ </td>
710
+ <td>
711
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
712
+
713
+ <span class='kw'>def</span> <span class='id names'>names</span>
714
+ <span class='ivar'>@names</span>
715
+ <span class='kw'>end</span></pre>
716
+ </td>
717
+ </tr>
718
+ </table>
719
+ </div>
720
+
721
+
722
+ <span id=""></span>
723
+ <span id="obsolete-instance_method"></span>
724
+ <div class="method_details ">
725
+ <p class="signature " id="obsolete-instance_method">
726
+
727
+ - (<tt>Object</tt>) <strong>obsolete</strong> <span class="extras">(readonly)</span>
728
+
729
+
730
+
731
+ </p><div class="docstring">
732
+ <div class="discussion">
733
+ <p>
734
+ Returns the value of attribute obsolete
735
+ </p>
736
+
737
+
738
+ </div>
739
+ </div>
740
+ <div class="tags">
741
+
742
+ </div><table class="source_code">
743
+ <tr>
744
+ <td>
745
+ <pre class="lines">
746
+
747
+
748
+ 524
749
+ 525
750
+ 526</pre>
751
+ </td>
752
+ <td>
753
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
754
+
755
+ <span class='kw'>def</span> <span class='id obsolete'>obsolete</span>
756
+ <span class='ivar'>@obsolete</span>
757
+ <span class='kw'>end</span></pre>
758
+ </td>
759
+ </tr>
760
+ </table>
761
+ </div>
762
+
763
+
764
+ <span id=""></span>
765
+ <span id="oid-instance_method"></span>
766
+ <div class="method_details ">
767
+ <p class="signature " id="oid-instance_method">
768
+
769
+ - (<tt>Object</tt>) <strong>oid</strong> <span class="extras">(readonly)</span>
770
+
771
+
772
+
773
+ </p><div class="docstring">
774
+ <div class="discussion">
775
+ <p>
776
+ Returns the value of attribute oid
777
+ </p>
778
+
779
+
780
+ </div>
781
+ </div>
782
+ <div class="tags">
783
+
784
+ </div><table class="source_code">
785
+ <tr>
786
+ <td>
787
+ <pre class="lines">
788
+
789
+
790
+ 524
791
+ 525
792
+ 526</pre>
793
+ </td>
794
+ <td>
795
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
796
+
797
+ <span class='kw'>def</span> <span class='id oid'>oid</span>
798
+ <span class='ivar'>@oid</span>
799
+ <span class='kw'>end</span></pre>
800
+ </td>
801
+ </tr>
802
+ </table>
803
+ </div>
804
+
805
+
806
+ <span id=""></span>
807
+ <span id="struct-instance_method"></span>
808
+ <div class="method_details ">
809
+ <p class="signature " id="struct-instance_method">
810
+
811
+ - (<tt>Object</tt>) <strong>struct</strong> <span class="extras">(readonly)</span>
812
+
813
+
814
+
815
+ </p><div class="docstring">
816
+ <div class="discussion">
817
+ <p>
818
+ Returns the value of attribute struct
819
+ </p>
820
+
821
+
822
+ </div>
823
+ </div>
824
+ <div class="tags">
825
+
826
+ </div><table class="source_code">
827
+ <tr>
828
+ <td>
829
+ <pre class="lines">
830
+
831
+
832
+ 524
833
+ 525
834
+ 526</pre>
835
+ </td>
836
+ <td>
837
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
838
+
839
+ <span class='kw'>def</span> <span class='id struct'>struct</span>
840
+ <span class='ivar'>@struct</span>
841
+ <span class='kw'>end</span></pre>
842
+ </td>
843
+ </tr>
844
+ </table>
845
+ </div>
846
+
847
+
848
+ <span id=""></span>
849
+ <span id="sup-instance_method"></span>
850
+ <div class="method_details ">
851
+ <p class="signature " id="sup-instance_method">
852
+
853
+ - (<tt>Object</tt>) <strong>sup</strong> <span class="extras">(readonly)</span>
854
+
855
+
856
+
857
+ </p><div class="docstring">
858
+ <div class="discussion">
859
+ <p>
860
+ Returns the value of attribute sup
861
+ </p>
862
+
863
+
864
+ </div>
865
+ </div>
866
+ <div class="tags">
867
+
868
+ </div><table class="source_code">
869
+ <tr>
870
+ <td>
871
+ <pre class="lines">
872
+
873
+
874
+ 524
875
+ 525
876
+ 526</pre>
877
+ </td>
878
+ <td>
879
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 524</span>
880
+
881
+ <span class='kw'>def</span> <span class='id sup'>sup</span>
882
+ <span class='ivar'>@sup</span>
883
+ <span class='kw'>end</span></pre>
884
+ </td>
885
+ </tr>
886
+ </table>
887
+ </div>
888
+
889
+ </div>
890
+
891
+
892
+ <div id="instance_method_details" class="method_details_list">
893
+ <h2>Instance Method Details</h2>
894
+
895
+
896
+ <div class="method_details first">
897
+ <p class="signature first" id="changed-instance_method">
898
+
899
+ - (<tt>Object</tt>) <strong>changed</strong>
900
+
901
+
902
+
903
+ </p><table class="source_code">
904
+ <tr>
905
+ <td>
906
+ <pre class="lines">
907
+
908
+
909
+ 551
910
+ 552
911
+ 553</pre>
912
+ </td>
913
+ <td>
914
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 551</span>
915
+
916
+ <span class='kw'>def</span> <span class='id changed'>changed</span>
917
+ <span class='ivar'>@def</span> <span class='op'>=</span> <span class='kw'>nil</span>
918
+ <span class='kw'>end</span></pre>
919
+ </td>
920
+ </tr>
921
+ </table>
922
+ </div>
923
+
924
+ <div class="method_details ">
925
+ <p class="signature " id="joinoids-instance_method">
926
+
927
+ - (<tt>Object</tt>) <strong>joinoids</strong>(pfx, arr, sfx)
928
+
929
+
930
+
931
+ </p><table class="source_code">
932
+ <tr>
933
+ <td>
934
+ <pre class="lines">
935
+
936
+
937
+ 577
938
+ 578
939
+ 579
940
+ 580
941
+ 581
942
+ 582
943
+ 583
944
+ 584
945
+ 585
946
+ 586</pre>
947
+ </td>
948
+ <td>
949
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 577</span>
950
+
951
+ <span class='kw'>def</span> <span class='id joinoids'>joinoids</span><span class='lparen'>(</span><span class='id pfx'>pfx</span><span class='comma'>,</span><span class='id arr'>arr</span><span class='comma'>,</span><span class='id sfx'>sfx</span><span class='rparen'>)</span>
952
+ <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>unless</span> <span class='id arr'>arr</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id arr'>arr</span><span class='period'>.</span><span class='id empty?'>empty?</span>
953
+ <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id pfx'>pfx</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='id arr'>arr</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='id sfx'>sfx</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>unless</span> <span class='id arr'>arr</span><span class='period'>.</span><span class='id is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
954
+ <span class='id a'>a</span> <span class='op'>=</span> <span class='id arr'>arr</span><span class='period'>.</span><span class='id collect'>collect</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id elem'>elem</span><span class='op'>|</span> <span class='id elem'>elem</span><span class='period'>.</span><span class='id to_s'>to_s</span> <span class='rbrace'>}</span>
955
+ <span class='kw'>if</span> <span class='id a'>a</span><span class='period'>.</span><span class='id size'>size</span> <span class='op'>==</span> <span class='int'>1</span>
956
+ <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id pfx'>pfx</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='id a'>a</span><span class='period'>.</span><span class='id first'>first</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='id sfx'>sfx</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
957
+ <span class='kw'>else</span>
958
+ <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id pfx'>pfx</span><span class='rbrace'>}</span><span class='tstring_content'>( </span><span class='embexpr_beg'>#{</span><span class='id a'>a</span><span class='period'>.</span><span class='id join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> $ </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'> )</span><span class='embexpr_beg'>#{</span><span class='id sfx'>sfx</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
959
+ <span class='kw'>end</span>
960
+ <span class='kw'>end</span></pre>
961
+ </td>
962
+ </tr>
963
+ </table>
964
+ </div>
965
+
966
+ <div class="method_details ">
967
+ <p class="signature " id="name-instance_method">
968
+
969
+ - (<tt>Object</tt>) <strong>name</strong>
970
+
971
+
972
+
973
+ </p><table class="source_code">
974
+ <tr>
975
+ <td>
976
+ <pre class="lines">
977
+
978
+
979
+ 543
980
+ 544
981
+ 545</pre>
982
+ </td>
983
+ <td>
984
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 543</span>
985
+
986
+ <span class='kw'>def</span> <span class='id name'>name</span>
987
+ <span class='ivar'>@names</span><span class='period'>.</span><span class='id first'>first</span>
988
+ <span class='kw'>end</span></pre>
989
+ </td>
990
+ </tr>
991
+ </table>
992
+ </div>
993
+
994
+ <div class="method_details ">
995
+ <p class="signature " id="to_def-instance_method">
996
+
997
+ - (<tt>Object</tt>) <strong>to_def</strong>
998
+
999
+
1000
+
1001
+ </p><table class="source_code">
1002
+ <tr>
1003
+ <td>
1004
+ <pre class="lines">
1005
+
1006
+
1007
+ 555
1008
+ 556
1009
+ 557
1010
+ 558
1011
+ 559
1012
+ 560
1013
+ 561
1014
+ 562
1015
+ 563
1016
+ 564
1017
+ 565
1018
+ 566
1019
+ 567
1020
+ 568
1021
+ 569
1022
+ 570
1023
+ 571
1024
+ 572
1025
+ 573
1026
+ 574
1027
+ 575</pre>
1028
+ </td>
1029
+ <td>
1030
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 555</span>
1031
+
1032
+ <span class='kw'>def</span> <span class='id to_def'>to_def</span>
1033
+ <span class='kw'>return</span> <span class='ivar'>@def</span> <span class='kw'>if</span> <span class='ivar'>@def</span>
1034
+ <span class='id ans'>ans</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>( </span><span class='embexpr_beg'>#{</span><span class='ivar'>@oid</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span>
1035
+ <span class='kw'>if</span> <span class='ivar'>@names</span><span class='period'>.</span><span class='id nil?'>nil?</span> <span class='kw'>or</span> <span class='ivar'>@names</span><span class='period'>.</span><span class='id empty?'>empty?</span>
1036
+ <span class='comment'># nothing
1037
+ </span> <span class='kw'>elsif</span> <span class='ivar'>@names</span><span class='period'>.</span><span class='id size'>size</span> <span class='op'>==</span> <span class='int'>1</span>
1038
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>NAME '</span><span class='embexpr_beg'>#{</span><span class='ivar'>@names</span><span class='period'>.</span><span class='id first'>first</span><span class='rbrace'>}</span><span class='tstring_content'>' </span><span class='tstring_end'>&quot;</span></span>
1039
+ <span class='kw'>else</span>
1040
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>NAME ( </span><span class='tstring_end'>&quot;</span></span>
1041
+ <span class='ivar'>@names</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id n'>n</span><span class='op'>|</span> <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>'</span><span class='embexpr_beg'>#{</span><span class='id n'>n</span><span class='rbrace'>}</span><span class='tstring_content'>' </span><span class='tstring_end'>&quot;</span></span> <span class='rbrace'>}</span>
1042
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>) </span><span class='tstring_end'>&quot;</span></span>
1043
+ <span class='kw'>end</span>
1044
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>DESC '</span><span class='embexpr_beg'>#{</span><span class='ivar'>@desc</span><span class='rbrace'>}</span><span class='tstring_content'>' </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@desc</span>
1045
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>OBSOLETE </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@obsolete</span>
1046
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='id joinoids'>joinoids</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>SUP </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span><span class='ivar'>@sup</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1047
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@struct</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='period'>.</span><span class='id upcase'>upcase</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@struct</span>
1048
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='id joinoids'>joinoids</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>MUST </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span><span class='ivar'>@must</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1049
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='id joinoids'>joinoids</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>MAY </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span><span class='ivar'>@may</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1050
+ <span class='id ans'>ans</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>)</span><span class='tstring_end'>&quot;</span></span>
1051
+ <span class='ivar'>@def</span> <span class='op'>=</span> <span class='id ans'>ans</span>
1052
+ <span class='kw'>end</span></pre>
1053
+ </td>
1054
+ </tr>
1055
+ </table>
1056
+ </div>
1057
+
1058
+ <div class="method_details ">
1059
+ <p class="signature " id="to_s-instance_method">
1060
+
1061
+ - (<tt>Object</tt>) <strong>to_s</strong>
1062
+
1063
+
1064
+
1065
+ </p><table class="source_code">
1066
+ <tr>
1067
+ <td>
1068
+ <pre class="lines">
1069
+
1070
+
1071
+ 547
1072
+ 548
1073
+ 549</pre>
1074
+ </td>
1075
+ <td>
1076
+ <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 547</span>
1077
+
1078
+ <span class='kw'>def</span> <span class='id to_s'>to_s</span>
1079
+ <span class='lparen'>(</span><span class='ivar'>@names</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@names</span><span class='period'>.</span><span class='id first'>first</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='ivar'>@oid</span>
1080
+ <span class='kw'>end</span></pre>
1081
+ </td>
1082
+ </tr>
1083
+ </table>
1084
+ </div>
1085
+
1086
+ </div>
1087
+
1088
+ </div>
1089
+
1090
+ <div id="footer">
1091
+ Generated on Mon Sep 13 13:27:17 2010 by
1092
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1093
+ 0.6.0 (ruby-1.9.2).
1094
+ </div>
1095
+
1096
+ </body>
1097
+ </html>