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,3064 @@
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
+ Module: Tester
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#!Tester.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">Tester</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>Module: Tester
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ <dt class="r1">Included in:</dt>
81
+ <dd class="r1"><span class='object_link'><a href="Book.html" title="Book (class)">Book</a></span>, <span class='object_link'><a href="RepeatWord.html" title="RepeatWord (class)">RepeatWord</a></span>, <span class='object_link'><a href="TestLetters.html" title="TestLetters (class)">TestLetters</a></span>, <span class='object_link'><a href="TestWords.html" title="TestWords (class)">TestWords</a></span></dd>
82
+
83
+
84
+
85
+ <dt class="r2 last">Defined in:</dt>
86
+ <dd class="r2 last">lib/cw/tester.rb</dd>
87
+
88
+ </dl>
89
+ <div class="clear"></div>
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <h2>
100
+ Instance Method Summary
101
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
102
+ </h2>
103
+
104
+ <ul class="summary">
105
+
106
+ <li class="public ">
107
+ <span class="summary_signature">
108
+
109
+ <a href="#add_space-instance_method" title="#add_space (instance method)">- (Object) <strong>add_space</strong>(words) </a>
110
+
111
+
112
+
113
+ </span>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <span class="summary_desc"><div class='inline'></div></span>
124
+
125
+ </li>
126
+
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#audio-instance_method" title="#audio (instance method)">- (Object) <strong>audio</strong> </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'></div></span>
146
+
147
+ </li>
148
+
149
+
150
+ <li class="public ">
151
+ <span class="summary_signature">
152
+
153
+ <a href="#audio_play-instance_method" title="#audio_play (instance method)">- (Object) <strong>audio_play</strong> </a>
154
+
155
+
156
+
157
+ </span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <span class="summary_desc"><div class='inline'></div></span>
168
+
169
+ </li>
170
+
171
+
172
+ <li class="public ">
173
+ <span class="summary_signature">
174
+
175
+ <a href="#audio_still_playing%3F-instance_method" title="#audio_still_playing? (instance method)">- (Boolean) <strong>audio_still_playing?</strong> </a>
176
+
177
+
178
+
179
+ </span>
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="summary_desc"><div class='inline'></div></span>
190
+
191
+ </li>
192
+
193
+
194
+ <li class="public ">
195
+ <span class="summary_signature">
196
+
197
+ <a href="#audio_stop-instance_method" title="#audio_stop (instance method)">- (Object) <strong>audio_stop</strong> </a>
198
+
199
+
200
+
201
+ </span>
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+ <span class="summary_desc"><div class='inline'></div></span>
212
+
213
+ </li>
214
+
215
+
216
+ <li class="public ">
217
+ <span class="summary_signature">
218
+
219
+ <a href="#check_quit_key_input-instance_method" title="#check_quit_key_input (instance method)">- (Object) <strong>check_quit_key_input</strong> </a>
220
+
221
+
222
+
223
+ </span>
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <span class="summary_desc"><div class='inline'></div></span>
234
+
235
+ </li>
236
+
237
+
238
+ <li class="public ">
239
+ <span class="summary_signature">
240
+
241
+ <a href="#complete_word%3F-instance_method" title="#complete_word? (instance method)">- (Boolean) <strong>complete_word?</strong> </a>
242
+
243
+
244
+
245
+ </span>
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+ <span class="summary_desc"><div class='inline'></div></span>
256
+
257
+ </li>
258
+
259
+
260
+ <li class="public ">
261
+ <span class="summary_signature">
262
+
263
+ <a href="#current_word-instance_method" title="#current_word (instance method)">- (Object) <strong>current_word</strong> </a>
264
+
265
+
266
+
267
+ </span>
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+ <span class="summary_desc"><div class='inline'></div></span>
278
+
279
+ </li>
280
+
281
+
282
+ <li class="public ">
283
+ <span class="summary_signature">
284
+
285
+ <a href="#empty_string-instance_method" title="#empty_string (instance method)">- (Object) <strong>empty_string</strong> </a>
286
+
287
+
288
+
289
+ </span>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+ <span class="summary_desc"><div class='inline'></div></span>
300
+
301
+ </li>
302
+
303
+
304
+ <li class="public ">
305
+ <span class="summary_signature">
306
+
307
+ <a href="#get_key_input-instance_method" title="#get_key_input (instance method)">- (Object) <strong>get_key_input</strong> </a>
308
+
309
+
310
+
311
+ </span>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+ <span class="summary_desc"><div class='inline'></div></span>
322
+
323
+ </li>
324
+
325
+
326
+ <li class="public ">
327
+ <span class="summary_signature">
328
+
329
+ <a href="#get_word_last_char-instance_method" title="#get_word_last_char (instance method)">- (Object) <strong>get_word_last_char</strong> </a>
330
+
331
+
332
+
333
+ </span>
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+ <span class="summary_desc"><div class='inline'></div></span>
344
+
345
+ </li>
346
+
347
+
348
+ <li class="public ">
349
+ <span class="summary_signature">
350
+
351
+ <a href="#global_quit-instance_method" title="#global_quit (instance method)">- (Object) <strong>global_quit</strong> </a>
352
+
353
+
354
+
355
+ </span>
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+ <span class="summary_desc"><div class='inline'></div></span>
366
+
367
+ </li>
368
+
369
+
370
+ <li class="public ">
371
+ <span class="summary_signature">
372
+
373
+ <a href="#global_quit%3F-instance_method" title="#global_quit? (instance method)">- (Boolean) <strong>global_quit?</strong> </a>
374
+
375
+
376
+
377
+ </span>
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+ <span class="summary_desc"><div class='inline'></div></span>
388
+
389
+ </li>
390
+
391
+
392
+ <li class="public ">
393
+ <span class="summary_signature">
394
+
395
+ <a href="#init_char_timer-instance_method" title="#init_char_timer (instance method)">- (Object) <strong>init_char_timer</strong> </a>
396
+
397
+
398
+
399
+ </span>
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+ <span class="summary_desc"><div class='inline'></div></span>
410
+
411
+ </li>
412
+
413
+
414
+ <li class="public ">
415
+ <span class="summary_signature">
416
+
417
+ <a href="#is_relevant_char%3F-instance_method" title="#is_relevant_char? (instance method)">- (Boolean) <strong>is_relevant_char?</strong> </a>
418
+
419
+
420
+
421
+ </span>
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ <span class="summary_desc"><div class='inline'></div></span>
432
+
433
+ </li>
434
+
435
+
436
+ <li class="public ">
437
+ <span class="summary_signature">
438
+
439
+ <a href="#key_chr-instance_method" title="#key_chr (instance method)">- (Object) <strong>key_chr</strong> </a>
440
+
441
+
442
+
443
+ </span>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+ <span class="summary_desc"><div class='inline'></div></span>
454
+
455
+ </li>
456
+
457
+
458
+ <li class="public ">
459
+ <span class="summary_signature">
460
+
461
+ <a href="#key_input-instance_method" title="#key_input (instance method)">- (Object) <strong>key_input</strong> </a>
462
+
463
+
464
+
465
+ </span>
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+ <span class="summary_desc"><div class='inline'></div></span>
476
+
477
+ </li>
478
+
479
+
480
+ <li class="public ">
481
+ <span class="summary_signature">
482
+
483
+ <a href="#kill_threads-instance_method" title="#kill_threads (instance method)">- (Object) <strong>kill_threads</strong> </a>
484
+
485
+
486
+
487
+ </span>
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+ <span class="summary_desc"><div class='inline'></div></span>
498
+
499
+ </li>
500
+
501
+
502
+ <li class="public ">
503
+ <span class="summary_signature">
504
+
505
+ <a href="#monitor_keys-instance_method" title="#monitor_keys (instance method)">- (Object) <strong>monitor_keys</strong> </a>
506
+
507
+
508
+
509
+ </span>
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+
519
+ <span class="summary_desc"><div class='inline'></div></span>
520
+
521
+ </li>
522
+
523
+
524
+ <li class="public ">
525
+ <span class="summary_signature">
526
+
527
+ <a href="#monitor_keys_thread-instance_method" title="#monitor_keys_thread (instance method)">- (Object) <strong>monitor_keys_thread</strong> </a>
528
+
529
+
530
+
531
+ </span>
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+ <span class="summary_desc"><div class='inline'></div></span>
542
+
543
+ </li>
544
+
545
+
546
+ <li class="public ">
547
+ <span class="summary_signature">
548
+
549
+ <a href="#move_word_to_process-instance_method" title="#move_word_to_process (instance method)">- (Object) <strong>move_word_to_process</strong> </a>
550
+
551
+
552
+
553
+ </span>
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+ <span class="summary_desc"><div class='inline'></div></span>
564
+
565
+ </li>
566
+
567
+
568
+ <li class="public ">
569
+ <span class="summary_signature">
570
+
571
+ <a href="#play_words_exit-instance_method" title="#play_words_exit (instance method)">- (Object) <strong>play_words_exit</strong> </a>
572
+
573
+
574
+
575
+ </span>
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+ <span class="summary_desc"><div class='inline'></div></span>
586
+
587
+ </li>
588
+
589
+
590
+ <li class="public ">
591
+ <span class="summary_signature">
592
+
593
+ <a href="#play_words_thread-instance_method" title="#play_words_thread (instance method)">- (Object) <strong>play_words_thread</strong> </a>
594
+
595
+
596
+
597
+ </span>
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+ <span class="summary_desc"><div class='inline'></div></span>
608
+
609
+ </li>
610
+
611
+
612
+ <li class="public ">
613
+ <span class="summary_signature">
614
+
615
+ <a href="#play_words_until_quit-instance_method" title="#play_words_until_quit (instance method)">- (Object) <strong>play_words_until_quit</strong> </a>
616
+
617
+
618
+
619
+ </span>
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+ <span class="summary_desc"><div class='inline'></div></span>
630
+
631
+ </li>
632
+
633
+
634
+ <li class="public ">
635
+ <span class="summary_signature">
636
+
637
+ <a href="#print-instance_method" title="#print (instance method)">- (Object) <strong>print</strong> </a>
638
+
639
+
640
+
641
+ </span>
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+ <span class="summary_desc"><div class='inline'></div></span>
652
+
653
+ </li>
654
+
655
+
656
+ <li class="public ">
657
+ <span class="summary_signature">
658
+
659
+ <a href="#print_failed_exit_words-instance_method" title="#print_failed_exit_words (instance method)">- (Object) <strong>print_failed_exit_words</strong> </a>
660
+
661
+
662
+
663
+ </span>
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+ <span class="summary_desc"><div class='inline'></div></span>
674
+
675
+ </li>
676
+
677
+
678
+ <li class="public ">
679
+ <span class="summary_signature">
680
+
681
+ <a href="#print_letters%3F-instance_method" title="#print_letters? (instance method)">- (Boolean) <strong>print_letters?</strong> </a>
682
+
683
+
684
+
685
+ </span>
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+ <span class="summary_desc"><div class='inline'></div></span>
696
+
697
+ </li>
698
+
699
+
700
+ <li class="public ">
701
+ <span class="summary_signature">
702
+
703
+ <a href="#print_words_exit-instance_method" title="#print_words_exit (instance method)">- (Object) <strong>print_words_exit</strong> </a>
704
+
705
+
706
+
707
+ </span>
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+ <span class="summary_desc"><div class='inline'></div></span>
718
+
719
+ </li>
720
+
721
+
722
+ <li class="public ">
723
+ <span class="summary_signature">
724
+
725
+ <a href="#print_words_thread-instance_method" title="#print_words_thread (instance method)">- (Object) <strong>print_words_thread</strong> </a>
726
+
727
+
728
+
729
+ </span>
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+ <span class="summary_desc"><div class='inline'></div></span>
740
+
741
+ </li>
742
+
743
+
744
+ <li class="public ">
745
+ <span class="summary_signature">
746
+
747
+ <a href="#print_words_until_quit-instance_method" title="#print_words_until_quit (instance method)">- (Object) <strong>print_words_until_quit</strong> </a>
748
+
749
+
750
+
751
+ </span>
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+ <span class="summary_desc"><div class='inline'></div></span>
762
+
763
+ </li>
764
+
765
+
766
+ <li class="public ">
767
+ <span class="summary_signature">
768
+
769
+ <a href="#process_space_maybe-instance_method" title="#process_space_maybe (instance method)">- (Object) <strong>process_space_maybe</strong>(letr) </a>
770
+
771
+
772
+
773
+ </span>
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+ <span class="summary_desc"><div class='inline'></div></span>
784
+
785
+ </li>
786
+
787
+
788
+ <li class="public ">
789
+ <span class="summary_signature">
790
+
791
+ <a href="#process_word_maybe-instance_method" title="#process_word_maybe (instance method)">- (Object) <strong>process_word_maybe</strong> </a>
792
+
793
+
794
+
795
+ </span>
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+ <span class="summary_desc"><div class='inline'></div></span>
806
+
807
+ </li>
808
+
809
+
810
+ <li class="public ">
811
+ <span class="summary_signature">
812
+
813
+ <a href="#push_letter_to_current_word-instance_method" title="#push_letter_to_current_word (instance method)">- (Object) <strong>push_letter_to_current_word</strong>(letr) </a>
814
+
815
+
816
+
817
+ </span>
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+ <span class="summary_desc"><div class='inline'></div></span>
828
+
829
+ </li>
830
+
831
+
832
+ <li class="public ">
833
+ <span class="summary_signature">
834
+
835
+ <a href="#quit-instance_method" title="#quit (instance method)">- (Object) <strong>quit</strong> </a>
836
+
837
+
838
+
839
+ </span>
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+ <span class="summary_desc"><div class='inline'></div></span>
850
+
851
+ </li>
852
+
853
+
854
+ <li class="public ">
855
+ <span class="summary_signature">
856
+
857
+ <a href="#quit%3F-instance_method" title="#quit? (instance method)">- (Boolean) <strong>quit?</strong> </a>
858
+
859
+
860
+
861
+ </span>
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+ <span class="summary_desc"><div class='inline'></div></span>
872
+
873
+ </li>
874
+
875
+
876
+ <li class="public ">
877
+ <span class="summary_signature">
878
+
879
+ <a href="#quit_key_input%3F-instance_method" title="#quit_key_input? (instance method)">- (Boolean) <strong>quit_key_input?</strong> </a>
880
+
881
+
882
+
883
+ </span>
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+ <span class="summary_desc"><div class='inline'></div></span>
894
+
895
+ </li>
896
+
897
+
898
+ <li class="public ">
899
+ <span class="summary_signature">
900
+
901
+ <a href="#reset_stdin-instance_method" title="#reset_stdin (instance method)">- (Object) <strong>reset_stdin</strong> </a>
902
+
903
+
904
+
905
+ </span>
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+ <span class="summary_desc"><div class='inline'></div></span>
916
+
917
+ </li>
918
+
919
+
920
+ <li class="public ">
921
+ <span class="summary_signature">
922
+
923
+ <a href="#run-instance_method" title="#run (instance method)">- (Object) <strong>run</strong>(words) </a>
924
+
925
+
926
+
927
+ </span>
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+ <span class="summary_desc"><div class='inline'></div></span>
938
+
939
+ </li>
940
+
941
+
942
+ <li class="public ">
943
+ <span class="summary_signature">
944
+
945
+ <a href="#sleep_char_delay-instance_method" title="#sleep_char_delay (instance method)">- (Object) <strong>sleep_char_delay</strong>(letr) </a>
946
+
947
+
948
+
949
+ </span>
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+ <span class="summary_desc"><div class='inline'></div></span>
960
+
961
+ </li>
962
+
963
+
964
+ <li class="public ">
965
+ <span class="summary_signature">
966
+
967
+ <a href="#space-instance_method" title="#space (instance method)">- (Object) <strong>space</strong> </a>
968
+
969
+
970
+
971
+ </span>
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+ <span class="summary_desc"><div class='inline'></div></span>
982
+
983
+ </li>
984
+
985
+
986
+ <li class="public ">
987
+ <span class="summary_signature">
988
+
989
+ <a href="#spawn_play-instance_method" title="#spawn_play (instance method)">- (Object) <strong>spawn_play</strong>(cmd) </a>
990
+
991
+
992
+
993
+ </span>
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+ <span class="summary_desc"><div class='inline'></div></span>
1004
+
1005
+ </li>
1006
+
1007
+
1008
+ <li class="public ">
1009
+ <span class="summary_signature">
1010
+
1011
+ <a href="#start_sync-instance_method" title="#start_sync (instance method)">- (Object) <strong>start_sync</strong> </a>
1012
+
1013
+
1014
+
1015
+ </span>
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+ <span class="summary_desc"><div class='inline'></div></span>
1026
+
1027
+ </li>
1028
+
1029
+
1030
+ <li class="public ">
1031
+ <span class="summary_signature">
1032
+
1033
+ <a href="#start_sync%3F-instance_method" title="#start_sync? (instance method)">- (Boolean) <strong>start_sync?</strong> </a>
1034
+
1035
+
1036
+
1037
+ </span>
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+ <span class="summary_desc"><div class='inline'></div></span>
1048
+
1049
+ </li>
1050
+
1051
+
1052
+ <li class="public ">
1053
+ <span class="summary_signature">
1054
+
1055
+ <a href="#stream-instance_method" title="#stream (instance method)">- (Object) <strong>stream</strong> </a>
1056
+
1057
+
1058
+
1059
+ </span>
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+ <span class="summary_desc"><div class='inline'></div></span>
1070
+
1071
+ </li>
1072
+
1073
+
1074
+ <li class="public ">
1075
+ <span class="summary_signature">
1076
+
1077
+ <a href="#sync_with_audio_player-instance_method" title="#sync_with_audio_player (instance method)">- (Object) <strong>sync_with_audio_player</strong> </a>
1078
+
1079
+
1080
+
1081
+ </span>
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+ <span class="summary_desc"><div class='inline'></div></span>
1092
+
1093
+ </li>
1094
+
1095
+
1096
+ <li class="public ">
1097
+ <span class="summary_signature">
1098
+
1099
+ <a href="#sync_with_play-instance_method" title="#sync_with_play (instance method)">- (Object) <strong>sync_with_play</strong> </a>
1100
+
1101
+
1102
+
1103
+ </span>
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+ <span class="summary_desc"><div class='inline'></div></span>
1114
+
1115
+ </li>
1116
+
1117
+
1118
+ <li class="public ">
1119
+ <span class="summary_signature">
1120
+
1121
+ <a href="#sync_with_print-instance_method" title="#sync_with_print (instance method)">- (Object) <strong>sync_with_print</strong> </a>
1122
+
1123
+
1124
+
1125
+ </span>
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+ <span class="summary_desc"><div class='inline'></div></span>
1136
+
1137
+ </li>
1138
+
1139
+
1140
+ <li class="public ">
1141
+ <span class="summary_signature">
1142
+
1143
+ <a href="#thread_processes-instance_method" title="#thread_processes (instance method)">- (Object) <strong>thread_processes</strong> </a>
1144
+
1145
+
1146
+
1147
+ </span>
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+ <span class="summary_desc"><div class='inline'></div></span>
1158
+
1159
+ </li>
1160
+
1161
+
1162
+ <li class="public ">
1163
+ <span class="summary_signature">
1164
+
1165
+ <a href="#timing-instance_method" title="#timing (instance method)">- (Object) <strong>timing</strong> </a>
1166
+
1167
+
1168
+
1169
+ </span>
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+ <span class="summary_desc"><div class='inline'></div></span>
1180
+
1181
+ </li>
1182
+
1183
+
1184
+ <li class="public ">
1185
+ <span class="summary_signature">
1186
+
1187
+ <a href="#wait_for_no_word_process-instance_method" title="#wait_for_no_word_process (instance method)">- (Object) <strong>wait_for_no_word_process</strong> </a>
1188
+
1189
+
1190
+
1191
+ </span>
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+ <span class="summary_desc"><div class='inline'></div></span>
1202
+
1203
+ </li>
1204
+
1205
+
1206
+ <li class="public ">
1207
+ <span class="summary_signature">
1208
+
1209
+ <a href="#wait_for_start_sync-instance_method" title="#wait_for_start_sync (instance method)">- (Object) <strong>wait_for_start_sync</strong> </a>
1210
+
1211
+
1212
+
1213
+ </span>
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+ <span class="summary_desc"><div class='inline'></div></span>
1224
+
1225
+ </li>
1226
+
1227
+
1228
+ <li class="public ">
1229
+ <span class="summary_signature">
1230
+
1231
+ <a href="#wait_player_startup_delay-instance_method" title="#wait_player_startup_delay (instance method)">- (Object) <strong>wait_player_startup_delay</strong> </a>
1232
+
1233
+
1234
+
1235
+ </span>
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+ <span class="summary_desc"><div class='inline'></div></span>
1246
+
1247
+ </li>
1248
+
1249
+
1250
+ </ul>
1251
+
1252
+
1253
+
1254
+
1255
+ <div id="instance_method_details" class="method_details_list">
1256
+ <h2>Instance Method Details</h2>
1257
+
1258
+
1259
+ <div class="method_details first">
1260
+ <h3 class="signature first" id="add_space-instance_method">
1261
+
1262
+ - (<tt>Object</tt>) <strong>add_space</strong>(words)
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+ </h3><table class="source_code">
1269
+ <tr>
1270
+ <td>
1271
+ <pre class="lines">
1272
+
1273
+
1274
+ 28
1275
+ 29
1276
+ 30
1277
+ 31
1278
+ 32</pre>
1279
+ </td>
1280
+ <td>
1281
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 28</span>
1282
+
1283
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_space'>add_space</span> <span class='id identifier rubyid_words'>words</span>
1284
+ <span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
1285
+ <span class='id identifier rubyid_words'>words</span><span class='period'>.</span><span class='id identifier rubyid_to_array'>to_array</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_word'>word</span><span class='op'>|</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_word'>word</span> <span class='op'>+</span> <span class='id identifier rubyid_space'>space</span><span class='rbrace'>}</span>
1286
+ <span class='id identifier rubyid_str'>str</span>
1287
+ <span class='kw'>end</span></pre>
1288
+ </td>
1289
+ </tr>
1290
+ </table>
1291
+ </div>
1292
+
1293
+ <div class="method_details ">
1294
+ <h3 class="signature " id="audio-instance_method">
1295
+
1296
+ - (<tt>Object</tt>) <strong>audio</strong>
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+ </h3><table class="source_code">
1303
+ <tr>
1304
+ <td>
1305
+ <pre class="lines">
1306
+
1307
+
1308
+ 11</pre>
1309
+ </td>
1310
+ <td>
1311
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 11</span>
1312
+
1313
+ <span class='kw'>def</span> <span class='id identifier rubyid_audio'>audio</span> <span class='semicolon'>;</span> <span class='ivar'>@audio</span> <span class='op'>||=</span> <span class='const'>AudioPlayer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1314
+ </td>
1315
+ </tr>
1316
+ </table>
1317
+ </div>
1318
+
1319
+ <div class="method_details ">
1320
+ <h3 class="signature " id="audio_play-instance_method">
1321
+
1322
+ - (<tt>Object</tt>) <strong>audio_play</strong>
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+ </h3><table class="source_code">
1329
+ <tr>
1330
+ <td>
1331
+ <pre class="lines">
1332
+
1333
+
1334
+ 34
1335
+ 35
1336
+ 36
1337
+ 37
1338
+ 38</pre>
1339
+ </td>
1340
+ <td>
1341
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 34</span>
1342
+
1343
+ <span class='kw'>def</span> <span class='id identifier rubyid_audio_play'>audio_play</span>
1344
+ <span class='id identifier rubyid_audio'>audio</span><span class='period'>.</span><span class='id identifier rubyid_convert_words'>convert_words</span> <span class='id identifier rubyid_add_space'>add_space</span> <span class='ivar'>@words</span>
1345
+ <span class='id identifier rubyid_start_sync'>start_sync</span>
1346
+ <span class='id identifier rubyid_audio'>audio</span><span class='period'>.</span><span class='id identifier rubyid_play'>play</span>
1347
+ <span class='kw'>end</span></pre>
1348
+ </td>
1349
+ </tr>
1350
+ </table>
1351
+ </div>
1352
+
1353
+ <div class="method_details ">
1354
+ <h3 class="signature " id="audio_still_playing?-instance_method">
1355
+
1356
+ - (<tt>Boolean</tt>) <strong>audio_still_playing?</strong>
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+ </h3><div class="docstring">
1363
+ <div class="discussion">
1364
+
1365
+
1366
+ </div>
1367
+ </div>
1368
+ <div class="tags">
1369
+
1370
+ <p class="tag_title">Returns:</p>
1371
+ <ul class="return">
1372
+
1373
+ <li>
1374
+
1375
+
1376
+ <span class='type'>(<tt>Boolean</tt>)</span>
1377
+
1378
+
1379
+
1380
+ </li>
1381
+
1382
+ </ul>
1383
+
1384
+ </div><table class="source_code">
1385
+ <tr>
1386
+ <td>
1387
+ <pre class="lines">
1388
+
1389
+
1390
+ 26</pre>
1391
+ </td>
1392
+ <td>
1393
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 26</span>
1394
+
1395
+ <span class='kw'>def</span> <span class='id identifier rubyid_audio_still_playing?'>audio_still_playing?</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_audio'>audio</span><span class='period'>.</span><span class='id identifier rubyid_still_playing?'>still_playing?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1396
+ </td>
1397
+ </tr>
1398
+ </table>
1399
+ </div>
1400
+
1401
+ <div class="method_details ">
1402
+ <h3 class="signature " id="audio_stop-instance_method">
1403
+
1404
+ - (<tt>Object</tt>) <strong>audio_stop</strong>
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+ </h3><table class="source_code">
1411
+ <tr>
1412
+ <td>
1413
+ <pre class="lines">
1414
+
1415
+
1416
+ 96
1417
+ 97
1418
+ 98</pre>
1419
+ </td>
1420
+ <td>
1421
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 96</span>
1422
+
1423
+ <span class='kw'>def</span> <span class='id identifier rubyid_audio_stop'>audio_stop</span>
1424
+ <span class='id identifier rubyid_audio'>audio</span><span class='period'>.</span><span class='id identifier rubyid_stop'>stop</span> <span class='kw'>if</span> <span class='id identifier rubyid_audio_still_playing?'>audio_still_playing?</span>
1425
+ <span class='kw'>end</span></pre>
1426
+ </td>
1427
+ </tr>
1428
+ </table>
1429
+ </div>
1430
+
1431
+ <div class="method_details ">
1432
+ <h3 class="signature " id="check_quit_key_input-instance_method">
1433
+
1434
+ - (<tt>Object</tt>) <strong>check_quit_key_input</strong>
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+ </h3><table class="source_code">
1441
+ <tr>
1442
+ <td>
1443
+ <pre class="lines">
1444
+
1445
+
1446
+ 109
1447
+ 110
1448
+ 111
1449
+ 112
1450
+ 113
1451
+ 114
1452
+ 115</pre>
1453
+ </td>
1454
+ <td>
1455
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 109</span>
1456
+
1457
+ <span class='kw'>def</span> <span class='id identifier rubyid_check_quit_key_input'>check_quit_key_input</span>
1458
+ <span class='kw'>if</span> <span class='id identifier rubyid_quit_key_input?'>quit_key_input?</span>
1459
+ <span class='id identifier rubyid_quit'>quit</span>
1460
+ <span class='id identifier rubyid_global_quit'>global_quit</span>
1461
+ <span class='id identifier rubyid_audio_stop'>audio_stop</span>
1462
+ <span class='kw'>end</span>
1463
+ <span class='kw'>end</span></pre>
1464
+ </td>
1465
+ </tr>
1466
+ </table>
1467
+ </div>
1468
+
1469
+ <div class="method_details ">
1470
+ <h3 class="signature " id="complete_word?-instance_method">
1471
+
1472
+ - (<tt>Boolean</tt>) <strong>complete_word?</strong>
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+ </h3><div class="docstring">
1479
+ <div class="discussion">
1480
+
1481
+
1482
+ </div>
1483
+ </div>
1484
+ <div class="tags">
1485
+
1486
+ <p class="tag_title">Returns:</p>
1487
+ <ul class="return">
1488
+
1489
+ <li>
1490
+
1491
+
1492
+ <span class='type'>(<tt>Boolean</tt>)</span>
1493
+
1494
+
1495
+
1496
+ </li>
1497
+
1498
+ </ul>
1499
+
1500
+ </div><table class="source_code">
1501
+ <tr>
1502
+ <td>
1503
+ <pre class="lines">
1504
+
1505
+
1506
+ 131
1507
+ 132
1508
+ 133</pre>
1509
+ </td>
1510
+ <td>
1511
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 131</span>
1512
+
1513
+ <span class='kw'>def</span> <span class='id identifier rubyid_complete_word?'>complete_word?</span>
1514
+ <span class='id identifier rubyid_get_word_last_char'>get_word_last_char</span> <span class='op'>==</span> <span class='id identifier rubyid_space'>space</span>
1515
+ <span class='kw'>end</span></pre>
1516
+ </td>
1517
+ </tr>
1518
+ </table>
1519
+ </div>
1520
+
1521
+ <div class="method_details ">
1522
+ <h3 class="signature " id="current_word-instance_method">
1523
+
1524
+ - (<tt>Object</tt>) <strong>current_word</strong>
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+ </h3><table class="source_code">
1531
+ <tr>
1532
+ <td>
1533
+ <pre class="lines">
1534
+
1535
+
1536
+ 24</pre>
1537
+ </td>
1538
+ <td>
1539
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 24</span>
1540
+
1541
+ <span class='kw'>def</span> <span class='id identifier rubyid_current_word'>current_word</span> <span class='semicolon'>;</span> <span class='ivar'>@current_word</span> <span class='op'>||=</span> <span class='const'>CurrentWord</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1542
+ </td>
1543
+ </tr>
1544
+ </table>
1545
+ </div>
1546
+
1547
+ <div class="method_details ">
1548
+ <h3 class="signature " id="empty_string-instance_method">
1549
+
1550
+ - (<tt>Object</tt>) <strong>empty_string</strong>
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+ </h3><table class="source_code">
1557
+ <tr>
1558
+ <td>
1559
+ <pre class="lines">
1560
+
1561
+
1562
+ 14</pre>
1563
+ </td>
1564
+ <td>
1565
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 14</span>
1566
+
1567
+ <span class='kw'>def</span> <span class='id identifier rubyid_empty_string'>empty_string</span> <span class='semicolon'>;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1568
+ </td>
1569
+ </tr>
1570
+ </table>
1571
+ </div>
1572
+
1573
+ <div class="method_details ">
1574
+ <h3 class="signature " id="get_key_input-instance_method">
1575
+
1576
+ - (<tt>Object</tt>) <strong>get_key_input</strong>
1577
+
1578
+
1579
+
1580
+
1581
+
1582
+ </h3><table class="source_code">
1583
+ <tr>
1584
+ <td>
1585
+ <pre class="lines">
1586
+
1587
+
1588
+ 17</pre>
1589
+ </td>
1590
+ <td>
1591
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 17</span>
1592
+
1593
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_key_input'>get_key_input</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_key_input'>key_input</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1594
+ </td>
1595
+ </tr>
1596
+ </table>
1597
+ </div>
1598
+
1599
+ <div class="method_details ">
1600
+ <h3 class="signature " id="get_word_last_char-instance_method">
1601
+
1602
+ - (<tt>Object</tt>) <strong>get_word_last_char</strong>
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+ </h3><table class="source_code">
1609
+ <tr>
1610
+ <td>
1611
+ <pre class="lines">
1612
+
1613
+
1614
+ 121
1615
+ 122
1616
+ 123</pre>
1617
+ </td>
1618
+ <td>
1619
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 121</span>
1620
+
1621
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_word_last_char'>get_word_last_char</span>
1622
+ <span class='ivar'>@input_word</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
1623
+ <span class='kw'>end</span></pre>
1624
+ </td>
1625
+ </tr>
1626
+ </table>
1627
+ </div>
1628
+
1629
+ <div class="method_details ">
1630
+ <h3 class="signature " id="global_quit-instance_method">
1631
+
1632
+ - (<tt>Object</tt>) <strong>global_quit</strong>
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+ </h3><table class="source_code">
1639
+ <tr>
1640
+ <td>
1641
+ <pre class="lines">
1642
+
1643
+
1644
+ 8</pre>
1645
+ </td>
1646
+ <td>
1647
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 8</span>
1648
+
1649
+ <span class='kw'>def</span> <span class='id identifier rubyid_global_quit'>global_quit</span> <span class='semicolon'>;</span> <span class='ivar'>@global_quit</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1650
+ </td>
1651
+ </tr>
1652
+ </table>
1653
+ </div>
1654
+
1655
+ <div class="method_details ">
1656
+ <h3 class="signature " id="global_quit?-instance_method">
1657
+
1658
+ - (<tt>Boolean</tt>) <strong>global_quit?</strong>
1659
+
1660
+
1661
+
1662
+
1663
+
1664
+ </h3><div class="docstring">
1665
+ <div class="discussion">
1666
+
1667
+
1668
+ </div>
1669
+ </div>
1670
+ <div class="tags">
1671
+
1672
+ <p class="tag_title">Returns:</p>
1673
+ <ul class="return">
1674
+
1675
+ <li>
1676
+
1677
+
1678
+ <span class='type'>(<tt>Boolean</tt>)</span>
1679
+
1680
+
1681
+
1682
+ </li>
1683
+
1684
+ </ul>
1685
+
1686
+ </div><table class="source_code">
1687
+ <tr>
1688
+ <td>
1689
+ <pre class="lines">
1690
+
1691
+
1692
+ 7</pre>
1693
+ </td>
1694
+ <td>
1695
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 7</span>
1696
+
1697
+ <span class='kw'>def</span> <span class='id identifier rubyid_global_quit?'>global_quit?</span> <span class='semicolon'>;</span> <span class='ivar'>@global_quit</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1698
+ </td>
1699
+ </tr>
1700
+ </table>
1701
+ </div>
1702
+
1703
+ <div class="method_details ">
1704
+ <h3 class="signature " id="init_char_timer-instance_method">
1705
+
1706
+ - (<tt>Object</tt>) <strong>init_char_timer</strong>
1707
+
1708
+
1709
+
1710
+
1711
+
1712
+ </h3><table class="source_code">
1713
+ <tr>
1714
+ <td>
1715
+ <pre class="lines">
1716
+
1717
+
1718
+ 25</pre>
1719
+ </td>
1720
+ <td>
1721
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 25</span>
1722
+
1723
+ <span class='kw'>def</span> <span class='id identifier rubyid_init_char_timer'>init_char_timer</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_init_char_timer'>init_char_timer</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1724
+ </td>
1725
+ </tr>
1726
+ </table>
1727
+ </div>
1728
+
1729
+ <div class="method_details ">
1730
+ <h3 class="signature " id="is_relevant_char?-instance_method">
1731
+
1732
+ - (<tt>Boolean</tt>) <strong>is_relevant_char?</strong>
1733
+
1734
+
1735
+
1736
+
1737
+
1738
+ </h3><div class="docstring">
1739
+ <div class="discussion">
1740
+
1741
+
1742
+ </div>
1743
+ </div>
1744
+ <div class="tags">
1745
+
1746
+ <p class="tag_title">Returns:</p>
1747
+ <ul class="return">
1748
+
1749
+ <li>
1750
+
1751
+
1752
+ <span class='type'>(<tt>Boolean</tt>)</span>
1753
+
1754
+
1755
+
1756
+ </li>
1757
+
1758
+ </ul>
1759
+
1760
+ </div><table class="source_code">
1761
+ <tr>
1762
+ <td>
1763
+ <pre class="lines">
1764
+
1765
+
1766
+ 20</pre>
1767
+ </td>
1768
+ <td>
1769
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 20</span>
1770
+
1771
+ <span class='kw'>def</span> <span class='id identifier rubyid_is_relevant_char?'>is_relevant_char?</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_key_input'>key_input</span><span class='period'>.</span><span class='id identifier rubyid_is_relevant_char?'>is_relevant_char?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1772
+ </td>
1773
+ </tr>
1774
+ </table>
1775
+ </div>
1776
+
1777
+ <div class="method_details ">
1778
+ <h3 class="signature " id="key_chr-instance_method">
1779
+
1780
+ - (<tt>Object</tt>) <strong>key_chr</strong>
1781
+
1782
+
1783
+
1784
+
1785
+
1786
+ </h3><table class="source_code">
1787
+ <tr>
1788
+ <td>
1789
+ <pre class="lines">
1790
+
1791
+
1792
+ 18</pre>
1793
+ </td>
1794
+ <td>
1795
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 18</span>
1796
+
1797
+ <span class='kw'>def</span> <span class='id identifier rubyid_key_chr'>key_chr</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_key_input'>key_input</span><span class='period'>.</span><span class='id identifier rubyid_char'>char</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1798
+ </td>
1799
+ </tr>
1800
+ </table>
1801
+ </div>
1802
+
1803
+ <div class="method_details ">
1804
+ <h3 class="signature " id="key_input-instance_method">
1805
+
1806
+ - (<tt>Object</tt>) <strong>key_input</strong>
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+ </h3><table class="source_code">
1813
+ <tr>
1814
+ <td>
1815
+ <pre class="lines">
1816
+
1817
+
1818
+ 19</pre>
1819
+ </td>
1820
+ <td>
1821
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 19</span>
1822
+
1823
+ <span class='kw'>def</span> <span class='id identifier rubyid_key_input'>key_input</span> <span class='semicolon'>;</span> <span class='ivar'>@key_input</span> <span class='op'>||=</span> <span class='const'>KeyInput</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1824
+ </td>
1825
+ </tr>
1826
+ </table>
1827
+ </div>
1828
+
1829
+ <div class="method_details ">
1830
+ <h3 class="signature " id="kill_threads-instance_method">
1831
+
1832
+ - (<tt>Object</tt>) <strong>kill_threads</strong>
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+ </h3><table class="source_code">
1839
+ <tr>
1840
+ <td>
1841
+ <pre class="lines">
1842
+
1843
+
1844
+ 12</pre>
1845
+ </td>
1846
+ <td>
1847
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 12</span>
1848
+
1849
+ <span class='kw'>def</span> <span class='id identifier rubyid_kill_threads'>kill_threads</span> <span class='semicolon'>;</span> <span class='ivar'>@threads</span><span class='period'>.</span><span class='id identifier rubyid_kill'>kill</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1850
+ </td>
1851
+ </tr>
1852
+ </table>
1853
+ </div>
1854
+
1855
+ <div class="method_details ">
1856
+ <h3 class="signature " id="monitor_keys-instance_method">
1857
+
1858
+ - (<tt>Object</tt>) <strong>monitor_keys</strong>
1859
+
1860
+
1861
+
1862
+
1863
+
1864
+ </h3><table class="source_code">
1865
+ <tr>
1866
+ <td>
1867
+ <pre class="lines">
1868
+
1869
+
1870
+ 211
1871
+ 212
1872
+ 213
1873
+ 214
1874
+ 215
1875
+ 216
1876
+ 217
1877
+ 218
1878
+ 219</pre>
1879
+ </td>
1880
+ <td>
1881
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 211</span>
1882
+
1883
+ <span class='kw'>def</span> <span class='id identifier rubyid_monitor_keys'>monitor_keys</span>
1884
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
1885
+ <span class='id identifier rubyid_get_key_input'>get_key_input</span>
1886
+ <span class='id identifier rubyid_check_quit_key_input'>check_quit_key_input</span>
1887
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
1888
+ <span class='comment'># check_sentence_navigation key_chr
1889
+ </span> <span class='id identifier rubyid_build_word_maybe'>build_word_maybe</span>
1890
+ <span class='kw'>end</span>
1891
+ <span class='kw'>end</span></pre>
1892
+ </td>
1893
+ </tr>
1894
+ </table>
1895
+ </div>
1896
+
1897
+ <div class="method_details ">
1898
+ <h3 class="signature " id="monitor_keys_thread-instance_method">
1899
+
1900
+ - (<tt>Object</tt>) <strong>monitor_keys_thread</strong>
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+ </h3><table class="source_code">
1907
+ <tr>
1908
+ <td>
1909
+ <pre class="lines">
1910
+
1911
+
1912
+ 191
1913
+ 192
1914
+ 193
1915
+ 194</pre>
1916
+ </td>
1917
+ <td>
1918
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 191</span>
1919
+
1920
+ <span class='kw'>def</span> <span class='id identifier rubyid_monitor_keys_thread'>monitor_keys_thread</span>
1921
+ <span class='id identifier rubyid_monitor_keys'>monitor_keys</span>
1922
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n\rmonitor keys has quit </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@debug</span>
1923
+ <span class='kw'>end</span></pre>
1924
+ </td>
1925
+ </tr>
1926
+ </table>
1927
+ </div>
1928
+
1929
+ <div class="method_details ">
1930
+ <h3 class="signature " id="move_word_to_process-instance_method">
1931
+
1932
+ - (<tt>Object</tt>) <strong>move_word_to_process</strong>
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+ </h3><table class="source_code">
1939
+ <tr>
1940
+ <td>
1941
+ <pre class="lines">
1942
+
1943
+
1944
+ 135
1945
+ 136
1946
+ 137
1947
+ 138
1948
+ 139</pre>
1949
+ </td>
1950
+ <td>
1951
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 135</span>
1952
+
1953
+ <span class='kw'>def</span> <span class='id identifier rubyid_move_word_to_process'>move_word_to_process</span>
1954
+ <span class='id identifier rubyid_wait_for_no_word_process'>wait_for_no_word_process</span>
1955
+ <span class='ivar'>@process_input_word</span><span class='comma'>,</span> <span class='ivar'>@input_word</span> <span class='op'>=</span> <span class='ivar'>@input_word</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
1956
+ <span class='ivar'>@word_to_process</span> <span class='op'>=</span> <span class='kw'>true</span>
1957
+ <span class='kw'>end</span></pre>
1958
+ </td>
1959
+ </tr>
1960
+ </table>
1961
+ </div>
1962
+
1963
+ <div class="method_details ">
1964
+ <h3 class="signature " id="play_words_exit-instance_method">
1965
+
1966
+ - (<tt>Object</tt>) <strong>play_words_exit</strong>
1967
+
1968
+
1969
+
1970
+
1971
+
1972
+ </h3><table class="source_code">
1973
+ <tr>
1974
+ <td>
1975
+ <pre class="lines">
1976
+
1977
+
1978
+ 45
1979
+ 46
1980
+ 47
1981
+ 48
1982
+ 49
1983
+ 50
1984
+ 51
1985
+ 52</pre>
1986
+ </td>
1987
+ <td>
1988
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 45</span>
1989
+
1990
+ <span class='kw'>def</span> <span class='id identifier rubyid_play_words_exit'>play_words_exit</span>
1991
+ <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_init_play_words_timeout'>init_play_words_timeout</span>
1992
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
1993
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
1994
+ <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_play_words_timeout?'>play_words_timeout?</span>
1995
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.01</span>
1996
+ <span class='kw'>end</span>
1997
+ <span class='kw'>end</span></pre>
1998
+ </td>
1999
+ </tr>
2000
+ </table>
2001
+ </div>
2002
+
2003
+ <div class="method_details ">
2004
+ <h3 class="signature " id="play_words_thread-instance_method">
2005
+
2006
+ - (<tt>Object</tt>) <strong>play_words_thread</strong>
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+ </h3><table class="source_code">
2013
+ <tr>
2014
+ <td>
2015
+ <pre class="lines">
2016
+
2017
+
2018
+ 59
2019
+ 60
2020
+ 61
2021
+ 62</pre>
2022
+ </td>
2023
+ <td>
2024
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 59</span>
2025
+
2026
+ <span class='kw'>def</span> <span class='id identifier rubyid_play_words_thread'>play_words_thread</span>
2027
+ <span class='id identifier rubyid_play_words_until_quit'>play_words_until_quit</span>
2028
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n\rplay has quit </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@debug</span>
2029
+ <span class='kw'>end</span></pre>
2030
+ </td>
2031
+ </tr>
2032
+ </table>
2033
+ </div>
2034
+
2035
+ <div class="method_details ">
2036
+ <h3 class="signature " id="play_words_until_quit-instance_method">
2037
+
2038
+ - (<tt>Object</tt>) <strong>play_words_until_quit</strong>
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+ </h3><table class="source_code">
2045
+ <tr>
2046
+ <td>
2047
+ <pre class="lines">
2048
+
2049
+
2050
+ 40
2051
+ 41
2052
+ 42
2053
+ 43</pre>
2054
+ </td>
2055
+ <td>
2056
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 40</span>
2057
+
2058
+ <span class='kw'>def</span> <span class='id identifier rubyid_play_words_until_quit'>play_words_until_quit</span>
2059
+ <span class='id identifier rubyid_audio_play'>audio_play</span>
2060
+ <span class='id identifier rubyid_play_words_exit'>play_words_exit</span> <span class='kw'>unless</span> <span class='ivar'>@print_letters</span>
2061
+ <span class='kw'>end</span></pre>
2062
+ </td>
2063
+ </tr>
2064
+ </table>
2065
+ </div>
2066
+
2067
+ <div class="method_details ">
2068
+ <h3 class="signature " id="print-instance_method">
2069
+
2070
+ - (<tt>Object</tt>) <strong>print</strong>
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+ </h3><table class="source_code">
2077
+ <tr>
2078
+ <td>
2079
+ <pre class="lines">
2080
+
2081
+
2082
+ 9</pre>
2083
+ </td>
2084
+ <td>
2085
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 9</span>
2086
+
2087
+ <span class='kw'>def</span> <span class='id identifier rubyid_print'>print</span> <span class='semicolon'>;</span> <span class='ivar'>@print</span> <span class='op'>||=</span> <span class='const'>Print</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2088
+ </td>
2089
+ </tr>
2090
+ </table>
2091
+ </div>
2092
+
2093
+ <div class="method_details ">
2094
+ <h3 class="signature " id="print_failed_exit_words-instance_method">
2095
+
2096
+ - (<tt>Object</tt>) <strong>print_failed_exit_words</strong>
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+ </h3><table class="source_code">
2103
+ <tr>
2104
+ <td>
2105
+ <pre class="lines">
2106
+
2107
+
2108
+ 77
2109
+ 78
2110
+ 79
2111
+ 80
2112
+ 81</pre>
2113
+ </td>
2114
+ <td>
2115
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 77</span>
2116
+
2117
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_failed_exit_words'>print_failed_exit_words</span>
2118
+ <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>
2119
+ <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>
2120
+ <span class='kw'>end</span>
2121
+ <span class='kw'>end</span></pre>
2122
+ </td>
2123
+ </tr>
2124
+ </table>
2125
+ </div>
2126
+
2127
+ <div class="method_details ">
2128
+ <h3 class="signature " id="print_letters?-instance_method">
2129
+
2130
+ - (<tt>Boolean</tt>) <strong>print_letters?</strong>
2131
+
2132
+
2133
+
2134
+
2135
+
2136
+ </h3><div class="docstring">
2137
+ <div class="discussion">
2138
+
2139
+
2140
+ </div>
2141
+ </div>
2142
+ <div class="tags">
2143
+
2144
+ <p class="tag_title">Returns:</p>
2145
+ <ul class="return">
2146
+
2147
+ <li>
2148
+
2149
+
2150
+ <span class='type'>(<tt>Boolean</tt>)</span>
2151
+
2152
+
2153
+
2154
+ </li>
2155
+
2156
+ </ul>
2157
+
2158
+ </div><table class="source_code">
2159
+ <tr>
2160
+ <td>
2161
+ <pre class="lines">
2162
+
2163
+
2164
+ 170
2165
+ 171
2166
+ 172</pre>
2167
+ </td>
2168
+ <td>
2169
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 170</span>
2170
+
2171
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_letters?'>print_letters?</span>
2172
+ <span class='ivar'>@print_letters</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span> <span class='id identifier rubyid_quit?'>quit?</span>
2173
+ <span class='kw'>end</span></pre>
2174
+ </td>
2175
+ </tr>
2176
+ </table>
2177
+ </div>
2178
+
2179
+ <div class="method_details ">
2180
+ <h3 class="signature " id="print_words_exit-instance_method">
2181
+
2182
+ - (<tt>Object</tt>) <strong>print_words_exit</strong>
2183
+
2184
+
2185
+
2186
+
2187
+
2188
+ </h3><table class="source_code">
2189
+ <tr>
2190
+ <td>
2191
+ <pre class="lines">
2192
+
2193
+
2194
+ 83
2195
+ 84
2196
+ 85
2197
+ 86
2198
+ 87
2199
+ 88
2200
+ 89
2201
+ 90
2202
+ 91
2203
+ 92
2204
+ 93
2205
+ 94</pre>
2206
+ </td>
2207
+ <td>
2208
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 83</span>
2209
+
2210
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_words_exit'>print_words_exit</span>
2211
+ <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_init_print_words_timeout'>init_print_words_timeout</span>
2212
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
2213
+ <span class='id identifier rubyid_process_word_maybe'>process_word_maybe</span>
2214
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_stream_empty?'>stream_empty?</span>
2215
+ <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_print_words_timeout?'>print_words_timeout?</span>
2216
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
2217
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.01</span>
2218
+ <span class='kw'>end</span>
2219
+ <span class='ivar'>@failed</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>unless</span> <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_stream_empty?'>stream_empty?</span>
2220
+ <span class='id identifier rubyid_print_failed_exit_words'>print_failed_exit_words</span> <span class='kw'>unless</span> <span class='ivar'>@repeat_word</span>
2221
+ <span class='kw'>end</span></pre>
2222
+ </td>
2223
+ </tr>
2224
+ </table>
2225
+ </div>
2226
+
2227
+ <div class="method_details ">
2228
+ <h3 class="signature " id="print_words_thread-instance_method">
2229
+
2230
+ - (<tt>Object</tt>) <strong>print_words_thread</strong>
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+ </h3><table class="source_code">
2237
+ <tr>
2238
+ <td>
2239
+ <pre class="lines">
2240
+
2241
+
2242
+ 64
2243
+ 65
2244
+ 66
2245
+ 67
2246
+ 68</pre>
2247
+ </td>
2248
+ <td>
2249
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 64</span>
2250
+
2251
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_words_thread'>print_words_thread</span>
2252
+ <span class='id identifier rubyid_print_words_until_quit'>print_words_until_quit</span>
2253
+ <span class='id identifier rubyid_kill_threads'>kill_threads</span>
2254
+ <span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n\rprint has quit </span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@debug</span>
2255
+ <span class='kw'>end</span></pre>
2256
+ </td>
2257
+ </tr>
2258
+ </table>
2259
+ </div>
2260
+
2261
+ <div class="method_details ">
2262
+ <h3 class="signature " id="print_words_until_quit-instance_method">
2263
+
2264
+ - (<tt>Object</tt>) <strong>print_words_until_quit</strong>
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+ </h3><table class="source_code">
2271
+ <tr>
2272
+ <td>
2273
+ <pre class="lines">
2274
+
2275
+
2276
+ 70
2277
+ 71
2278
+ 72
2279
+ 73
2280
+ 74
2281
+ 75</pre>
2282
+ </td>
2283
+ <td>
2284
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 70</span>
2285
+
2286
+ <span class='kw'>def</span> <span class='id identifier rubyid_print_words_until_quit'>print_words_until_quit</span>
2287
+ <span class='id identifier rubyid_sync_with_audio_player'>sync_with_audio_player</span>
2288
+ <span class='id identifier rubyid_print_words'>print_words</span> <span class='ivar'>@words</span>
2289
+ <span class='id identifier rubyid_print_words_exit'>print_words_exit</span> <span class='kw'>unless</span> <span class='ivar'>@print_letters</span>
2290
+ <span class='id identifier rubyid_quit'>quit</span>
2291
+ <span class='kw'>end</span></pre>
2292
+ </td>
2293
+ </tr>
2294
+ </table>
2295
+ </div>
2296
+
2297
+ <div class="method_details ">
2298
+ <h3 class="signature " id="process_space_maybe-instance_method">
2299
+
2300
+ - (<tt>Object</tt>) <strong>process_space_maybe</strong>(letr)
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+ </h3><table class="source_code">
2307
+ <tr>
2308
+ <td>
2309
+ <pre class="lines">
2310
+
2311
+
2312
+ 161
2313
+ 162
2314
+ 163
2315
+ 164
2316
+ 165
2317
+ 166
2318
+ 167
2319
+ 168</pre>
2320
+ </td>
2321
+ <td>
2322
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 161</span>
2323
+
2324
+ <span class='kw'>def</span> <span class='id identifier rubyid_process_space_maybe'>process_space_maybe</span> <span class='id identifier rubyid_letr'>letr</span>
2325
+ <span class='kw'>if</span> <span class='id identifier rubyid_letr'>letr</span> <span class='op'>==</span> <span class='id identifier rubyid_space'>space</span>
2326
+ <span class='id identifier rubyid_stream'>stream</span><span class='period'>.</span><span class='id identifier rubyid_add_word'>add_word</span> <span class='id identifier rubyid_current_word'>current_word</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span>
2327
+ <span class='id identifier rubyid_current_word'>current_word</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
2328
+ <span class='id identifier rubyid_letr'>letr</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
2329
+ <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_space'>space</span> <span class='kw'>if</span> <span class='id identifier rubyid_print_letters?'>print_letters?</span>
2330
+ <span class='kw'>end</span>
2331
+ <span class='kw'>end</span></pre>
2332
+ </td>
2333
+ </tr>
2334
+ </table>
2335
+ </div>
2336
+
2337
+ <div class="method_details ">
2338
+ <h3 class="signature " id="process_word_maybe-instance_method">
2339
+
2340
+ - (<tt>Object</tt>) <strong>process_word_maybe</strong>
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+ </h3><table class="source_code">
2347
+ <tr>
2348
+ <td>
2349
+ <pre class="lines">
2350
+
2351
+
2352
+ 54
2353
+ 55
2354
+ 56
2355
+ 57</pre>
2356
+ </td>
2357
+ <td>
2358
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 54</span>
2359
+
2360
+ <span class='kw'>def</span> <span class='id identifier rubyid_process_word_maybe'>process_word_maybe</span>
2361
+ <span class='id identifier rubyid_print_marked_maybe'>print_marked_maybe</span>
2362
+ <span class='id identifier rubyid_process_input_word_maybe'>process_input_word_maybe</span>
2363
+ <span class='kw'>end</span></pre>
2364
+ </td>
2365
+ </tr>
2366
+ </table>
2367
+ </div>
2368
+
2369
+ <div class="method_details ">
2370
+ <h3 class="signature " id="push_letter_to_current_word-instance_method">
2371
+
2372
+ - (<tt>Object</tt>) <strong>push_letter_to_current_word</strong>(letr)
2373
+
2374
+
2375
+
2376
+
2377
+
2378
+ </h3><table class="source_code">
2379
+ <tr>
2380
+ <td>
2381
+ <pre class="lines">
2382
+
2383
+
2384
+ 117
2385
+ 118
2386
+ 119</pre>
2387
+ </td>
2388
+ <td>
2389
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 117</span>
2390
+
2391
+ <span class='kw'>def</span> <span class='id identifier rubyid_push_letter_to_current_word'>push_letter_to_current_word</span> <span class='id identifier rubyid_letr'>letr</span>
2392
+ <span class='id identifier rubyid_current_word'>current_word</span><span class='period'>.</span><span class='id identifier rubyid_push_letter'>push_letter</span> <span class='id identifier rubyid_letr'>letr</span>
2393
+ <span class='kw'>end</span></pre>
2394
+ </td>
2395
+ </tr>
2396
+ </table>
2397
+ </div>
2398
+
2399
+ <div class="method_details ">
2400
+ <h3 class="signature " id="quit-instance_method">
2401
+
2402
+ - (<tt>Object</tt>) <strong>quit</strong>
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+ </h3><table class="source_code">
2409
+ <tr>
2410
+ <td>
2411
+ <pre class="lines">
2412
+
2413
+
2414
+ 6</pre>
2415
+ </td>
2416
+ <td>
2417
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 6</span>
2418
+
2419
+ <span class='kw'>def</span> <span class='id identifier rubyid_quit'>quit</span> <span class='semicolon'>;</span> <span class='ivar'>@quit</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2420
+ </td>
2421
+ </tr>
2422
+ </table>
2423
+ </div>
2424
+
2425
+ <div class="method_details ">
2426
+ <h3 class="signature " id="quit?-instance_method">
2427
+
2428
+ - (<tt>Boolean</tt>) <strong>quit?</strong>
2429
+
2430
+
2431
+
2432
+
2433
+
2434
+ </h3><div class="docstring">
2435
+ <div class="discussion">
2436
+
2437
+
2438
+ </div>
2439
+ </div>
2440
+ <div class="tags">
2441
+
2442
+ <p class="tag_title">Returns:</p>
2443
+ <ul class="return">
2444
+
2445
+ <li>
2446
+
2447
+
2448
+ <span class='type'>(<tt>Boolean</tt>)</span>
2449
+
2450
+
2451
+
2452
+ </li>
2453
+
2454
+ </ul>
2455
+
2456
+ </div><table class="source_code">
2457
+ <tr>
2458
+ <td>
2459
+ <pre class="lines">
2460
+
2461
+
2462
+ 5</pre>
2463
+ </td>
2464
+ <td>
2465
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 5</span>
2466
+
2467
+ <span class='kw'>def</span> <span class='id identifier rubyid_quit?'>quit?</span> <span class='semicolon'>;</span> <span class='ivar'>@quit</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2468
+ </td>
2469
+ </tr>
2470
+ </table>
2471
+ </div>
2472
+
2473
+ <div class="method_details ">
2474
+ <h3 class="signature " id="quit_key_input?-instance_method">
2475
+
2476
+ - (<tt>Boolean</tt>) <strong>quit_key_input?</strong>
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+ </h3><div class="docstring">
2483
+ <div class="discussion">
2484
+
2485
+
2486
+ </div>
2487
+ </div>
2488
+ <div class="tags">
2489
+
2490
+ <p class="tag_title">Returns:</p>
2491
+ <ul class="return">
2492
+
2493
+ <li>
2494
+
2495
+
2496
+ <span class='type'>(<tt>Boolean</tt>)</span>
2497
+
2498
+
2499
+
2500
+ </li>
2501
+
2502
+ </ul>
2503
+
2504
+ </div><table class="source_code">
2505
+ <tr>
2506
+ <td>
2507
+ <pre class="lines">
2508
+
2509
+
2510
+ 21</pre>
2511
+ </td>
2512
+ <td>
2513
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 21</span>
2514
+
2515
+ <span class='kw'>def</span> <span class='id identifier rubyid_quit_key_input?'>quit_key_input?</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_key_input'>key_input</span><span class='period'>.</span><span class='id identifier rubyid_quit_input?'>quit_input?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2516
+ </td>
2517
+ </tr>
2518
+ </table>
2519
+ </div>
2520
+
2521
+ <div class="method_details ">
2522
+ <h3 class="signature " id="reset_stdin-instance_method">
2523
+
2524
+ - (<tt>Object</tt>) <strong>reset_stdin</strong>
2525
+
2526
+
2527
+
2528
+
2529
+
2530
+ </h3><table class="source_code">
2531
+ <tr>
2532
+ <td>
2533
+ <pre class="lines">
2534
+
2535
+
2536
+ 23</pre>
2537
+ </td>
2538
+ <td>
2539
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 23</span>
2540
+
2541
+ <span class='kw'>def</span> <span class='id identifier rubyid_reset_stdin'>reset_stdin</span> <span class='semicolon'>;</span> <span class='id identifier rubyid_key_input'>key_input</span><span class='period'>.</span><span class='id identifier rubyid_reset_stdin'>reset_stdin</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2542
+ </td>
2543
+ </tr>
2544
+ </table>
2545
+ </div>
2546
+
2547
+ <div class="method_details ">
2548
+ <h3 class="signature " id="run-instance_method">
2549
+
2550
+ - (<tt>Object</tt>) <strong>run</strong>(words)
2551
+
2552
+
2553
+
2554
+
2555
+
2556
+ </h3><table class="source_code">
2557
+ <tr>
2558
+ <td>
2559
+ <pre class="lines">
2560
+
2561
+
2562
+ 202
2563
+ 203
2564
+ 204
2565
+ 205
2566
+ 206
2567
+ 207
2568
+ 208
2569
+ 209</pre>
2570
+ </td>
2571
+ <td>
2572
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 202</span>
2573
+
2574
+ <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span> <span class='id identifier rubyid_words'>words</span>
2575
+ <span class='ivar'>@words</span> <span class='op'>=</span> <span class='id identifier rubyid_words'>words</span>
2576
+ <span class='id identifier rubyid_words'>words</span><span class='period'>.</span><span class='id identifier rubyid_double_words'>double_words</span> <span class='kw'>if</span> <span class='const'>Params</span><span class='period'>.</span><span class='id identifier rubyid_double_words'>double_words</span>
2577
+ <span class='ivar'>@threads</span> <span class='op'>=</span> <span class='const'>CWThreads</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_thread_processes'>thread_processes</span><span class='rparen'>)</span>
2578
+ <span class='ivar'>@threads</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
2579
+ <span class='id identifier rubyid_reset_stdin'>reset_stdin</span>
2580
+ <span class='id identifier rubyid_print'>print</span><span class='period'>.</span><span class='id identifier rubyid_newline'>newline</span>
2581
+ <span class='kw'>end</span></pre>
2582
+ </td>
2583
+ </tr>
2584
+ </table>
2585
+ </div>
2586
+
2587
+ <div class="method_details ">
2588
+ <h3 class="signature " id="sleep_char_delay-instance_method">
2589
+
2590
+ - (<tt>Object</tt>) <strong>sleep_char_delay</strong>(letr)
2591
+
2592
+
2593
+
2594
+
2595
+
2596
+ </h3><table class="source_code">
2597
+ <tr>
2598
+ <td>
2599
+ <pre class="lines">
2600
+
2601
+
2602
+ 150
2603
+ 151
2604
+ 152</pre>
2605
+ </td>
2606
+ <td>
2607
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 150</span>
2608
+
2609
+ <span class='kw'>def</span> <span class='id identifier rubyid_sleep_char_delay'>sleep_char_delay</span> <span class='id identifier rubyid_letr'>letr</span>
2610
+ <span class='id identifier rubyid_timing'>timing</span><span class='period'>.</span><span class='id identifier rubyid_append_char_delay'>append_char_delay</span> <span class='id identifier rubyid_letr'>letr</span><span class='comma'>,</span> <span class='const'>Params</span><span class='period'>.</span><span class='id identifier rubyid_wpm'>wpm</span><span class='comma'>,</span> <span class='const'>Params</span><span class='period'>.</span><span class='id identifier rubyid_effective_wpm'>effective_wpm</span>
2611
+ <span class='kw'>end</span></pre>
2612
+ </td>
2613
+ </tr>
2614
+ </table>
2615
+ </div>
2616
+
2617
+ <div class="method_details ">
2618
+ <h3 class="signature " id="space-instance_method">
2619
+
2620
+ - (<tt>Object</tt>) <strong>space</strong>
2621
+
2622
+
2623
+
2624
+
2625
+
2626
+ </h3><table class="source_code">
2627
+ <tr>
2628
+ <td>
2629
+ <pre class="lines">
2630
+
2631
+
2632
+ 13</pre>
2633
+ </td>
2634
+ <td>
2635
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 13</span>
2636
+
2637
+ <span class='kw'>def</span> <span class='id identifier rubyid_space'>space</span> <span class='semicolon'>;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2638
+ </td>
2639
+ </tr>
2640
+ </table>
2641
+ </div>
2642
+
2643
+ <div class="method_details ">
2644
+ <h3 class="signature " id="spawn_play-instance_method">
2645
+
2646
+ - (<tt>Object</tt>) <strong>spawn_play</strong>(cmd)
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+ </h3><table class="source_code">
2653
+ <tr>
2654
+ <td>
2655
+ <pre class="lines">
2656
+
2657
+
2658
+ 15</pre>
2659
+ </td>
2660
+ <td>
2661
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 15</span>
2662
+
2663
+ <span class='kw'>def</span> <span class='id identifier rubyid_spawn_play'>spawn_play</span><span class='lparen'>(</span><span class='id identifier rubyid_cmd'>cmd</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_spawn'>spawn</span><span class='lparen'>(</span><span class='id identifier rubyid_cmd'>cmd</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2664
+ </td>
2665
+ </tr>
2666
+ </table>
2667
+ </div>
2668
+
2669
+ <div class="method_details ">
2670
+ <h3 class="signature " id="start_sync-instance_method">
2671
+
2672
+ - (<tt>Object</tt>) <strong>start_sync</strong>
2673
+
2674
+
2675
+
2676
+
2677
+
2678
+ </h3><table class="source_code">
2679
+ <tr>
2680
+ <td>
2681
+ <pre class="lines">
2682
+
2683
+
2684
+ 16</pre>
2685
+ </td>
2686
+ <td>
2687
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 16</span>
2688
+
2689
+ <span class='kw'>def</span> <span class='id identifier rubyid_start_sync'>start_sync</span> <span class='semicolon'>;</span> <span class='ivar'>@start_sync</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2690
+ </td>
2691
+ </tr>
2692
+ </table>
2693
+ </div>
2694
+
2695
+ <div class="method_details ">
2696
+ <h3 class="signature " id="start_sync?-instance_method">
2697
+
2698
+ - (<tt>Boolean</tt>) <strong>start_sync?</strong>
2699
+
2700
+
2701
+
2702
+
2703
+
2704
+ </h3><div class="docstring">
2705
+ <div class="discussion">
2706
+
2707
+
2708
+ </div>
2709
+ </div>
2710
+ <div class="tags">
2711
+
2712
+ <p class="tag_title">Returns:</p>
2713
+ <ul class="return">
2714
+
2715
+ <li>
2716
+
2717
+
2718
+ <span class='type'>(<tt>Boolean</tt>)</span>
2719
+
2720
+
2721
+
2722
+ </li>
2723
+
2724
+ </ul>
2725
+
2726
+ </div><table class="source_code">
2727
+ <tr>
2728
+ <td>
2729
+ <pre class="lines">
2730
+
2731
+
2732
+ 141
2733
+ 142
2734
+ 143
2735
+ 144
2736
+ 145
2737
+ 146
2738
+ 147
2739
+ 148</pre>
2740
+ </td>
2741
+ <td>
2742
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 141</span>
2743
+
2744
+ <span class='kw'>def</span> <span class='id identifier rubyid_start_sync?'>start_sync?</span>
2745
+ <span class='kw'>if</span> <span class='ivar'>@start_sync</span>
2746
+ <span class='ivar'>@start_sync</span> <span class='op'>=</span> <span class='kw'>nil</span>
2747
+ <span class='kw'>true</span>
2748
+ <span class='kw'>else</span>
2749
+ <span class='kw'>nil</span>
2750
+ <span class='kw'>end</span>
2751
+ <span class='kw'>end</span></pre>
2752
+ </td>
2753
+ </tr>
2754
+ </table>
2755
+ </div>
2756
+
2757
+ <div class="method_details ">
2758
+ <h3 class="signature " id="stream-instance_method">
2759
+
2760
+ - (<tt>Object</tt>) <strong>stream</strong>
2761
+
2762
+
2763
+
2764
+
2765
+
2766
+ </h3><table class="source_code">
2767
+ <tr>
2768
+ <td>
2769
+ <pre class="lines">
2770
+
2771
+
2772
+ 22</pre>
2773
+ </td>
2774
+ <td>
2775
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 22</span>
2776
+
2777
+ <span class='kw'>def</span> <span class='id identifier rubyid_stream'>stream</span> <span class='semicolon'>;</span> <span class='ivar'>@stream</span> <span class='op'>||=</span> <span class='const'>Stream</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2778
+ </td>
2779
+ </tr>
2780
+ </table>
2781
+ </div>
2782
+
2783
+ <div class="method_details ">
2784
+ <h3 class="signature " id="sync_with_audio_player-instance_method">
2785
+
2786
+ - (<tt>Object</tt>) <strong>sync_with_audio_player</strong>
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+ </h3><table class="source_code">
2793
+ <tr>
2794
+ <td>
2795
+ <pre class="lines">
2796
+
2797
+
2798
+ 104
2799
+ 105
2800
+ 106
2801
+ 107</pre>
2802
+ </td>
2803
+ <td>
2804
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 104</span>
2805
+
2806
+ <span class='kw'>def</span> <span class='id identifier rubyid_sync_with_audio_player'>sync_with_audio_player</span>
2807
+ <span class='id identifier rubyid_wait_for_start_sync'>wait_for_start_sync</span>
2808
+ <span class='id identifier rubyid_wait_player_startup_delay'>wait_player_startup_delay</span>
2809
+ <span class='kw'>end</span></pre>
2810
+ </td>
2811
+ </tr>
2812
+ </table>
2813
+ </div>
2814
+
2815
+ <div class="method_details ">
2816
+ <h3 class="signature " id="sync_with_play-instance_method">
2817
+
2818
+ - (<tt>Object</tt>) <strong>sync_with_play</strong>
2819
+
2820
+
2821
+
2822
+
2823
+
2824
+ </h3><table class="source_code">
2825
+ <tr>
2826
+ <td>
2827
+ <pre class="lines">
2828
+
2829
+
2830
+ 174
2831
+ 175
2832
+ 176
2833
+ 177
2834
+ 178
2835
+ 179
2836
+ 180</pre>
2837
+ </td>
2838
+ <td>
2839
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 174</span>
2840
+
2841
+ <span class='kw'>def</span> <span class='id identifier rubyid_sync_with_play'>sync_with_play</span>
2842
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
2843
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_sentence_index_current?'>sentence_index_current?</span>
2844
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
2845
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.015</span>
2846
+ <span class='kw'>end</span>
2847
+ <span class='kw'>end</span></pre>
2848
+ </td>
2849
+ </tr>
2850
+ </table>
2851
+ </div>
2852
+
2853
+ <div class="method_details ">
2854
+ <h3 class="signature " id="sync_with_print-instance_method">
2855
+
2856
+ - (<tt>Object</tt>) <strong>sync_with_print</strong>
2857
+
2858
+
2859
+
2860
+
2861
+
2862
+ </h3><table class="source_code">
2863
+ <tr>
2864
+ <td>
2865
+ <pre class="lines">
2866
+
2867
+
2868
+ 182
2869
+ 183
2870
+ 184
2871
+ 185
2872
+ 186
2873
+ 187
2874
+ 188
2875
+ 189</pre>
2876
+ </td>
2877
+ <td>
2878
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 182</span>
2879
+
2880
+ <span class='kw'>def</span> <span class='id identifier rubyid_sync_with_print'>sync_with_print</span>
2881
+ <span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
2882
+ <span class='id identifier rubyid_make_sentence_index_current'>make_sentence_index_current</span> <span class='kw'>if</span> <span class='op'>!</span> <span class='id identifier rubyid_sentence_index_current?'>sentence_index_current?</span>
2883
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_sentence_index_current?'>sentence_index_current?</span>
2884
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
2885
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.015</span>
2886
+ <span class='kw'>end</span>
2887
+ <span class='kw'>end</span></pre>
2888
+ </td>
2889
+ </tr>
2890
+ </table>
2891
+ </div>
2892
+
2893
+ <div class="method_details ">
2894
+ <h3 class="signature " id="thread_processes-instance_method">
2895
+
2896
+ - (<tt>Object</tt>) <strong>thread_processes</strong>
2897
+
2898
+
2899
+
2900
+
2901
+
2902
+ </h3><table class="source_code">
2903
+ <tr>
2904
+ <td>
2905
+ <pre class="lines">
2906
+
2907
+
2908
+ 196
2909
+ 197
2910
+ 198
2911
+ 199
2912
+ 200</pre>
2913
+ </td>
2914
+ <td>
2915
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 196</span>
2916
+
2917
+ <span class='kw'>def</span> <span class='id identifier rubyid_thread_processes'>thread_processes</span>
2918
+ <span class='lbracket'>[</span><span class='symbol'>:monitor_keys_thread</span><span class='comma'>,</span>
2919
+ <span class='symbol'>:play_words_thread</span><span class='comma'>,</span>
2920
+ <span class='symbol'>:print_words_thread</span><span class='rbracket'>]</span>
2921
+ <span class='kw'>end</span></pre>
2922
+ </td>
2923
+ </tr>
2924
+ </table>
2925
+ </div>
2926
+
2927
+ <div class="method_details ">
2928
+ <h3 class="signature " id="timing-instance_method">
2929
+
2930
+ - (<tt>Object</tt>) <strong>timing</strong>
2931
+
2932
+
2933
+
2934
+
2935
+
2936
+ </h3><table class="source_code">
2937
+ <tr>
2938
+ <td>
2939
+ <pre class="lines">
2940
+
2941
+
2942
+ 10</pre>
2943
+ </td>
2944
+ <td>
2945
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 10</span>
2946
+
2947
+ <span class='kw'>def</span> <span class='id identifier rubyid_timing'>timing</span> <span class='semicolon'>;</span> <span class='ivar'>@timing</span> <span class='op'>||=</span> <span class='const'>Timing</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2948
+ </td>
2949
+ </tr>
2950
+ </table>
2951
+ </div>
2952
+
2953
+ <div class="method_details ">
2954
+ <h3 class="signature " id="wait_for_no_word_process-instance_method">
2955
+
2956
+ - (<tt>Object</tt>) <strong>wait_for_no_word_process</strong>
2957
+
2958
+
2959
+
2960
+
2961
+
2962
+ </h3><table class="source_code">
2963
+ <tr>
2964
+ <td>
2965
+ <pre class="lines">
2966
+
2967
+
2968
+ 125
2969
+ 126
2970
+ 127
2971
+ 128
2972
+ 129</pre>
2973
+ </td>
2974
+ <td>
2975
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 125</span>
2976
+
2977
+ <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_no_word_process'>wait_for_no_word_process</span>
2978
+ <span class='kw'>while</span> <span class='ivar'>@word_to_process</span>
2979
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.1</span>
2980
+ <span class='kw'>end</span>
2981
+ <span class='kw'>end</span></pre>
2982
+ </td>
2983
+ </tr>
2984
+ </table>
2985
+ </div>
2986
+
2987
+ <div class="method_details ">
2988
+ <h3 class="signature " id="wait_for_start_sync-instance_method">
2989
+
2990
+ - (<tt>Object</tt>) <strong>wait_for_start_sync</strong>
2991
+
2992
+
2993
+
2994
+
2995
+
2996
+ </h3><table class="source_code">
2997
+ <tr>
2998
+ <td>
2999
+ <pre class="lines">
3000
+
3001
+
3002
+ 154
3003
+ 155
3004
+ 156
3005
+ 157
3006
+ 158
3007
+ 159</pre>
3008
+ </td>
3009
+ <td>
3010
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 154</span>
3011
+
3012
+ <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_start_sync'>wait_for_start_sync</span>
3013
+ <span class='kw'>until</span> <span class='id identifier rubyid_start_sync?'>start_sync?</span>
3014
+ <span class='id identifier rubyid_sleep'>sleep</span> <span class='float'>0.001</span>
3015
+ <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_quit?'>quit?</span>
3016
+ <span class='kw'>end</span>
3017
+ <span class='kw'>end</span></pre>
3018
+ </td>
3019
+ </tr>
3020
+ </table>
3021
+ </div>
3022
+
3023
+ <div class="method_details ">
3024
+ <h3 class="signature " id="wait_player_startup_delay-instance_method">
3025
+
3026
+ - (<tt>Object</tt>) <strong>wait_player_startup_delay</strong>
3027
+
3028
+
3029
+
3030
+
3031
+
3032
+ </h3><table class="source_code">
3033
+ <tr>
3034
+ <td>
3035
+ <pre class="lines">
3036
+
3037
+
3038
+ 100
3039
+ 101
3040
+ 102</pre>
3041
+ </td>
3042
+ <td>
3043
+ <pre class="code"><span class="info file"># File 'lib/cw/tester.rb', line 100</span>
3044
+
3045
+ <span class='kw'>def</span> <span class='id identifier rubyid_wait_player_startup_delay'>wait_player_startup_delay</span>
3046
+ <span class='id identifier rubyid_audio'>audio</span><span class='period'>.</span><span class='id identifier rubyid_startup_delay'>startup_delay</span>
3047
+ <span class='kw'>end</span></pre>
3048
+ </td>
3049
+ </tr>
3050
+ </table>
3051
+ </div>
3052
+
3053
+ </div>
3054
+
3055
+ </div>
3056
+
3057
+ <div id="footer">
3058
+ Generated on Mon May 23 21:20:15 2016 by
3059
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3060
+ 0.8.7.6 (ruby-2.2.0).
3061
+ </div>
3062
+
3063
+ </body>
3064
+ </html>