cw 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +33 -0
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/.yardoc/proxy_types +0 -0
  6. data/cw.gemspec +1 -1
  7. data/doc/Alphabet.html +433 -0
  8. data/doc/AudioPlayer.html +805 -0
  9. data/doc/Book.html +3134 -0
  10. data/doc/BookDetails.html +664 -0
  11. data/doc/CW.html +849 -0
  12. data/doc/CWThreads.html +514 -0
  13. data/doc/Cl.html +1125 -0
  14. data/doc/CurrentWord.html +636 -0
  15. data/doc/CwDsl.html +1871 -0
  16. data/doc/CwEncoding.html +329 -0
  17. data/doc/FileDetails.html +236 -0
  18. data/doc/KeyInput.html +758 -0
  19. data/doc/MonitorKeys.html +482 -0
  20. data/doc/Numbers.html +433 -0
  21. data/doc/Params.html +352 -0
  22. data/doc/Print.html +1130 -0
  23. data/doc/Print/ProgressPrint.html +419 -0
  24. data/doc/Process.html +202 -0
  25. data/doc/Progress.html +337 -0
  26. data/doc/Randomize.html +959 -0
  27. data/doc/RepeatWord.html +816 -0
  28. data/doc/Rss.html +630 -0
  29. data/doc/Sentence.html +1457 -0
  30. data/doc/Spoken.html +215 -0
  31. data/doc/Str.html +771 -0
  32. data/doc/Stream.html +1401 -0
  33. data/doc/TestLetters.html +586 -0
  34. data/doc/TestWords.html +646 -0
  35. data/doc/Tester.html +3064 -0
  36. data/doc/Timing.html +1244 -0
  37. data/doc/ToneGenerator.html +2111 -0
  38. data/doc/Voice.html +273 -0
  39. data/doc/Words.html +1750 -0
  40. data/doc/_index.html +376 -0
  41. data/doc/class_list.html +58 -0
  42. data/doc/css/common.css +1 -0
  43. data/doc/css/full_list.css +57 -0
  44. data/doc/css/style.css +339 -0
  45. data/doc/file.README.html +148 -0
  46. data/doc/file_list.html +60 -0
  47. data/doc/frames.html +26 -0
  48. data/doc/index.html +148 -0
  49. data/doc/js/app.js +219 -0
  50. data/doc/js/full_list.js +181 -0
  51. data/doc/js/jquery.js +4 -0
  52. data/doc/method_list.html +2697 -0
  53. data/doc/monitor.html +435 -0
  54. data/doc/top-level-namespace.html +114 -0
  55. metadata +53 -1
@@ -0,0 +1,646 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: TestWords
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!TestWords.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (T)</a> &raquo;
35
+
36
+
37
+ <span class="title">TestWords</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: TestWords
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="FileDetails.html" title="FileDetails (class)">FileDetails</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="FileDetails.html" title="FileDetails (class)">FileDetails</a></span></li>
82
+
83
+ <li class="next">TestWords</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dt class="r2">Includes:</dt>
96
+ <dd class="r2"><span class='object_link'><a href="Tester.html" title="Tester (module)">Tester</a></span></dd>
97
+
98
+
99
+
100
+
101
+
102
+ <dt class="r1 last">Defined in:</dt>
103
+ <dd class="r1 last">lib/cw/test_words.rb</dd>
104
+
105
+ </dl>
106
+ <div class="clear"></div>
107
+
108
+
109
+ <h2>Constant Summary</h2>
110
+
111
+
112
+
113
+
114
+ <h2>Constant Summary</h2>
115
+
116
+ <h3 class="inherited">Constants inherited
117
+ from <span class='object_link'><a href="FileDetails.html" title="FileDetails (class)">FileDetails</a></span></h3>
118
+ <p class="inherited"><span class='object_link'><a href="FileDetails.html#AUDIO-constant" title="FileDetails::AUDIO (constant)">FileDetails::AUDIO</a></span>, <span class='object_link'><a href="FileDetails.html#HERE-constant" title="FileDetails::HERE (constant)">FileDetails::HERE</a></span>, <span class='object_link'><a href="FileDetails.html#TEXT-constant" title="FileDetails::TEXT (constant)">FileDetails::TEXT</a></span></p>
119
+
120
+
121
+
122
+
123
+
124
+
125
+ <h2>
126
+ Instance Method Summary
127
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
128
+ </h2>
129
+
130
+ <ul class="summary">
131
+
132
+ <li class="public ">
133
+ <span class="summary_signature">
134
+
135
+ <a href="#build_word_maybe-instance_method" title="#build_word_maybe (instance method)">- (Object) <strong>build_word_maybe</strong> </a>
136
+
137
+
138
+
139
+ </span>
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <span class="summary_desc"><div class='inline'></div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (TestWords) <strong>initialize</strong> </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+ <span class="note title constructor">constructor</span>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <span class="summary_desc"><div class='inline'>
174
+ <p>A new instance of TestWords.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ <li class="public ">
181
+ <span class="summary_signature">
182
+
183
+ <a href="#print_failed_exit_words-instance_method" title="#print_failed_exit_words (instance method)">- (Object) <strong>print_failed_exit_words</strong> </a>
184
+
185
+
186
+
187
+ </span>
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <span class="summary_desc"><div class='inline'></div></span>
198
+
199
+ </li>
200
+
201
+
202
+ <li class="public ">
203
+ <span class="summary_signature">
204
+
205
+ <a href="#print_marked_maybe-instance_method" title="#print_marked_maybe (instance method)">- (Object) <strong>print_marked_maybe</strong> </a>
206
+
207
+
208
+
209
+ </span>
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+ <span class="summary_desc"><div class='inline'></div></span>
220
+
221
+ </li>
222
+
223
+
224
+ <li class="public ">
225
+ <span class="summary_signature">
226
+
227
+ <a href="#print_test_advice-instance_method" title="#print_test_advice (instance method)">- (Object) <strong>print_test_advice</strong> </a>
228
+
229
+
230
+
231
+ </span>
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <span class="summary_desc"><div class='inline'></div></span>
242
+
243
+ </li>
244
+
245
+
246
+ <li class="public ">
247
+ <span class="summary_signature">
248
+
249
+ <a href="#print_words-instance_method" title="#print_words (instance method)">- (Object) <strong>print_words</strong>(words) </a>
250
+
251
+
252
+
253
+ </span>
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ <span class="summary_desc"><div class='inline'></div></span>
264
+
265
+ </li>
266
+
267
+
268
+ <li class="public ">
269
+ <span class="summary_signature">
270
+
271
+ <a href="#process_input_word_maybe-instance_method" title="#process_input_word_maybe (instance method)">- (Object) <strong>process_input_word_maybe</strong> </a>
272
+
273
+
274
+
275
+ </span>
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+ <span class="summary_desc"><div class='inline'></div></span>
286
+
287
+ </li>
288
+
289
+
290
+ <li class="public ">
291
+ <span class="summary_signature">
292
+
293
+ <a href="#process_letter-instance_method" title="#process_letter (instance method)">- (Object) <strong>process_letter</strong>(letr) </a>
294
+
295
+
296
+
297
+ </span>
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+ <span class="summary_desc"><div class='inline'></div></span>
308
+
309
+ </li>
310
+
311
+
312
+ </ul>
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Tester.html" title="Tester (module)">Tester</a></span></h3>
325
+ <p class="inherited"><span class='object_link'><a href="Tester.html#add_space-instance_method" title="Tester#add_space (method)">#add_space</a></span>, <span class='object_link'><a href="Tester.html#audio-instance_method" title="Tester#audio (method)">#audio</a></span>, <span class='object_link'><a href="Tester.html#audio_play-instance_method" title="Tester#audio_play (method)">#audio_play</a></span>, <span class='object_link'><a href="Tester.html#audio_still_playing%3F-instance_method" title="Tester#audio_still_playing? (method)">#audio_still_playing?</a></span>, <span class='object_link'><a href="Tester.html#audio_stop-instance_method" title="Tester#audio_stop (method)">#audio_stop</a></span>, <span class='object_link'><a href="Tester.html#check_quit_key_input-instance_method" title="Tester#check_quit_key_input (method)">#check_quit_key_input</a></span>, <span class='object_link'><a href="Tester.html#complete_word%3F-instance_method" title="Tester#complete_word? (method)">#complete_word?</a></span>, <span class='object_link'><a href="Tester.html#current_word-instance_method" title="Tester#current_word (method)">#current_word</a></span>, <span class='object_link'><a href="Tester.html#empty_string-instance_method" title="Tester#empty_string (method)">#empty_string</a></span>, <span class='object_link'><a href="Tester.html#get_key_input-instance_method" title="Tester#get_key_input (method)">#get_key_input</a></span>, <span class='object_link'><a href="Tester.html#get_word_last_char-instance_method" title="Tester#get_word_last_char (method)">#get_word_last_char</a></span>, <span class='object_link'><a href="Tester.html#global_quit-instance_method" title="Tester#global_quit (method)">#global_quit</a></span>, <span class='object_link'><a href="Tester.html#global_quit%3F-instance_method" title="Tester#global_quit? (method)">#global_quit?</a></span>, <span class='object_link'><a href="Tester.html#init_char_timer-instance_method" title="Tester#init_char_timer (method)">#init_char_timer</a></span>, <span class='object_link'><a href="Tester.html#is_relevant_char%3F-instance_method" title="Tester#is_relevant_char? (method)">#is_relevant_char?</a></span>, <span class='object_link'><a href="Tester.html#key_chr-instance_method" title="Tester#key_chr (method)">#key_chr</a></span>, <span class='object_link'><a href="Tester.html#key_input-instance_method" title="Tester#key_input (method)">#key_input</a></span>, <span class='object_link'><a href="Tester.html#kill_threads-instance_method" title="Tester#kill_threads (method)">#kill_threads</a></span>, <span class='object_link'><a href="Tester.html#monitor_keys-instance_method" title="Tester#monitor_keys (method)">#monitor_keys</a></span>, <span class='object_link'><a href="Tester.html#monitor_keys_thread-instance_method" title="Tester#monitor_keys_thread (method)">#monitor_keys_thread</a></span>, <span class='object_link'><a href="Tester.html#move_word_to_process-instance_method" title="Tester#move_word_to_process (method)">#move_word_to_process</a></span>, <span class='object_link'><a href="Tester.html#play_words_exit-instance_method" title="Tester#play_words_exit (method)">#play_words_exit</a></span>, <span class='object_link'><a href="Tester.html#play_words_thread-instance_method" title="Tester#play_words_thread (method)">#play_words_thread</a></span>, <span class='object_link'><a href="Tester.html#play_words_until_quit-instance_method" title="Tester#play_words_until_quit (method)">#play_words_until_quit</a></span>, <span class='object_link'><a href="Tester.html#print-instance_method" title="Tester#print (method)">#print</a></span>, <span class='object_link'><a href="Tester.html#print_letters%3F-instance_method" title="Tester#print_letters? (method)">#print_letters?</a></span>, <span class='object_link'><a href="Tester.html#print_words_exit-instance_method" title="Tester#print_words_exit (method)">#print_words_exit</a></span>, <span class='object_link'><a href="Tester.html#print_words_thread-instance_method" title="Tester#print_words_thread (method)">#print_words_thread</a></span>, <span class='object_link'><a href="Tester.html#print_words_until_quit-instance_method" title="Tester#print_words_until_quit (method)">#print_words_until_quit</a></span>, <span class='object_link'><a href="Tester.html#process_space_maybe-instance_method" title="Tester#process_space_maybe (method)">#process_space_maybe</a></span>, <span class='object_link'><a href="Tester.html#process_word_maybe-instance_method" title="Tester#process_word_maybe (method)">#process_word_maybe</a></span>, <span class='object_link'><a href="Tester.html#push_letter_to_current_word-instance_method" title="Tester#push_letter_to_current_word (method)">#push_letter_to_current_word</a></span>, <span class='object_link'><a href="Tester.html#quit-instance_method" title="Tester#quit (method)">#quit</a></span>, <span class='object_link'><a href="Tester.html#quit%3F-instance_method" title="Tester#quit? (method)">#quit?</a></span>, <span class='object_link'><a href="Tester.html#quit_key_input%3F-instance_method" title="Tester#quit_key_input? (method)">#quit_key_input?</a></span>, <span class='object_link'><a href="Tester.html#reset_stdin-instance_method" title="Tester#reset_stdin (method)">#reset_stdin</a></span>, <span class='object_link'><a href="Tester.html#run-instance_method" title="Tester#run (method)">#run</a></span>, <span class='object_link'><a href="Tester.html#sleep_char_delay-instance_method" title="Tester#sleep_char_delay (method)">#sleep_char_delay</a></span>, <span class='object_link'><a href="Tester.html#space-instance_method" title="Tester#space (method)">#space</a></span>, <span class='object_link'><a href="Tester.html#spawn_play-instance_method" title="Tester#spawn_play (method)">#spawn_play</a></span>, <span class='object_link'><a href="Tester.html#start_sync-instance_method" title="Tester#start_sync (method)">#start_sync</a></span>, <span class='object_link'><a href="Tester.html#start_sync%3F-instance_method" title="Tester#start_sync? (method)">#start_sync?</a></span>, <span class='object_link'><a href="Tester.html#stream-instance_method" title="Tester#stream (method)">#stream</a></span>, <span class='object_link'><a href="Tester.html#sync_with_audio_player-instance_method" title="Tester#sync_with_audio_player (method)">#sync_with_audio_player</a></span>, <span class='object_link'><a href="Tester.html#sync_with_play-instance_method" title="Tester#sync_with_play (method)">#sync_with_play</a></span>, <span class='object_link'><a href="Tester.html#sync_with_print-instance_method" title="Tester#sync_with_print (method)">#sync_with_print</a></span>, <span class='object_link'><a href="Tester.html#thread_processes-instance_method" title="Tester#thread_processes (method)">#thread_processes</a></span>, <span class='object_link'><a href="Tester.html#timing-instance_method" title="Tester#timing (method)">#timing</a></span>, <span class='object_link'><a href="Tester.html#wait_for_no_word_process-instance_method" title="Tester#wait_for_no_word_process (method)">#wait_for_no_word_process</a></span>, <span class='object_link'><a href="Tester.html#wait_for_start_sync-instance_method" title="Tester#wait_for_start_sync (method)">#wait_for_start_sync</a></span>, <span class='object_link'><a href="Tester.html#wait_player_startup_delay-instance_method" title="Tester#wait_player_startup_delay (method)">#wait_player_startup_delay</a></span></p>
326
+
327
+
328
+
329
+
330
+
331
+
332
+ <div id="constructor_details" class="method_details_list">
333
+ <h2>Constructor Details</h2>
334
+
335
+ <div class="method_details first">
336
+ <h3 class="signature first" id="initialize-instance_method">
337
+
338
+ - (<tt><span class='object_link'><a href="" title="TestWords (class)">TestWords</a></span></tt>) <strong>initialize</strong>
339
+
340
+
341
+
342
+
343
+
344
+ </h3><div class="docstring">
345
+ <div class="discussion">
346
+
347
+ <p>Returns a new instance of TestWords</p>
348
+
349
+
350
+ </div>
351
+ </div>
352
+ <div class="tags">
353
+
354
+
355
+ </div><table class="source_code">
356
+ <tr>
357
+ <td>
358
+ <pre class="lines">
359
+
360
+
361
+ 7
362
+ 8
363
+ 9
364
+ 10
365
+ 11
366
+ 12
367
+ 13</pre>
368
+ </td>
369
+ <td>
370
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 7</span>
371
+
372
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
373
+ <span class='ivar'>@print_letters</span> <span class='op'>=</span> <span class='const'>Params</span><span class='period'>.</span><span class='id identifier rubyid_print_letters'>print_letters</span>
374
+
375
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
376
+
377
+ <span class='comment'># print_test_advice
378
+ </span><span class='kw'>end</span></pre>
379
+ </td>
380
+ </tr>
381
+ </table>
382
+ </div>
383
+
384
+ </div>
385
+
386
+
387
+ <div id="instance_method_details" class="method_details_list">
388
+ <h2>Instance Method Details</h2>
389
+
390
+
391
+ <div class="method_details first">
392
+ <h3 class="signature first" id="build_word_maybe-instance_method">
393
+
394
+ - (<tt>Object</tt>) <strong>build_word_maybe</strong>
395
+
396
+
397
+
398
+
399
+
400
+ </h3><table class="source_code">
401
+ <tr>
402
+ <td>
403
+ <pre class="lines">
404
+
405
+
406
+ 44
407
+ 45
408
+ 46
409
+ 47
410
+ 48</pre>
411
+ </td>
412
+ <td>
413
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 44</span>
414
+
415
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_word_maybe'>build_word_maybe</span>
416
+ <span class='ivar'>@input_word</span> <span class='op'>||=</span> <span class='id identifier rubyid_empty_string'>empty_string</span>
417
+ <span class='ivar'>@input_word</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_key_chr'>key_chr</span> <span class='kw'>if</span> <span class='id identifier rubyid_is_relevant_char?'>is_relevant_char?</span>
418
+ <span class='id identifier rubyid_move_word_to_process'>move_word_to_process</span> <span class='kw'>if</span> <span class='id identifier rubyid_complete_word?'>complete_word?</span>
419
+ <span class='kw'>end</span></pre>
420
+ </td>
421
+ </tr>
422
+ </table>
423
+ </div>
424
+
425
+ <div class="method_details ">
426
+ <h3 class="signature " id="print_failed_exit_words-instance_method">
427
+
428
+ - (<tt>Object</tt>) <strong>print_failed_exit_words</strong>
429
+
430
+
431
+
432
+
433
+
434
+ </h3><table class="source_code">
435
+ <tr>
436
+ <td>
437
+ <pre class="lines">
438
+
439
+
440
+ 17
441
+ 18
442
+ 19
443
+ 20
444
+ 21</pre>
445
+ </td>
446
+ <td>
447
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 17</span>
448
+
449
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_failed_exit_words'>print_failed_exit_words</span>
450
+ <span class='kw'>until</span> <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_stream_empty?'>stream_empty?</span>
451
+ <span class='id identifier rubyid_print'>print</span><span class='period'>.</span><span class='id identifier rubyid_prn_red'>prn_red</span> <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</span><span class='lbracket'>[</span><span class='symbol'>:value</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span>
452
+ <span class='kw'>end</span>
453
+ <span class='kw'>end</span></pre>
454
+ </td>
455
+ </tr>
456
+ </table>
457
+ </div>
458
+
459
+ <div class="method_details ">
460
+ <h3 class="signature " id="print_marked_maybe-instance_method">
461
+
462
+ - (<tt>Object</tt>) <strong>print_marked_maybe</strong>
463
+
464
+
465
+
466
+
467
+
468
+ </h3><table class="source_code">
469
+ <tr>
470
+ <td>
471
+ <pre class="lines">
472
+
473
+
474
+ 55
475
+ 56
476
+ 57
477
+ 58</pre>
478
+ </td>
479
+ <td>
480
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 55</span>
481
+
482
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_marked_maybe'>print_marked_maybe</span>
483
+ <span class='ivar'>@popped</span> <span class='op'>=</span> <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_pop_next_marked'>pop_next_marked</span>
484
+ <span class='id identifier rubyid_print'>print</span><span class='period'>.</span><span class='id identifier rubyid_results'>results</span><span class='lparen'>(</span><span class='ivar'>@popped</span><span class='rparen'>)</span> <span class='kw'>if</span><span class='lparen'>(</span><span class='ivar'>@popped</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span> <span class='id identifier rubyid_print_letters?'>print_letters?</span><span class='rparen'>)</span>
485
+ <span class='kw'>end</span></pre>
486
+ </td>
487
+ </tr>
488
+ </table>
489
+ </div>
490
+
491
+ <div class="method_details ">
492
+ <h3 class="signature " id="print_test_advice-instance_method">
493
+
494
+ - (<tt>Object</tt>) <strong>print_test_advice</strong>
495
+
496
+
497
+
498
+
499
+
500
+ </h3><table class="source_code">
501
+ <tr>
502
+ <td>
503
+ <pre class="lines">
504
+
505
+
506
+ 15</pre>
507
+ </td>
508
+ <td>
509
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 15</span>
510
+
511
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_test_advice'>print_test_advice</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_print'>print</span><span class='period'>.</span><span class='id identifier rubyid_print_advice'>print_advice</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Test Words</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
512
+ </td>
513
+ </tr>
514
+ </table>
515
+ </div>
516
+
517
+ <div class="method_details ">
518
+ <h3 class="signature " id="print_words-instance_method">
519
+
520
+ - (<tt>Object</tt>) <strong>print_words</strong>(words)
521
+
522
+
523
+
524
+
525
+
526
+ </h3><table class="source_code">
527
+ <tr>
528
+ <td>
529
+ <pre class="lines">
530
+
531
+
532
+ 23
533
+ 24
534
+ 25
535
+ 26
536
+ 27
537
+ 28
538
+ 29
539
+ 30
540
+ 31
541
+ 32
542
+ 33
543
+ 34
544
+ 35</pre>
545
+ </td>
546
+ <td>
547
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 23</span>
548
+
549
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_words'>print_words</span> <span class='id identifier rubyid_words'>words</span>
550
+ <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_init_char_timer'>init_char_timer</span>
551
+ <span class='lparen'>(</span><span class='id identifier rubyid_words'>words</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='id identifier rubyid_space'>space</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each_char'>each_char</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_letr'>letr</span><span class='op'>|</span>
552
+ <span class='id identifier rubyid_process_letter'>process_letter</span> <span class='id identifier rubyid_letr'>letr</span>
553
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
554
+ <span class='id identifier rubyid_process_space_maybe'>process_space_maybe</span> <span class='id identifier rubyid_letr'>letr</span>
555
+ <span class='id identifier rubyid_process_word_maybe'>process_word_maybe</span>
556
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_char_delay_timeout?'>char_delay_timeout?</span>
557
+ <span class='kw'>end</span>
558
+ <span class='id identifier rubyid_print'>print</span><span class='period'>.</span><span class='id identifier rubyid_prn'>prn</span> <span class='id identifier rubyid_letr'>letr</span> <span class='kw'>if</span> <span class='id identifier rubyid_print_letters?'>print_letters?</span>
559
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
560
+ <span class='kw'>end</span>
561
+ <span class='kw'>end</span></pre>
562
+ </td>
563
+ </tr>
564
+ </table>
565
+ </div>
566
+
567
+ <div class="method_details ">
568
+ <h3 class="signature " id="process_input_word_maybe-instance_method">
569
+
570
+ - (<tt>Object</tt>) <strong>process_input_word_maybe</strong>
571
+
572
+
573
+
574
+
575
+
576
+ </h3><table class="source_code">
577
+ <tr>
578
+ <td>
579
+ <pre class="lines">
580
+
581
+
582
+ 37
583
+ 38
584
+ 39
585
+ 40
586
+ 41
587
+ 42</pre>
588
+ </td>
589
+ <td>
590
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 37</span>
591
+
592
+ <span class='kw'>def</span> <span class='id identifier rubyid_process_input_word_maybe'>process_input_word_maybe</span>
593
+ <span class='kw'>if</span> <span class='ivar'>@word_to_process</span>
594
+ <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_match_last_active_element'>match_last_active_element</span> <span class='ivar'>@process_input_word</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span>
595
+ <span class='ivar'>@process_input_word</span> <span class='op'>=</span> <span class='ivar'>@word_to_process</span> <span class='op'>=</span> <span class='kw'>nil</span>
596
+ <span class='kw'>end</span>
597
+ <span class='kw'>end</span></pre>
598
+ </td>
599
+ </tr>
600
+ </table>
601
+ </div>
602
+
603
+ <div class="method_details ">
604
+ <h3 class="signature " id="process_letter-instance_method">
605
+
606
+ - (<tt>Object</tt>) <strong>process_letter</strong>(letr)
607
+
608
+
609
+
610
+
611
+
612
+ </h3><table class="source_code">
613
+ <tr>
614
+ <td>
615
+ <pre class="lines">
616
+
617
+
618
+ 50
619
+ 51
620
+ 52
621
+ 53</pre>
622
+ </td>
623
+ <td>
624
+ <pre class="code"><span class="info file"># File 'lib/cw/test_words.rb', line 50</span>
625
+
626
+ <span class='kw'>def</span> <span class='id identifier rubyid_process_letter'>process_letter</span> <span class='id identifier rubyid_letr'>letr</span>
627
+ <span class='id identifier rubyid_current_word'>current_word</span><span class='period'>.</span><span class='id identifier rubyid_process_letter'>process_letter</span> <span class='id identifier rubyid_letr'>letr</span>
628
+ <span class='id identifier rubyid_sleep_char_delay'>sleep_char_delay</span> <span class='id identifier rubyid_letr'>letr</span>
629
+ <span class='kw'>end</span></pre>
630
+ </td>
631
+ </tr>
632
+ </table>
633
+ </div>
634
+
635
+ </div>
636
+
637
+ </div>
638
+
639
+ <div id="footer">
640
+ Generated on Mon May 23 21:20:17 2016 by
641
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
642
+ 0.8.7.6 (ruby-2.2.0).
643
+ </div>
644
+
645
+ </body>
646
+ </html>