fakeldap 0.0.1 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +7 -1
  3. data/lib/fakeldap.rb +133 -10
  4. data/lib/fakeldap/version.rb +1 -1
  5. metadata +50 -191
  6. data/vendor/ruby-ldapserver/COPYING +0 -27
  7. data/vendor/ruby-ldapserver/ChangeLog +0 -83
  8. data/vendor/ruby-ldapserver/Manifest.txt +0 -32
  9. data/vendor/ruby-ldapserver/README +0 -222
  10. data/vendor/ruby-ldapserver/Rakefile +0 -22
  11. data/vendor/ruby-ldapserver/doc/LDAP.html +0 -104
  12. data/vendor/ruby-ldapserver/doc/LDAP/Abandon.html +0 -112
  13. data/vendor/ruby-ldapserver/doc/LDAP/Error.html +0 -115
  14. data/vendor/ruby-ldapserver/doc/LDAP/ResultError.html +0 -241
  15. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AdminLimitExceeded.html +0 -158
  16. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AffectsMultipleDSAs.html +0 -158
  17. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasDereferencingProblem.html +0 -158
  18. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasProblem.html +0 -158
  19. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AttributeOrValueExists.html +0 -158
  20. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AuthMethodNotSupported.html +0 -158
  21. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Busy.html +0 -158
  22. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareFalse.html +0 -158
  23. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareTrue.html +0 -158
  24. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConfidentialityRequired.html +0 -158
  25. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConstraintViolation.html +0 -158
  26. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/EntryAlreadyExists.html +0 -158
  27. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateAuthentication.html +0 -158
  28. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateMatching.html +0 -158
  29. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InsufficientAccessRights.html +0 -158
  30. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidAttributeSyntax.html +0 -158
  31. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidCredentials.html +0 -158
  32. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidDNSyntax.html +0 -158
  33. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/IsLeaf.html +0 -158
  34. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/LoopDetect.html +0 -158
  35. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NamingViolation.html +0 -158
  36. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchAttribute.html +0 -158
  37. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchObject.html +0 -158
  38. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnNonLeaf.html +0 -158
  39. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnRDN.html +0 -158
  40. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassModsProhibited.html +0 -158
  41. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassViolation.html +0 -158
  42. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/OperationsError.html +0 -158
  43. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Other.html +0 -158
  44. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ProtocolError.html +0 -158
  45. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Referral.html +0 -158
  46. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SaslBindInProgress.html +0 -158
  47. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SizeLimitExceeded.html +0 -158
  48. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/StrongAuthRequired.html +0 -158
  49. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Success.html +0 -158
  50. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/TimeLimitExceeded.html +0 -158
  51. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Unavailable.html +0 -158
  52. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnavailableCriticalExtension.html +0 -158
  53. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UndefinedAttributeType.html +0 -158
  54. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnwillingToPerform.html +0 -158
  55. data/vendor/ruby-ldapserver/doc/LDAP/Server.html +0 -1056
  56. data/vendor/ruby-ldapserver/doc/LDAP/Server/Connection.html +0 -1353
  57. data/vendor/ruby-ldapserver/doc/LDAP/Server/Filter.html +0 -634
  58. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule.html +0 -1132
  59. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/DefaultMatchingClass.html +0 -219
  60. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Equality.html +0 -170
  61. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Downcase.html +0 -143
  62. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Trim.html +0 -155
  63. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Integer.html +0 -143
  64. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Ordering.html +0 -212
  65. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringDowncase.html +0 -143
  66. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringTrim.html +0 -154
  67. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Substrings.html +0 -177
  68. data/vendor/ruby-ldapserver/doc/LDAP/Server/Operation.html +0 -2994
  69. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema.html +0 -2024
  70. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/AttributeType.html +0 -1462
  71. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/ObjectClass.html +0 -1097
  72. data/vendor/ruby-ldapserver/doc/LDAP/Server/Syntax.html +0 -1254
  73. data/vendor/ruby-ldapserver/doc/LDAP/Server/VERSION.html +0 -134
  74. data/vendor/ruby-ldapserver/doc/_index.html +0 -662
  75. data/vendor/ruby-ldapserver/doc/class_list.html +0 -36
  76. data/vendor/ruby-ldapserver/doc/css/common.css +0 -1
  77. data/vendor/ruby-ldapserver/doc/css/full_list.css +0 -50
  78. data/vendor/ruby-ldapserver/doc/css/style.css +0 -303
  79. data/vendor/ruby-ldapserver/doc/file.README.html +0 -399
  80. data/vendor/ruby-ldapserver/doc/file_list.html +0 -38
  81. data/vendor/ruby-ldapserver/doc/frames.html +0 -13
  82. data/vendor/ruby-ldapserver/doc/index.html +0 -399
  83. data/vendor/ruby-ldapserver/doc/js/app.js +0 -204
  84. data/vendor/ruby-ldapserver/doc/js/full_list.js +0 -112
  85. data/vendor/ruby-ldapserver/doc/js/jquery.js +0 -154
  86. data/vendor/ruby-ldapserver/doc/method_list.html +0 -1571
  87. data/vendor/ruby-ldapserver/doc/top-level-namespace.html +0 -88
  88. data/vendor/ruby-ldapserver/examples/README +0 -89
  89. data/vendor/ruby-ldapserver/examples/mkcert.rb +0 -31
  90. data/vendor/ruby-ldapserver/examples/rbslapd1.rb +0 -111
  91. data/vendor/ruby-ldapserver/examples/rbslapd2.rb +0 -161
  92. data/vendor/ruby-ldapserver/examples/rbslapd3.rb +0 -172
  93. data/vendor/ruby-ldapserver/examples/speedtest.rb +0 -37
  94. data/vendor/ruby-ldapserver/lib/ldap/server.rb +0 -4
  95. data/vendor/ruby-ldapserver/lib/ldap/server/connection.rb +0 -276
  96. data/vendor/ruby-ldapserver/lib/ldap/server/filter.rb +0 -223
  97. data/vendor/ruby-ldapserver/lib/ldap/server/match.rb +0 -283
  98. data/vendor/ruby-ldapserver/lib/ldap/server/operation.rb +0 -487
  99. data/vendor/ruby-ldapserver/lib/ldap/server/preforkserver.rb +0 -93
  100. data/vendor/ruby-ldapserver/lib/ldap/server/result.rb +0 -71
  101. data/vendor/ruby-ldapserver/lib/ldap/server/schema.rb +0 -592
  102. data/vendor/ruby-ldapserver/lib/ldap/server/server.rb +0 -89
  103. data/vendor/ruby-ldapserver/lib/ldap/server/syntax.rb +0 -235
  104. data/vendor/ruby-ldapserver/lib/ldap/server/tcpserver.rb +0 -91
  105. data/vendor/ruby-ldapserver/lib/ldap/server/util.rb +0 -88
  106. data/vendor/ruby-ldapserver/lib/ldap/server/version.rb +0 -11
  107. data/vendor/ruby-ldapserver/test/core.schema +0 -582
  108. data/vendor/ruby-ldapserver/test/encoding_test.rb +0 -279
  109. data/vendor/ruby-ldapserver/test/filter_test.rb +0 -107
  110. data/vendor/ruby-ldapserver/test/match_test.rb +0 -59
  111. data/vendor/ruby-ldapserver/test/schema_test.rb +0 -113
  112. data/vendor/ruby-ldapserver/test/syntax_test.rb +0 -40
  113. data/vendor/ruby-ldapserver/test/test_helper.rb +0 -2
  114. data/vendor/ruby-ldapserver/test/util_test.rb +0 -51
@@ -1,1462 +0,0 @@
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::AttributeType</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 (A)</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">AttributeType</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::AttributeType
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::AttributeType</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 AttributeTypeDescription (RFC2252 4.2)
86
- </p>
87
-
88
-
89
- </div>
90
- </div>
91
- <div class="tags">
92
-
93
- </div>
94
-
95
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
96
- <ul class="summary">
97
-
98
- <li class="public ">
99
- <span class="summary_signature">
100
-
101
- <a href="#collective-instance_method" title="#collective (instance method)">- (Object) <strong>collective</strong> </a>
102
-
103
-
104
-
105
- </span>
106
-
107
-
108
- <span class="note title readonly">readonly</span>
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <span class="summary_desc"><div class='inline'><p>
118
- Returns the value of attribute collective.
119
- </p>
120
- </div></span>
121
-
122
- </li>
123
-
124
-
125
- <li class="public ">
126
- <span class="summary_signature">
127
-
128
- <a href="#desc-instance_method" title="#desc (instance method)">- (Object) <strong>desc</strong> </a>
129
-
130
-
131
-
132
- </span>
133
-
134
-
135
- <span class="note title readonly">readonly</span>
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <span class="summary_desc"><div class='inline'><p>
145
- Returns the value of attribute desc.
146
- </p>
147
- </div></span>
148
-
149
- </li>
150
-
151
-
152
- <li class="public ">
153
- <span class="summary_signature">
154
-
155
- <a href="#equality-instance_method" title="#equality (instance method)">- (Object) <strong>equality</strong> </a>
156
-
157
-
158
-
159
- </span>
160
-
161
-
162
- <span class="note title readonly">readonly</span>
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <span class="summary_desc"><div class='inline'><p>
172
- Returns the value of attribute equality.
173
- </p>
174
- </div></span>
175
-
176
- </li>
177
-
178
-
179
- <li class="public ">
180
- <span class="summary_signature">
181
-
182
- <a href="#maxlen-instance_method" title="#maxlen (instance method)">- (Object) <strong>maxlen</strong> </a>
183
-
184
-
185
-
186
- </span>
187
-
188
-
189
- <span class="note title readonly">readonly</span>
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
- <span class="summary_desc"><div class='inline'><p>
199
- Returns the value of attribute maxlen.
200
- </p>
201
- </div></span>
202
-
203
- </li>
204
-
205
-
206
- <li class="public ">
207
- <span class="summary_signature">
208
-
209
- <a href="#names-instance_method" title="#names (instance method)">- (Object) <strong>names</strong> </a>
210
-
211
-
212
-
213
- </span>
214
-
215
-
216
- <span class="note title readonly">readonly</span>
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
- <span class="summary_desc"><div class='inline'><p>
226
- Returns the value of attribute names.
227
- </p>
228
- </div></span>
229
-
230
- </li>
231
-
232
-
233
- <li class="public ">
234
- <span class="summary_signature">
235
-
236
- <a href="#nousermod-instance_method" title="#nousermod (instance method)">- (Object) <strong>nousermod</strong> </a>
237
-
238
-
239
-
240
- </span>
241
-
242
-
243
- <span class="note title readonly">readonly</span>
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
- <span class="summary_desc"><div class='inline'><p>
253
- Returns the value of attribute nousermod.
254
- </p>
255
- </div></span>
256
-
257
- </li>
258
-
259
-
260
- <li class="public ">
261
- <span class="summary_signature">
262
-
263
- <a href="#obsolete-instance_method" title="#obsolete (instance method)">- (Object) <strong>obsolete</strong> </a>
264
-
265
-
266
-
267
- </span>
268
-
269
-
270
- <span class="note title readonly">readonly</span>
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
- <span class="summary_desc"><div class='inline'><p>
280
- Returns the value of attribute obsolete.
281
- </p>
282
- </div></span>
283
-
284
- </li>
285
-
286
-
287
- <li class="public ">
288
- <span class="summary_signature">
289
-
290
- <a href="#oid-instance_method" title="#oid (instance method)">- (Object) <strong>oid</strong> </a>
291
-
292
-
293
-
294
- </span>
295
-
296
-
297
- <span class="note title readonly">readonly</span>
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
- <span class="summary_desc"><div class='inline'><p>
307
- Returns the value of attribute oid.
308
- </p>
309
- </div></span>
310
-
311
- </li>
312
-
313
-
314
- <li class="public ">
315
- <span class="summary_signature">
316
-
317
- <a href="#ordering-instance_method" title="#ordering (instance method)">- (Object) <strong>ordering</strong> </a>
318
-
319
-
320
-
321
- </span>
322
-
323
-
324
- <span class="note title readonly">readonly</span>
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
- <span class="summary_desc"><div class='inline'><p>
334
- Returns the value of attribute ordering.
335
- </p>
336
- </div></span>
337
-
338
- </li>
339
-
340
-
341
- <li class="public ">
342
- <span class="summary_signature">
343
-
344
- <a href="#singlevalue-instance_method" title="#singlevalue (instance method)">- (Object) <strong>singlevalue</strong> </a>
345
-
346
-
347
-
348
- </span>
349
-
350
-
351
- <span class="note title readonly">readonly</span>
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
- <span class="summary_desc"><div class='inline'><p>
361
- Returns the value of attribute singlevalue.
362
- </p>
363
- </div></span>
364
-
365
- </li>
366
-
367
-
368
- <li class="public ">
369
- <span class="summary_signature">
370
-
371
- <a href="#substr-instance_method" title="#substr (instance method)">- (Object) <strong>substr</strong> </a>
372
-
373
-
374
-
375
- </span>
376
-
377
-
378
- <span class="note title readonly">readonly</span>
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
- <span class="summary_desc"><div class='inline'><p>
388
- Returns the value of attribute substr.
389
- </p>
390
- </div></span>
391
-
392
- </li>
393
-
394
-
395
- <li class="public ">
396
- <span class="summary_signature">
397
-
398
- <a href="#sup-instance_method" title="#sup (instance method)">- (Object) <strong>sup</strong> </a>
399
-
400
-
401
-
402
- </span>
403
-
404
-
405
- <span class="note title readonly">readonly</span>
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
- <span class="summary_desc"><div class='inline'><p>
415
- Returns the value of attribute sup.
416
- </p>
417
- </div></span>
418
-
419
- </li>
420
-
421
-
422
- <li class="public ">
423
- <span class="summary_signature">
424
-
425
- <a href="#syntax-instance_method" title="#syntax (instance method)">- (Object) <strong>syntax</strong> </a>
426
-
427
-
428
-
429
- </span>
430
-
431
-
432
- <span class="note title readonly">readonly</span>
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
- <span class="summary_desc"><div class='inline'><p>
442
- Returns the value of attribute syntax.
443
- </p>
444
- </div></span>
445
-
446
- </li>
447
-
448
-
449
- <li class="public ">
450
- <span class="summary_signature">
451
-
452
- <a href="#usage-instance_method" title="#usage (instance method)">- (Object) <strong>usage</strong> </a>
453
-
454
-
455
-
456
- </span>
457
-
458
-
459
- <span class="note title readonly">readonly</span>
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
- <span class="summary_desc"><div class='inline'><p>
469
- Returns the value of attribute usage.
470
- </p>
471
- </div></span>
472
-
473
- </li>
474
-
475
-
476
- </ul>
477
-
478
-
479
-
480
- <h2>
481
- Instance Method Summary
482
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
483
- </h2>
484
-
485
- <ul class="summary">
486
-
487
- <li class="public ">
488
- <span class="summary_signature">
489
-
490
- <a href="#changed-instance_method" title="#changed (instance method)">- (Object) <strong>changed</strong> </a>
491
-
492
-
493
-
494
- </span>
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
- <span class="summary_desc"><div class='inline'></div></span>
504
-
505
- </li>
506
-
507
-
508
- <li class="public ">
509
- <span class="summary_signature">
510
-
511
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (AttributeType) <strong>initialize</strong>(str) </a>
512
-
513
-
514
-
515
- </span>
516
-
517
- <span class="note title constructor">constructor</span>
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
- <span class="summary_desc"><div class='inline'><p>
527
- A new instance of AttributeType.
528
- </p>
529
- </div></span>
530
-
531
- </li>
532
-
533
-
534
- <li class="public ">
535
- <span class="summary_signature">
536
-
537
- <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
538
-
539
-
540
-
541
- </span>
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
- <span class="summary_desc"><div class='inline'></div></span>
551
-
552
- </li>
553
-
554
-
555
- <li class="public ">
556
- <span class="summary_signature">
557
-
558
- <a href="#to_def-instance_method" title="#to_def (instance method)">- (Object) <strong>to_def</strong> </a>
559
-
560
-
561
-
562
- </span>
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
- <span class="summary_desc"><div class='inline'></div></span>
572
-
573
- </li>
574
-
575
-
576
- <li class="public ">
577
- <span class="summary_signature">
578
-
579
- <a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
580
-
581
-
582
-
583
- </span>
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
- <span class="summary_desc"><div class='inline'></div></span>
593
-
594
- </li>
595
-
596
-
597
- </ul>
598
-
599
-
600
- <div id="constructor_details" class="method_details_list">
601
- <h2>Constructor Details</h2>
602
-
603
- <div class="method_details first">
604
- <p class="signature first" id="initialize-instance_method">
605
-
606
- - (<tt><span class='object_link'><a href="" title="LDAP::Server::Schema::AttributeType (class)">AttributeType</a></span></tt>) <strong>initialize</strong>(str)
607
-
608
-
609
-
610
- </p><div class="docstring">
611
- <div class="discussion">
612
- <p>
613
- A new instance of AttributeType
614
- </p>
615
-
616
-
617
- </div>
618
- </div>
619
- <div class="tags">
620
- <h3>Raises:</h3>
621
- <ul class="raise">
622
-
623
- <li>
624
-
625
- <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>
626
-
627
-
628
-
629
-
630
- </li>
631
-
632
- </ul>
633
-
634
- </div><table class="source_code">
635
- <tr>
636
- <td>
637
- <pre class="lines">
638
-
639
-
640
- 455
641
- 456
642
- 457
643
- 458
644
- 459
645
- 460
646
- 461
647
- 462
648
- 463
649
- 464
650
- 465
651
- 466
652
- 467
653
- 468
654
- 469
655
- 470
656
- 471
657
- 472
658
- 473
659
- 474
660
- 475
661
- 476</pre>
662
- </td>
663
- <td>
664
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 455</span>
665
-
666
- <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>
667
- <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'>AttributeTypeDescription</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>
668
- <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>
669
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad AttributeTypeDescription </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>
670
- <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>
671
- <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>
672
- <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>
673
- <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>
674
- <span class='ivar'>@sup</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>5</span><span class='rbracket'>]</span>
675
- <span class='ivar'>@equality</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>6</span><span class='rbracket'>]</span>
676
- <span class='ivar'>@ordering</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>7</span><span class='rbracket'>]</span>
677
- <span class='ivar'>@substr</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>8</span><span class='rbracket'>]</span>
678
- <span class='ivar'>@syntax</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>9</span><span class='rbracket'>]</span>
679
- <span class='ivar'>@maxlen</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>10</span><span class='rbracket'>]</span> <span class='op'>&amp;&amp;</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>10</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id to_i'>to_i</span>
680
- <span class='ivar'>@singlevalue</span> <span class='op'>=</span> <span class='op'>!</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>11</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
681
- <span class='ivar'>@collective</span> <span class='op'>=</span> <span class='op'>!</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>12</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
682
- <span class='ivar'>@nousermod</span> <span class='op'>=</span> <span class='op'>!</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>13</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
683
- <span class='ivar'>@usage</span> <span class='op'>=</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>14</span><span class='rbracket'>]</span> <span class='op'>&amp;&amp;</span> <span class='id m'>m</span><span class='lbracket'>[</span><span class='int'>14</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id intern'>intern</span>
684
- <span class='comment'># This is the cache of the stringified version. Rather than
685
- </span> <span class='comment'># initialize to str, we set nil to force it to be rebuilt
686
- </span> <span class='ivar'>@def</span> <span class='op'>=</span> <span class='kw'>nil</span>
687
- <span class='kw'>end</span></pre>
688
- </td>
689
- </tr>
690
- </table>
691
- </div>
692
-
693
- </div>
694
-
695
- <div id="instance_attr_details" class="attr_details">
696
- <h2>Instance Attribute Details</h2>
697
-
698
-
699
- <span id=""></span>
700
- <span id="collective-instance_method"></span>
701
- <div class="method_details first">
702
- <p class="signature first" id="collective-instance_method">
703
-
704
- - (<tt>Object</tt>) <strong>collective</strong> <span class="extras">(readonly)</span>
705
-
706
-
707
-
708
- </p><div class="docstring">
709
- <div class="discussion">
710
- <p>
711
- Returns the value of attribute collective
712
- </p>
713
-
714
-
715
- </div>
716
- </div>
717
- <div class="tags">
718
-
719
- </div><table class="source_code">
720
- <tr>
721
- <td>
722
- <pre class="lines">
723
-
724
-
725
- 452
726
- 453
727
- 454</pre>
728
- </td>
729
- <td>
730
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 452</span>
731
-
732
- <span class='kw'>def</span> <span class='id collective'>collective</span>
733
- <span class='ivar'>@collective</span>
734
- <span class='kw'>end</span></pre>
735
- </td>
736
- </tr>
737
- </table>
738
- </div>
739
-
740
-
741
- <span id=""></span>
742
- <span id="desc-instance_method"></span>
743
- <div class="method_details ">
744
- <p class="signature " id="desc-instance_method">
745
-
746
- - (<tt>Object</tt>) <strong>desc</strong> <span class="extras">(readonly)</span>
747
-
748
-
749
-
750
- </p><div class="docstring">
751
- <div class="discussion">
752
- <p>
753
- Returns the value of attribute desc
754
- </p>
755
-
756
-
757
- </div>
758
- </div>
759
- <div class="tags">
760
-
761
- </div><table class="source_code">
762
- <tr>
763
- <td>
764
- <pre class="lines">
765
-
766
-
767
- 451
768
- 452
769
- 453</pre>
770
- </td>
771
- <td>
772
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
773
-
774
- <span class='kw'>def</span> <span class='id desc'>desc</span>
775
- <span class='ivar'>@desc</span>
776
- <span class='kw'>end</span></pre>
777
- </td>
778
- </tr>
779
- </table>
780
- </div>
781
-
782
-
783
- <span id=""></span>
784
- <span id="equality-instance_method"></span>
785
- <div class="method_details ">
786
- <p class="signature " id="equality-instance_method">
787
-
788
- - (<tt>Object</tt>) <strong>equality</strong> <span class="extras">(readonly)</span>
789
-
790
-
791
-
792
- </p><div class="docstring">
793
- <div class="discussion">
794
- <p>
795
- Returns the value of attribute equality
796
- </p>
797
-
798
-
799
- </div>
800
- </div>
801
- <div class="tags">
802
-
803
- </div><table class="source_code">
804
- <tr>
805
- <td>
806
- <pre class="lines">
807
-
808
-
809
- 451
810
- 452
811
- 453</pre>
812
- </td>
813
- <td>
814
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
815
-
816
- <span class='kw'>def</span> <span class='id equality'>equality</span>
817
- <span class='ivar'>@equality</span>
818
- <span class='kw'>end</span></pre>
819
- </td>
820
- </tr>
821
- </table>
822
- </div>
823
-
824
-
825
- <span id=""></span>
826
- <span id="maxlen-instance_method"></span>
827
- <div class="method_details ">
828
- <p class="signature " id="maxlen-instance_method">
829
-
830
- - (<tt>Object</tt>) <strong>maxlen</strong> <span class="extras">(readonly)</span>
831
-
832
-
833
-
834
- </p><div class="docstring">
835
- <div class="discussion">
836
- <p>
837
- Returns the value of attribute maxlen
838
- </p>
839
-
840
-
841
- </div>
842
- </div>
843
- <div class="tags">
844
-
845
- </div><table class="source_code">
846
- <tr>
847
- <td>
848
- <pre class="lines">
849
-
850
-
851
- 452
852
- 453
853
- 454</pre>
854
- </td>
855
- <td>
856
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 452</span>
857
-
858
- <span class='kw'>def</span> <span class='id maxlen'>maxlen</span>
859
- <span class='ivar'>@maxlen</span>
860
- <span class='kw'>end</span></pre>
861
- </td>
862
- </tr>
863
- </table>
864
- </div>
865
-
866
-
867
- <span id=""></span>
868
- <span id="names-instance_method"></span>
869
- <div class="method_details ">
870
- <p class="signature " id="names-instance_method">
871
-
872
- - (<tt>Object</tt>) <strong>names</strong> <span class="extras">(readonly)</span>
873
-
874
-
875
-
876
- </p><div class="docstring">
877
- <div class="discussion">
878
- <p>
879
- Returns the value of attribute names
880
- </p>
881
-
882
-
883
- </div>
884
- </div>
885
- <div class="tags">
886
-
887
- </div><table class="source_code">
888
- <tr>
889
- <td>
890
- <pre class="lines">
891
-
892
-
893
- 451
894
- 452
895
- 453</pre>
896
- </td>
897
- <td>
898
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
899
-
900
- <span class='kw'>def</span> <span class='id names'>names</span>
901
- <span class='ivar'>@names</span>
902
- <span class='kw'>end</span></pre>
903
- </td>
904
- </tr>
905
- </table>
906
- </div>
907
-
908
-
909
- <span id=""></span>
910
- <span id="nousermod-instance_method"></span>
911
- <div class="method_details ">
912
- <p class="signature " id="nousermod-instance_method">
913
-
914
- - (<tt>Object</tt>) <strong>nousermod</strong> <span class="extras">(readonly)</span>
915
-
916
-
917
-
918
- </p><div class="docstring">
919
- <div class="discussion">
920
- <p>
921
- Returns the value of attribute nousermod
922
- </p>
923
-
924
-
925
- </div>
926
- </div>
927
- <div class="tags">
928
-
929
- </div><table class="source_code">
930
- <tr>
931
- <td>
932
- <pre class="lines">
933
-
934
-
935
- 453
936
- 454
937
- 455</pre>
938
- </td>
939
- <td>
940
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 453</span>
941
-
942
- <span class='kw'>def</span> <span class='id nousermod'>nousermod</span>
943
- <span class='ivar'>@nousermod</span>
944
- <span class='kw'>end</span></pre>
945
- </td>
946
- </tr>
947
- </table>
948
- </div>
949
-
950
-
951
- <span id=""></span>
952
- <span id="obsolete-instance_method"></span>
953
- <div class="method_details ">
954
- <p class="signature " id="obsolete-instance_method">
955
-
956
- - (<tt>Object</tt>) <strong>obsolete</strong> <span class="extras">(readonly)</span>
957
-
958
-
959
-
960
- </p><div class="docstring">
961
- <div class="discussion">
962
- <p>
963
- Returns the value of attribute obsolete
964
- </p>
965
-
966
-
967
- </div>
968
- </div>
969
- <div class="tags">
970
-
971
- </div><table class="source_code">
972
- <tr>
973
- <td>
974
- <pre class="lines">
975
-
976
-
977
- 451
978
- 452
979
- 453</pre>
980
- </td>
981
- <td>
982
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
983
-
984
- <span class='kw'>def</span> <span class='id obsolete'>obsolete</span>
985
- <span class='ivar'>@obsolete</span>
986
- <span class='kw'>end</span></pre>
987
- </td>
988
- </tr>
989
- </table>
990
- </div>
991
-
992
-
993
- <span id=""></span>
994
- <span id="oid-instance_method"></span>
995
- <div class="method_details ">
996
- <p class="signature " id="oid-instance_method">
997
-
998
- - (<tt>Object</tt>) <strong>oid</strong> <span class="extras">(readonly)</span>
999
-
1000
-
1001
-
1002
- </p><div class="docstring">
1003
- <div class="discussion">
1004
- <p>
1005
- Returns the value of attribute oid
1006
- </p>
1007
-
1008
-
1009
- </div>
1010
- </div>
1011
- <div class="tags">
1012
-
1013
- </div><table class="source_code">
1014
- <tr>
1015
- <td>
1016
- <pre class="lines">
1017
-
1018
-
1019
- 451
1020
- 452
1021
- 453</pre>
1022
- </td>
1023
- <td>
1024
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
1025
-
1026
- <span class='kw'>def</span> <span class='id oid'>oid</span>
1027
- <span class='ivar'>@oid</span>
1028
- <span class='kw'>end</span></pre>
1029
- </td>
1030
- </tr>
1031
- </table>
1032
- </div>
1033
-
1034
-
1035
- <span id=""></span>
1036
- <span id="ordering-instance_method"></span>
1037
- <div class="method_details ">
1038
- <p class="signature " id="ordering-instance_method">
1039
-
1040
- - (<tt>Object</tt>) <strong>ordering</strong> <span class="extras">(readonly)</span>
1041
-
1042
-
1043
-
1044
- </p><div class="docstring">
1045
- <div class="discussion">
1046
- <p>
1047
- Returns the value of attribute ordering
1048
- </p>
1049
-
1050
-
1051
- </div>
1052
- </div>
1053
- <div class="tags">
1054
-
1055
- </div><table class="source_code">
1056
- <tr>
1057
- <td>
1058
- <pre class="lines">
1059
-
1060
-
1061
- 451
1062
- 452
1063
- 453</pre>
1064
- </td>
1065
- <td>
1066
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
1067
-
1068
- <span class='kw'>def</span> <span class='id ordering'>ordering</span>
1069
- <span class='ivar'>@ordering</span>
1070
- <span class='kw'>end</span></pre>
1071
- </td>
1072
- </tr>
1073
- </table>
1074
- </div>
1075
-
1076
-
1077
- <span id=""></span>
1078
- <span id="singlevalue-instance_method"></span>
1079
- <div class="method_details ">
1080
- <p class="signature " id="singlevalue-instance_method">
1081
-
1082
- - (<tt>Object</tt>) <strong>singlevalue</strong> <span class="extras">(readonly)</span>
1083
-
1084
-
1085
-
1086
- </p><div class="docstring">
1087
- <div class="discussion">
1088
- <p>
1089
- Returns the value of attribute singlevalue
1090
- </p>
1091
-
1092
-
1093
- </div>
1094
- </div>
1095
- <div class="tags">
1096
-
1097
- </div><table class="source_code">
1098
- <tr>
1099
- <td>
1100
- <pre class="lines">
1101
-
1102
-
1103
- 452
1104
- 453
1105
- 454</pre>
1106
- </td>
1107
- <td>
1108
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 452</span>
1109
-
1110
- <span class='kw'>def</span> <span class='id singlevalue'>singlevalue</span>
1111
- <span class='ivar'>@singlevalue</span>
1112
- <span class='kw'>end</span></pre>
1113
- </td>
1114
- </tr>
1115
- </table>
1116
- </div>
1117
-
1118
-
1119
- <span id=""></span>
1120
- <span id="substr-instance_method"></span>
1121
- <div class="method_details ">
1122
- <p class="signature " id="substr-instance_method">
1123
-
1124
- - (<tt>Object</tt>) <strong>substr</strong> <span class="extras">(readonly)</span>
1125
-
1126
-
1127
-
1128
- </p><div class="docstring">
1129
- <div class="discussion">
1130
- <p>
1131
- Returns the value of attribute substr
1132
- </p>
1133
-
1134
-
1135
- </div>
1136
- </div>
1137
- <div class="tags">
1138
-
1139
- </div><table class="source_code">
1140
- <tr>
1141
- <td>
1142
- <pre class="lines">
1143
-
1144
-
1145
- 452
1146
- 453
1147
- 454</pre>
1148
- </td>
1149
- <td>
1150
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 452</span>
1151
-
1152
- <span class='kw'>def</span> <span class='id substr'>substr</span>
1153
- <span class='ivar'>@substr</span>
1154
- <span class='kw'>end</span></pre>
1155
- </td>
1156
- </tr>
1157
- </table>
1158
- </div>
1159
-
1160
-
1161
- <span id=""></span>
1162
- <span id="sup-instance_method"></span>
1163
- <div class="method_details ">
1164
- <p class="signature " id="sup-instance_method">
1165
-
1166
- - (<tt>Object</tt>) <strong>sup</strong> <span class="extras">(readonly)</span>
1167
-
1168
-
1169
-
1170
- </p><div class="docstring">
1171
- <div class="discussion">
1172
- <p>
1173
- Returns the value of attribute sup
1174
- </p>
1175
-
1176
-
1177
- </div>
1178
- </div>
1179
- <div class="tags">
1180
-
1181
- </div><table class="source_code">
1182
- <tr>
1183
- <td>
1184
- <pre class="lines">
1185
-
1186
-
1187
- 451
1188
- 452
1189
- 453</pre>
1190
- </td>
1191
- <td>
1192
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 451</span>
1193
-
1194
- <span class='kw'>def</span> <span class='id sup'>sup</span>
1195
- <span class='ivar'>@sup</span>
1196
- <span class='kw'>end</span></pre>
1197
- </td>
1198
- </tr>
1199
- </table>
1200
- </div>
1201
-
1202
-
1203
- <span id=""></span>
1204
- <span id="syntax-instance_method"></span>
1205
- <div class="method_details ">
1206
- <p class="signature " id="syntax-instance_method">
1207
-
1208
- - (<tt>Object</tt>) <strong>syntax</strong> <span class="extras">(readonly)</span>
1209
-
1210
-
1211
-
1212
- </p><div class="docstring">
1213
- <div class="discussion">
1214
- <p>
1215
- Returns the value of attribute syntax
1216
- </p>
1217
-
1218
-
1219
- </div>
1220
- </div>
1221
- <div class="tags">
1222
-
1223
- </div><table class="source_code">
1224
- <tr>
1225
- <td>
1226
- <pre class="lines">
1227
-
1228
-
1229
- 452
1230
- 453
1231
- 454</pre>
1232
- </td>
1233
- <td>
1234
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 452</span>
1235
-
1236
- <span class='kw'>def</span> <span class='id syntax'>syntax</span>
1237
- <span class='ivar'>@syntax</span>
1238
- <span class='kw'>end</span></pre>
1239
- </td>
1240
- </tr>
1241
- </table>
1242
- </div>
1243
-
1244
-
1245
- <span id=""></span>
1246
- <span id="usage-instance_method"></span>
1247
- <div class="method_details ">
1248
- <p class="signature " id="usage-instance_method">
1249
-
1250
- - (<tt>Object</tt>) <strong>usage</strong> <span class="extras">(readonly)</span>
1251
-
1252
-
1253
-
1254
- </p><div class="docstring">
1255
- <div class="discussion">
1256
- <p>
1257
- Returns the value of attribute usage
1258
- </p>
1259
-
1260
-
1261
- </div>
1262
- </div>
1263
- <div class="tags">
1264
-
1265
- </div><table class="source_code">
1266
- <tr>
1267
- <td>
1268
- <pre class="lines">
1269
-
1270
-
1271
- 453
1272
- 454
1273
- 455</pre>
1274
- </td>
1275
- <td>
1276
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 453</span>
1277
-
1278
- <span class='kw'>def</span> <span class='id usage'>usage</span>
1279
- <span class='ivar'>@usage</span>
1280
- <span class='kw'>end</span></pre>
1281
- </td>
1282
- </tr>
1283
- </table>
1284
- </div>
1285
-
1286
- </div>
1287
-
1288
-
1289
- <div id="instance_method_details" class="method_details_list">
1290
- <h2>Instance Method Details</h2>
1291
-
1292
-
1293
- <div class="method_details first">
1294
- <p class="signature first" id="changed-instance_method">
1295
-
1296
- - (<tt>Object</tt>) <strong>changed</strong>
1297
-
1298
-
1299
-
1300
- </p><table class="source_code">
1301
- <tr>
1302
- <td>
1303
- <pre class="lines">
1304
-
1305
-
1306
- 486
1307
- 487
1308
- 488</pre>
1309
- </td>
1310
- <td>
1311
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 486</span>
1312
-
1313
- <span class='kw'>def</span> <span class='id changed'>changed</span>
1314
- <span class='ivar'>@def</span> <span class='op'>=</span> <span class='kw'>nil</span>
1315
- <span class='kw'>end</span></pre>
1316
- </td>
1317
- </tr>
1318
- </table>
1319
- </div>
1320
-
1321
- <div class="method_details ">
1322
- <p class="signature " id="name-instance_method">
1323
-
1324
- - (<tt>Object</tt>) <strong>name</strong>
1325
-
1326
-
1327
-
1328
- </p><table class="source_code">
1329
- <tr>
1330
- <td>
1331
- <pre class="lines">
1332
-
1333
-
1334
- 478
1335
- 479
1336
- 480</pre>
1337
- </td>
1338
- <td>
1339
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 478</span>
1340
-
1341
- <span class='kw'>def</span> <span class='id name'>name</span>
1342
- <span class='ivar'>@names</span><span class='period'>.</span><span class='id first'>first</span>
1343
- <span class='kw'>end</span></pre>
1344
- </td>
1345
- </tr>
1346
- </table>
1347
- </div>
1348
-
1349
- <div class="method_details ">
1350
- <p class="signature " id="to_def-instance_method">
1351
-
1352
- - (<tt>Object</tt>) <strong>to_def</strong>
1353
-
1354
-
1355
-
1356
- </p><table class="source_code">
1357
- <tr>
1358
- <td>
1359
- <pre class="lines">
1360
-
1361
-
1362
- 490
1363
- 491
1364
- 492
1365
- 493
1366
- 494
1367
- 495
1368
- 496
1369
- 497
1370
- 498
1371
- 499
1372
- 500
1373
- 501
1374
- 502
1375
- 503
1376
- 504
1377
- 505
1378
- 506
1379
- 507
1380
- 508
1381
- 509
1382
- 510
1383
- 511
1384
- 512
1385
- 513
1386
- 514
1387
- 515</pre>
1388
- </td>
1389
- <td>
1390
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 490</span>
1391
-
1392
- <span class='kw'>def</span> <span class='id to_def'>to_def</span>
1393
- <span class='kw'>return</span> <span class='ivar'>@def</span> <span class='kw'>if</span> <span class='ivar'>@def</span>
1394
- <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>
1395
- <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>
1396
- <span class='comment'># nothing
1397
- </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>
1398
- <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>
1399
- <span class='kw'>else</span>
1400
- <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>
1401
- <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>
1402
- <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>
1403
- <span class='kw'>end</span>
1404
- <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>
1405
- <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>
1406
- <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'>SUP </span><span class='embexpr_beg'>#{</span><span class='ivar'>@sup</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'>@sup</span> <span class='comment'># oid
1407
- </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'>EQUALITY </span><span class='embexpr_beg'>#{</span><span class='ivar'>@equality</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'>@equality</span> <span class='comment'># oid
1408
- </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'>ORDERING </span><span class='embexpr_beg'>#{</span><span class='ivar'>@ordering</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'>@ordering</span> <span class='comment'># oid
1409
- </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'>SUBSTR </span><span class='embexpr_beg'>#{</span><span class='ivar'>@substr</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'>@substr</span> <span class='comment'># oid
1410
- </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'>SYNTAX </span><span class='embexpr_beg'>#{</span><span class='ivar'>@syntax</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@maxlen</span> <span class='op'>&amp;&amp;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>{</span><span class='embexpr_beg'>#{</span><span class='ivar'>@maxlen</span><span class='rbrace'>}</span><span class='tstring_content'>}</span><span class='tstring_end'>&quot;</span></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'>@syntax</span>
1411
- <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'>SINGLE-VALUE </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@singlevalue</span>
1412
- <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'>COLLECTIVE </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@collective</span>
1413
- <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'>NO-USER-MODIFICATION </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@nousermod</span>
1414
- <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'>USAGE </span><span class='embexpr_beg'>#{</span><span class='ivar'>@usage</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'>@usage</span>
1415
- <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>
1416
- <span class='ivar'>@def</span> <span class='op'>=</span> <span class='id ans'>ans</span>
1417
- <span class='kw'>end</span></pre>
1418
- </td>
1419
- </tr>
1420
- </table>
1421
- </div>
1422
-
1423
- <div class="method_details ">
1424
- <p class="signature " id="to_s-instance_method">
1425
-
1426
- - (<tt>Object</tt>) <strong>to_s</strong>
1427
-
1428
-
1429
-
1430
- </p><table class="source_code">
1431
- <tr>
1432
- <td>
1433
- <pre class="lines">
1434
-
1435
-
1436
- 482
1437
- 483
1438
- 484</pre>
1439
- </td>
1440
- <td>
1441
- <pre class="code"><span class="info file"># File 'lib/ldap/server/schema.rb', line 482</span>
1442
-
1443
- <span class='kw'>def</span> <span class='id to_s'>to_s</span>
1444
- <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>
1445
- <span class='kw'>end</span></pre>
1446
- </td>
1447
- </tr>
1448
- </table>
1449
- </div>
1450
-
1451
- </div>
1452
-
1453
- </div>
1454
-
1455
- <div id="footer">
1456
- Generated on Mon Sep 13 13:27:17 2010 by
1457
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1458
- 0.6.0 (ruby-1.9.2).
1459
- </div>
1460
-
1461
- </body>
1462
- </html>