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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07532b10e20297eadad02ee9acbcb4ae044f3ed6
4
- data.tar.gz: fd692cc4c505e4240aa7f7314e1c0c5535fa192a
3
+ metadata.gz: 6a90ddea0338da234c21e4070bd70f5b26580f43
4
+ data.tar.gz: f0d5d768cdb888c965bf89a4fbca7edb6adf2c58
5
5
  SHA512:
6
- metadata.gz: 2eb678d25c8d30214b4c1ae9f4f303737ecaf2ba74158c569456d34552b749388ced5a4a71466a777e955a087cef03644c31fd8134c888d8755fde17291cad33
7
- data.tar.gz: 13f20251f2bfc2c4bc4876c131c54ad78052bf234150d68cc77cf991402a6fd6006e873e10750eb377929d759e0be3c26db481bf8cc457f52cbd988eb1b79e95
6
+ metadata.gz: 76de4fe3535caab405f43ceef66eb6e639db9bbc777d81f5fa5e2b585dc6b5c17a7945e39861600ab6484d3691f197f3eaf61b54a920ca37c801a833d126f800
7
+ data.tar.gz: 52158603597720f278a7feef5721bb6685e45b76be781b2f040971842776715ef749b7b1cd668a5b802c07d6fc13e930ed33fe989b8e736c7548aa6841eda52c
@@ -0,0 +1,33 @@
1
+ lib/cw.rb 30117a5cd8ca9e2d5281f8c08cb0a2de37491d0d
2
+ lib/cw/cl.rb 5b8288fd93e577aa1251c13174a64066fcb23503
3
+ lib/cw/str.rb bb5d3558c51cc754de6eab7a83a0dbff37285694
4
+ lib/cw/rss.rb 2623f80cbf9b5a9e1ecb706915d7584815c80871
5
+ lib/cw/book.rb da54e4f3df96fc45e9076464a8c9aa3a5e5a607c
6
+ lib/cw/speak.rb fed0aaf5384d8dc0ebc4fd1c8cf07b227a168e86
7
+ lib/cw/print.rb dda478b67c0517ac0ac885fb8029a3848803ab00
8
+ lib/cw/words.rb edd50e369c61fd680130aae8879a62d25f257536
9
+ lib/cw/voice.rb a14a6a6ab9285ac7c62422fab2dbda0068844b0d
10
+ lib/cw/spoken.rb fed0aaf5384d8dc0ebc4fd1c8cf07b227a168e86
11
+ lib/cw/tester.rb 4c8366341654147602429488dcf2eaa49252909a
12
+ lib/cw/cw_dsl.rb 02a34f1488e0d68d50d1b2483e5bc968ef4b8605
13
+ lib/cw/timing.rb 521f6320e0198631a01a6146d4de6c7b62f38474
14
+ lib/cw/stream.rb 1e12f278079502a2da0775636451d44b1ab9fbfd
15
+ lib/cw/monitor.rb 29ec4e222c93f6b38ecd4a0705ed221bdcc5ba22
16
+ lib/cw/process.rb a05dbec9a8a1c946826c7cdbbd90af9c31b600e9
17
+ lib/cw/numbers.rb cef78a54d7840359b05a38bc6c4260c1b0c71e04
18
+ lib/cw/progress.rb 1b580a7b2a0ed5f86396d1c2ae84e614abca82b2
19
+ lib/cw/alphabet.rb 3d12acdf2873f2e411ce39959510c9aa50c3eece
20
+ lib/cw/sentence.rb 642a417bb50f9cdc20ab6dc505918f2f789bf227
21
+ lib/cw/randomize.rb 37cf64e82439a6ad47cd979c482d0db01f89816d
22
+ lib/cw/cw_params.rb bc53ff20683d82d2d1e7881574d72ab4f879a5ce
23
+ lib/cw/key_input.rb 0938ddb6866e95f4439de13f5f6a9ae97c655338
24
+ lib/cw/test_words.rb 3564e6361fda166a6994f94dbc0b6b60e9a4fa3e
25
+ lib/cw/cw_threads.rb 1901e305db6bf9319b07d9bc5367c63a68f92ffa
26
+ lib/cw/cw_encoding.rb 3a5e191e81b7662d3fd1c01cbc7ae2fdf74a5728
27
+ lib/cw/repeat_word.rb fcf88427e36576ea85e61ca39920223cbc02c719
28
+ lib/cw/file_details.rb eef3db05f148c4f1c656564f172a4e3a15b8a2ff
29
+ lib/cw/monitor_keys.rb e27bd16b6a02ed105002f297fd756bd3627e72d4
30
+ lib/cw/test_letters.rb d0297831c7a53f87127b5f430cfd8d1126037bbf
31
+ lib/cw/audio_player.rb d9acf7790a81de23ce1398ea1e8bb3fff035b719
32
+ lib/cw/book_details.rb 114cf7cd164a68a2f9e0bd572274ad79075428ae
33
+ lib/cw/tone_generator.rb c4150071b499147df36b2c775b005b62b126bbdd
Binary file
Binary file
Binary file
data/cw.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'cw'
7
- spec.version = '0.0.8'
7
+ spec.version = '0.0.9'
8
8
  spec.date = '2016-05-21'
9
9
  spec.authors = ["Martyn Jago"]
10
10
  spec.email = ["martyn.jago@btinternet.com"]
@@ -0,0 +1,433 @@
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: Alphabet
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#!Alphabet.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 (A)</a> &raquo;
35
+
36
+
37
+ <span class="title">Alphabet</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: Alphabet
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">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Alphabet</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/cw/alphabet.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>class Alphabet provides alphabet generation functionality</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+ <h2>
122
+ Instance Method Summary
123
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
124
+ </h2>
125
+
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#alphabet-instance_method" title="#alphabet (instance method)">- (Object) <strong>alphabet</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="#generate-instance_method" title="#generate (instance method)">- (Object) <strong>generate</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="#initialize-instance_method" title="#initialize (instance method)">- (Alphabet) <strong>initialize</strong>(options = {}) </a>
176
+
177
+
178
+
179
+ </span>
180
+
181
+
182
+ <span class="note title constructor">constructor</span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'>
192
+ <p>A new instance of Alphabet.</p>
193
+ </div></span>
194
+
195
+ </li>
196
+
197
+
198
+ <li class="public ">
199
+ <span class="summary_signature">
200
+
201
+ <a href="#reverse_alphabet_maybe-instance_method" title="#reverse_alphabet_maybe (instance method)">- (Object) <strong>reverse_alphabet_maybe</strong> </a>
202
+
203
+
204
+
205
+ </span>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="summary_desc"><div class='inline'></div></span>
216
+
217
+ </li>
218
+
219
+
220
+ <li class="public ">
221
+ <span class="summary_signature">
222
+
223
+ <a href="#shuffle_alphabet_maybe-instance_method" title="#shuffle_alphabet_maybe (instance method)">- (Object) <strong>shuffle_alphabet_maybe</strong> </a>
224
+
225
+
226
+
227
+ </span>
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <span class="summary_desc"><div class='inline'></div></span>
238
+
239
+ </li>
240
+
241
+
242
+ </ul>
243
+
244
+
245
+ <div id="constructor_details" class="method_details_list">
246
+ <h2>Constructor Details</h2>
247
+
248
+ <div class="method_details first">
249
+ <h3 class="signature first" id="initialize-instance_method">
250
+
251
+ - (<tt><span class='object_link'><a href="" title="Alphabet (class)">Alphabet</a></span></tt>) <strong>initialize</strong>(options = {})
252
+
253
+
254
+
255
+
256
+
257
+ </h3><div class="docstring">
258
+ <div class="discussion">
259
+
260
+ <p>Returns a new instance of Alphabet</p>
261
+
262
+
263
+ </div>
264
+ </div>
265
+ <div class="tags">
266
+
267
+
268
+ </div><table class="source_code">
269
+ <tr>
270
+ <td>
271
+ <pre class="lines">
272
+
273
+
274
+ 7
275
+ 8
276
+ 9</pre>
277
+ </td>
278
+ <td>
279
+ <pre class="code"><span class="info file"># File 'lib/cw/alphabet.rb', line 7</span>
280
+
281
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
282
+ <span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
283
+ <span class='kw'>end</span></pre>
284
+ </td>
285
+ </tr>
286
+ </table>
287
+ </div>
288
+
289
+ </div>
290
+
291
+
292
+ <div id="instance_method_details" class="method_details_list">
293
+ <h2>Instance Method Details</h2>
294
+
295
+
296
+ <div class="method_details first">
297
+ <h3 class="signature first" id="alphabet-instance_method">
298
+
299
+ - (<tt>Object</tt>) <strong>alphabet</strong>
300
+
301
+
302
+
303
+
304
+
305
+ </h3><table class="source_code">
306
+ <tr>
307
+ <td>
308
+ <pre class="lines">
309
+
310
+
311
+ 11
312
+ 12
313
+ 13</pre>
314
+ </td>
315
+ <td>
316
+ <pre class="code"><span class="info file"># File 'lib/cw/alphabet.rb', line 11</span>
317
+
318
+ <span class='kw'>def</span> <span class='id identifier rubyid_alphabet'>alphabet</span>
319
+ <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>abcdefghijklmnopqrstuvwxyz</span><span class='tstring_end'>&#39;</span></span>
320
+ <span class='kw'>end</span></pre>
321
+ </td>
322
+ </tr>
323
+ </table>
324
+ </div>
325
+
326
+ <div class="method_details ">
327
+ <h3 class="signature " id="generate-instance_method">
328
+
329
+ - (<tt>Object</tt>) <strong>generate</strong>
330
+
331
+
332
+
333
+
334
+
335
+ </h3><table class="source_code">
336
+ <tr>
337
+ <td>
338
+ <pre class="lines">
339
+
340
+
341
+ 23
342
+ 24
343
+ 25
344
+ 26
345
+ 27
346
+ 28</pre>
347
+ </td>
348
+ <td>
349
+ <pre class="code"><span class="info file"># File 'lib/cw/alphabet.rb', line 23</span>
350
+
351
+ <span class='kw'>def</span> <span class='id identifier rubyid_generate'>generate</span>
352
+ <span class='ivar'>@letters</span> <span class='op'>=</span> <span class='id identifier rubyid_alphabet'>alphabet</span>
353
+ <span class='id identifier rubyid_shuffle_alphabet_maybe'>shuffle_alphabet_maybe</span>
354
+ <span class='id identifier rubyid_reverse_alphabet_maybe'>reverse_alphabet_maybe</span>
355
+ <span class='ivar'>@letters</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
356
+ <span class='kw'>end</span></pre>
357
+ </td>
358
+ </tr>
359
+ </table>
360
+ </div>
361
+
362
+ <div class="method_details ">
363
+ <h3 class="signature " id="reverse_alphabet_maybe-instance_method">
364
+
365
+ - (<tt>Object</tt>) <strong>reverse_alphabet_maybe</strong>
366
+
367
+
368
+
369
+
370
+
371
+ </h3><table class="source_code">
372
+ <tr>
373
+ <td>
374
+ <pre class="lines">
375
+
376
+
377
+ 15
378
+ 16
379
+ 17</pre>
380
+ </td>
381
+ <td>
382
+ <pre class="code"><span class="info file"># File 'lib/cw/alphabet.rb', line 15</span>
383
+
384
+ <span class='kw'>def</span> <span class='id identifier rubyid_reverse_alphabet_maybe'>reverse_alphabet_maybe</span>
385
+ <span class='ivar'>@letters</span><span class='period'>.</span><span class='id identifier rubyid_reverse!'>reverse!</span> <span class='kw'>if</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:reverse</span><span class='rbracket'>]</span>
386
+ <span class='kw'>end</span></pre>
387
+ </td>
388
+ </tr>
389
+ </table>
390
+ </div>
391
+
392
+ <div class="method_details ">
393
+ <h3 class="signature " id="shuffle_alphabet_maybe-instance_method">
394
+
395
+ - (<tt>Object</tt>) <strong>shuffle_alphabet_maybe</strong>
396
+
397
+
398
+
399
+
400
+
401
+ </h3><table class="source_code">
402
+ <tr>
403
+ <td>
404
+ <pre class="lines">
405
+
406
+
407
+ 19
408
+ 20
409
+ 21</pre>
410
+ </td>
411
+ <td>
412
+ <pre class="code"><span class="info file"># File 'lib/cw/alphabet.rb', line 19</span>
413
+
414
+ <span class='kw'>def</span> <span class='id identifier rubyid_shuffle_alphabet_maybe'>shuffle_alphabet_maybe</span>
415
+ <span class='ivar'>@letters</span> <span class='op'>=</span> <span class='ivar'>@letters</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_shuffle'>shuffle</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='kw'>if</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:shuffle</span><span class='rbracket'>]</span>
416
+ <span class='kw'>end</span></pre>
417
+ </td>
418
+ </tr>
419
+ </table>
420
+ </div>
421
+
422
+ </div>
423
+
424
+ </div>
425
+
426
+ <div id="footer">
427
+ Generated on Mon May 23 21:20:17 2016 by
428
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
429
+ 0.8.7.6 (ruby-2.2.0).
430
+ </div>
431
+
432
+ </body>
433
+ </html>