hakto 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/LICENSE +7 -0
  2. data/README.md +91 -0
  3. data/README_jp.md +92 -0
  4. data/Rakefile +18 -0
  5. data/doc/Hakto/SafeSDBM.html +318 -0
  6. data/doc/Hakto.html +139 -0
  7. data/doc/Object.html +143 -0
  8. data/doc/Rakefile.html +96 -0
  9. data/doc/SafeSDBMTest.html +591 -0
  10. data/doc/created.rid +4 -0
  11. data/doc/images/add.png +0 -0
  12. data/doc/images/brick.png +0 -0
  13. data/doc/images/brick_link.png +0 -0
  14. data/doc/images/bug.png +0 -0
  15. data/doc/images/bullet_black.png +0 -0
  16. data/doc/images/bullet_toggle_minus.png +0 -0
  17. data/doc/images/bullet_toggle_plus.png +0 -0
  18. data/doc/images/date.png +0 -0
  19. data/doc/images/delete.png +0 -0
  20. data/doc/images/find.png +0 -0
  21. data/doc/images/loadingAnimation.gif +0 -0
  22. data/doc/images/macFFBgHack.png +0 -0
  23. data/doc/images/package.png +0 -0
  24. data/doc/images/page_green.png +0 -0
  25. data/doc/images/page_white_text.png +0 -0
  26. data/doc/images/page_white_width.png +0 -0
  27. data/doc/images/plugin.png +0 -0
  28. data/doc/images/ruby.png +0 -0
  29. data/doc/images/tag_blue.png +0 -0
  30. data/doc/images/tag_green.png +0 -0
  31. data/doc/images/transparent.png +0 -0
  32. data/doc/images/wrench.png +0 -0
  33. data/doc/images/wrench_orange.png +0 -0
  34. data/doc/images/zoom.png +0 -0
  35. data/doc/index.html +84 -0
  36. data/doc/js/darkfish.js +153 -0
  37. data/doc/js/jquery.js +18 -0
  38. data/doc/js/navigation.js +142 -0
  39. data/doc/js/search.js +94 -0
  40. data/doc/js/search_index.js +1 -0
  41. data/doc/js/searcher.js +228 -0
  42. data/doc/rdoc.css +543 -0
  43. data/doc/table_of_contents.html +96 -0
  44. data/lib/hakto/safe_sdbm.rb +75 -0
  45. data/test/tb_safe_sdbm.rb +94 -0
  46. data/test/test.sdb.dir +0 -0
  47. data/test/test.sdb.pag +0 -0
  48. metadata +113 -0
@@ -0,0 +1,591 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class SafeSDBMTest - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>test/tb_safe_sdbm.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">Test::Unit::TestCase
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-capture_stdout">#capture_stdout</a>
74
+
75
+ <li><a href="#method-i-setup">#setup</a>
76
+
77
+ <li><a href="#method-i-test_add_get">#test_add_get</a>
78
+
79
+ <li><a href="#method-i-test_clear">#test_clear</a>
80
+
81
+ <li><a href="#method-i-test_db_path">#test_db_path</a>
82
+
83
+ <li><a href="#method-i-test_delete">#test_delete</a>
84
+
85
+ <li><a href="#method-i-test_each">#test_each</a>
86
+
87
+ <li><a href="#method-i-test_keys">#test_keys</a>
88
+
89
+ <li><a href="#method-i-test_length">#test_length</a>
90
+
91
+ <li><a href="#method-i-test_not_have_close_method">#test_not_have_close_method</a>
92
+
93
+ <li><a href="#method-i-test_print_each">#test_print_each</a>
94
+
95
+ <li><a href="#method-i-test_print_keys">#test_print_keys</a>
96
+
97
+ <li><a href="#method-i-test_print_values">#test_print_values</a>
98
+
99
+ </ul>
100
+ </nav>
101
+
102
+ </div>
103
+
104
+ <div id="project-metadata">
105
+ <nav id="fileindex-section" class="section project-section">
106
+ <h3 class="section-header">Pages</h3>
107
+
108
+ <ul>
109
+
110
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
111
+
112
+ </ul>
113
+ </nav>
114
+
115
+ <nav id="classindex-section" class="section project-section">
116
+ <h3 class="section-header">Class and Module Index</h3>
117
+
118
+ <ul class="link-list">
119
+
120
+ <li><a href="./Hakto.html">Hakto</a>
121
+
122
+ <li><a href="./Hakto/SafeSDBM.html">Hakto::SafeSDBM</a>
123
+
124
+ <li><a href="./Object.html">Object</a>
125
+
126
+ <li><a href="./SafeSDBMTest.html">SafeSDBMTest</a>
127
+
128
+ </ul>
129
+ </nav>
130
+
131
+ </div>
132
+ </nav>
133
+
134
+ <div id="documentation">
135
+ <h1 class="class">class SafeSDBMTest</h1>
136
+
137
+ <div id="description" class="description">
138
+
139
+ </div><!-- description -->
140
+
141
+
142
+
143
+
144
+ <section id="5Buntitled-5D" class="documentation-section">
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ <!-- Methods -->
154
+
155
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
156
+ <h3 class="section-header">Public Instance Methods</h3>
157
+
158
+
159
+ <div id="method-i-capture_stdout" class="method-detail ">
160
+
161
+ <div class="method-heading">
162
+ <span class="method-name">capture_stdout</span><span
163
+ class="method-args">() { || ... }</span>
164
+ <span class="method-click-advice">click to toggle source</span>
165
+ </div>
166
+
167
+
168
+ <div class="method-description">
169
+
170
+
171
+
172
+
173
+
174
+ <div class="method-source-code" id="capture_stdout-source">
175
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 10</span>
176
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">capture_stdout</span>(&amp;<span class="ruby-identifier">block</span>)
177
+ <span class="ruby-identifier">original_stdout</span> = <span class="ruby-identifier">$stdout</span>
178
+ <span class="ruby-identifier">$stdout</span> = <span class="ruby-identifier">fake</span> = <span class="ruby-constant">StringIO</span>.<span class="ruby-identifier">new</span>
179
+ <span class="ruby-keyword">begin</span>
180
+ <span class="ruby-keyword">yield</span>
181
+ <span class="ruby-keyword">ensure</span>
182
+ <span class="ruby-identifier">$stdout</span> = <span class="ruby-identifier">original_stdout</span>
183
+ <span class="ruby-keyword">end</span>
184
+ <span class="ruby-identifier">fake</span>.<span class="ruby-identifier">string</span>
185
+ <span class="ruby-keyword">end</span></pre>
186
+ </div><!-- capture_stdout-source -->
187
+
188
+ </div>
189
+
190
+
191
+
192
+
193
+ </div><!-- capture_stdout-method -->
194
+
195
+
196
+ <div id="method-i-setup" class="method-detail ">
197
+
198
+ <div class="method-heading">
199
+ <span class="method-name">setup</span><span
200
+ class="method-args">()</span>
201
+ <span class="method-click-advice">click to toggle source</span>
202
+ </div>
203
+
204
+
205
+ <div class="method-description">
206
+
207
+
208
+
209
+
210
+
211
+ <div class="method-source-code" id="setup-source">
212
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 21</span>
213
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">setup</span>
214
+ <span class="ruby-ivar">@safe_sdbm</span> = <span class="ruby-constant">SafeSDBM</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;test.sdb&quot;</span>)
215
+ <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;hage&quot;</span>] = <span class="ruby-string">&quot;HAGE&quot;</span>
216
+ <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;fuga&quot;</span>] = <span class="ruby-string">&quot;FUGA&quot;</span>
217
+ <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;siga&quot;</span>] = <span class="ruby-string">&quot;SIGA&quot;</span>
218
+ <span class="ruby-keyword">end</span></pre>
219
+ </div><!-- setup-source -->
220
+
221
+ </div>
222
+
223
+
224
+
225
+
226
+ </div><!-- setup-method -->
227
+
228
+
229
+ <div id="method-i-test_add_get" class="method-detail ">
230
+
231
+ <div class="method-heading">
232
+ <span class="method-name">test_add_get</span><span
233
+ class="method-args">()</span>
234
+ <span class="method-click-advice">click to toggle source</span>
235
+ </div>
236
+
237
+
238
+ <div class="method-description">
239
+
240
+
241
+
242
+
243
+
244
+ <div class="method-source-code" id="test_add_get-source">
245
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 33</span>
246
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_add_get</span>
247
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;HAGE&quot;</span>, <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;hage&quot;</span>])
248
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;FUGA&quot;</span>, <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;fuga&quot;</span>])
249
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;SIGA&quot;</span>, <span class="ruby-ivar">@safe_sdbm</span>[<span class="ruby-string">&quot;siga&quot;</span>])
250
+ <span class="ruby-keyword">end</span></pre>
251
+ </div><!-- test_add_get-source -->
252
+
253
+ </div>
254
+
255
+
256
+
257
+
258
+ </div><!-- test_add_get-method -->
259
+
260
+
261
+ <div id="method-i-test_clear" class="method-detail ">
262
+
263
+ <div class="method-heading">
264
+ <span class="method-name">test_clear</span><span
265
+ class="method-args">()</span>
266
+ <span class="method-click-advice">click to toggle source</span>
267
+ </div>
268
+
269
+
270
+ <div class="method-description">
271
+
272
+
273
+
274
+
275
+
276
+ <div class="method-source-code" id="test_clear-source">
277
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 39</span>
278
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_clear</span>
279
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">clear</span>
280
+ <span class="ruby-identifier">assert_equal</span>([], <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">keys</span>)
281
+ <span class="ruby-keyword">end</span></pre>
282
+ </div><!-- test_clear-source -->
283
+
284
+ </div>
285
+
286
+
287
+
288
+
289
+ </div><!-- test_clear-method -->
290
+
291
+
292
+ <div id="method-i-test_db_path" class="method-detail ">
293
+
294
+ <div class="method-heading">
295
+ <span class="method-name">test_db_path</span><span
296
+ class="method-args">()</span>
297
+ <span class="method-click-advice">click to toggle source</span>
298
+ </div>
299
+
300
+
301
+ <div class="method-description">
302
+
303
+
304
+
305
+
306
+
307
+ <div class="method-source-code" id="test_db_path-source">
308
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 83</span>
309
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_db_path</span>
310
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;test.sdb&quot;</span>, <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">db_path</span>)
311
+ <span class="ruby-keyword">end</span></pre>
312
+ </div><!-- test_db_path-source -->
313
+
314
+ </div>
315
+
316
+
317
+
318
+
319
+ </div><!-- test_db_path-method -->
320
+
321
+
322
+ <div id="method-i-test_delete" class="method-detail ">
323
+
324
+ <div class="method-heading">
325
+ <span class="method-name">test_delete</span><span
326
+ class="method-args">()</span>
327
+ <span class="method-click-advice">click to toggle source</span>
328
+ </div>
329
+
330
+
331
+ <div class="method-description">
332
+
333
+
334
+
335
+
336
+
337
+ <div class="method-source-code" id="test_delete-source">
338
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 44</span>
339
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_delete</span>
340
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-string">&quot;fuga&quot;</span>)
341
+ <span class="ruby-identifier">assert_equal</span>([<span class="ruby-string">&quot;hage&quot;</span>, <span class="ruby-string">&quot;siga&quot;</span>], <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">keys</span>)
342
+ <span class="ruby-keyword">end</span></pre>
343
+ </div><!-- test_delete-source -->
344
+
345
+ </div>
346
+
347
+
348
+
349
+
350
+ </div><!-- test_delete-method -->
351
+
352
+
353
+ <div id="method-i-test_each" class="method-detail ">
354
+
355
+ <div class="method-heading">
356
+ <span class="method-name">test_each</span><span
357
+ class="method-args">()</span>
358
+ <span class="method-click-advice">click to toggle source</span>
359
+ </div>
360
+
361
+
362
+ <div class="method-description">
363
+
364
+
365
+
366
+
367
+
368
+ <div class="method-source-code" id="test_each-source">
369
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 53</span>
370
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_each</span>
371
+ <span class="ruby-identifier">result</span> = <span class="ruby-string">&quot;&quot;</span>
372
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">each</span>
373
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
374
+ <span class="ruby-identifier">result</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot;#{key}:#{value},&quot;</span>
375
+ <span class="ruby-keyword">end</span>
376
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;hage:HAGE,fuga:FUGA,siga:SIGA,&quot;</span>, <span class="ruby-identifier">result</span>)
377
+ <span class="ruby-keyword">end</span></pre>
378
+ </div><!-- test_each-source -->
379
+
380
+ </div>
381
+
382
+
383
+
384
+
385
+ </div><!-- test_each-method -->
386
+
387
+
388
+ <div id="method-i-test_keys" class="method-detail ">
389
+
390
+ <div class="method-heading">
391
+ <span class="method-name">test_keys</span><span
392
+ class="method-args">()</span>
393
+ <span class="method-click-advice">click to toggle source</span>
394
+ </div>
395
+
396
+
397
+ <div class="method-description">
398
+
399
+
400
+
401
+
402
+
403
+ <div class="method-source-code" id="test_keys-source">
404
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 49</span>
405
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_keys</span>
406
+ <span class="ruby-identifier">assert_equal</span>([<span class="ruby-string">&quot;hage&quot;</span>, <span class="ruby-string">&quot;fuga&quot;</span>, <span class="ruby-string">&quot;siga&quot;</span>], <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">keys</span>)
407
+ <span class="ruby-keyword">end</span></pre>
408
+ </div><!-- test_keys-source -->
409
+
410
+ </div>
411
+
412
+
413
+
414
+
415
+ </div><!-- test_keys-method -->
416
+
417
+
418
+ <div id="method-i-test_length" class="method-detail ">
419
+
420
+ <div class="method-heading">
421
+ <span class="method-name">test_length</span><span
422
+ class="method-args">()</span>
423
+ <span class="method-click-advice">click to toggle source</span>
424
+ </div>
425
+
426
+
427
+ <div class="method-description">
428
+
429
+
430
+
431
+
432
+
433
+ <div class="method-source-code" id="test_length-source">
434
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 87</span>
435
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_length</span>
436
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">3</span>, <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">length</span>)
437
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">3</span>, <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">size</span>)
438
+ <span class="ruby-keyword">end</span></pre>
439
+ </div><!-- test_length-source -->
440
+
441
+ </div>
442
+
443
+
444
+
445
+
446
+ </div><!-- test_length-method -->
447
+
448
+
449
+ <div id="method-i-test_not_have_close_method" class="method-detail ">
450
+
451
+ <div class="method-heading">
452
+ <span class="method-name">test_not_have_close_method</span><span
453
+ class="method-args">()</span>
454
+ <span class="method-click-advice">click to toggle source</span>
455
+ </div>
456
+
457
+
458
+ <div class="method-description">
459
+
460
+
461
+
462
+
463
+
464
+ <div class="method-source-code" id="test_not_have_close_method-source">
465
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 28</span>
466
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_not_have_close_method</span>
467
+ <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-constant">SafeSDBM</span>.<span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value">:close</span>))
468
+ <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-constant">SafeSDBM</span>.<span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value">:closed?</span>))
469
+ <span class="ruby-keyword">end</span></pre>
470
+ </div><!-- test_not_have_close_method-source -->
471
+
472
+ </div>
473
+
474
+
475
+
476
+
477
+ </div><!-- test_not_have_close_method-method -->
478
+
479
+
480
+ <div id="method-i-test_print_each" class="method-detail ">
481
+
482
+ <div class="method-heading">
483
+ <span class="method-name">test_print_each</span><span
484
+ class="method-args">()</span>
485
+ <span class="method-click-advice">click to toggle source</span>
486
+ </div>
487
+
488
+
489
+ <div class="method-description">
490
+
491
+
492
+
493
+
494
+
495
+ <div class="method-source-code" id="test_print_each-source">
496
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 69</span>
497
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_print_each</span>
498
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">capture_stdout</span> <span class="ruby-keyword">do</span>
499
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">print_each</span>
500
+ <span class="ruby-keyword">end</span>
501
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;[hage]:HAGE\n[fuga]:FUGA\n[siga]:SIGA\n&quot;</span>, <span class="ruby-identifier">result</span>)
502
+ <span class="ruby-keyword">end</span></pre>
503
+ </div><!-- test_print_each-source -->
504
+
505
+ </div>
506
+
507
+
508
+
509
+
510
+ </div><!-- test_print_each-method -->
511
+
512
+
513
+ <div id="method-i-test_print_keys" class="method-detail ">
514
+
515
+ <div class="method-heading">
516
+ <span class="method-name">test_print_keys</span><span
517
+ class="method-args">()</span>
518
+ <span class="method-click-advice">click to toggle source</span>
519
+ </div>
520
+
521
+
522
+ <div class="method-description">
523
+
524
+
525
+
526
+
527
+
528
+ <div class="method-source-code" id="test_print_keys-source">
529
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 62</span>
530
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_print_keys</span>
531
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">capture_stdout</span> <span class="ruby-keyword">do</span>
532
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">print_keys</span>
533
+ <span class="ruby-keyword">end</span>
534
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;hage, fuga, siga, &quot;</span>, <span class="ruby-identifier">result</span>)
535
+ <span class="ruby-keyword">end</span></pre>
536
+ </div><!-- test_print_keys-source -->
537
+
538
+ </div>
539
+
540
+
541
+
542
+
543
+ </div><!-- test_print_keys-method -->
544
+
545
+
546
+ <div id="method-i-test_print_values" class="method-detail ">
547
+
548
+ <div class="method-heading">
549
+ <span class="method-name">test_print_values</span><span
550
+ class="method-args">()</span>
551
+ <span class="method-click-advice">click to toggle source</span>
552
+ </div>
553
+
554
+
555
+ <div class="method-description">
556
+
557
+
558
+
559
+
560
+
561
+ <div class="method-source-code" id="test_print_values-source">
562
+ <pre><span class="ruby-comment"># File test/tb_safe_sdbm.rb, line 76</span>
563
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_print_values</span>
564
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">capture_stdout</span> <span class="ruby-keyword">do</span>
565
+ <span class="ruby-ivar">@safe_sdbm</span>.<span class="ruby-identifier">print_values</span>
566
+ <span class="ruby-keyword">end</span>
567
+ <span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">&quot;HAGE, FUGA, SIGA, &quot;</span>, <span class="ruby-identifier">result</span>)
568
+ <span class="ruby-keyword">end</span></pre>
569
+ </div><!-- test_print_values-source -->
570
+
571
+ </div>
572
+
573
+
574
+
575
+
576
+ </div><!-- test_print_values-method -->
577
+
578
+
579
+ </section><!-- public-instance-method-details -->
580
+
581
+ </section><!-- 5Buntitled-5D -->
582
+
583
+ </div><!-- documentation -->
584
+
585
+
586
+ <footer id="validator-badges">
587
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
588
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
589
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
590
+ </footer>
591
+
data/doc/created.rid ADDED
@@ -0,0 +1,4 @@
1
+ Fri, 07 Dec 2012 10:17:43 +0900
2
+ ./Rakefile Fri, 07 Dec 2012 10:17:37 +0900
3
+ ./test/tb_safe_sdbm.rb Fri, 07 Dec 2012 10:14:15 +0900
4
+ ./lib/hakto/safe_sdbm.rb Fri, 07 Dec 2012 10:09:42 +0900
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file