cw 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +33 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/cw.gemspec +1 -1
- data/doc/Alphabet.html +433 -0
- data/doc/AudioPlayer.html +805 -0
- data/doc/Book.html +3134 -0
- data/doc/BookDetails.html +664 -0
- data/doc/CW.html +849 -0
- data/doc/CWThreads.html +514 -0
- data/doc/Cl.html +1125 -0
- data/doc/CurrentWord.html +636 -0
- data/doc/CwDsl.html +1871 -0
- data/doc/CwEncoding.html +329 -0
- data/doc/FileDetails.html +236 -0
- data/doc/KeyInput.html +758 -0
- data/doc/MonitorKeys.html +482 -0
- data/doc/Numbers.html +433 -0
- data/doc/Params.html +352 -0
- data/doc/Print.html +1130 -0
- data/doc/Print/ProgressPrint.html +419 -0
- data/doc/Process.html +202 -0
- data/doc/Progress.html +337 -0
- data/doc/Randomize.html +959 -0
- data/doc/RepeatWord.html +816 -0
- data/doc/Rss.html +630 -0
- data/doc/Sentence.html +1457 -0
- data/doc/Spoken.html +215 -0
- data/doc/Str.html +771 -0
- data/doc/Stream.html +1401 -0
- data/doc/TestLetters.html +586 -0
- data/doc/TestWords.html +646 -0
- data/doc/Tester.html +3064 -0
- data/doc/Timing.html +1244 -0
- data/doc/ToneGenerator.html +2111 -0
- data/doc/Voice.html +273 -0
- data/doc/Words.html +1750 -0
- data/doc/_index.html +376 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +148 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +148 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2697 -0
- data/doc/monitor.html +435 -0
- data/doc/top-level-namespace.html +114 -0
- metadata +53 -1
data/doc/CwEncoding.html
ADDED
@@ -0,0 +1,329 @@
|
|
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: CwEncoding
|
8
|
+
|
9
|
+
— 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#!CwEncoding.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 (C)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">CwEncoding</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: CwEncoding
|
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">CwEncoding</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/cw_encoding.rb</dd>
|
98
|
+
|
99
|
+
</dl>
|
100
|
+
<div class="clear"></div>
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>
|
111
|
+
Instance Method Summary
|
112
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
113
|
+
</h2>
|
114
|
+
|
115
|
+
<ul class="summary">
|
116
|
+
|
117
|
+
<li class="public ">
|
118
|
+
<span class="summary_signature">
|
119
|
+
|
120
|
+
<a href="#encode-instance_method" title="#encode (instance method)">- (Object) <strong>encode</strong> </a>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
</span>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
|
139
|
+
<li class="public ">
|
140
|
+
<span class="summary_signature">
|
141
|
+
|
142
|
+
<a href="#fetch-instance_method" title="#fetch (instance method)">- (Object) <strong>fetch</strong>(char) </a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</span>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
157
|
+
|
158
|
+
</li>
|
159
|
+
|
160
|
+
|
161
|
+
</ul>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<div id="instance_method_details" class="method_details_list">
|
167
|
+
<h2>Instance Method Details</h2>
|
168
|
+
|
169
|
+
|
170
|
+
<div class="method_details first">
|
171
|
+
<h3 class="signature first" id="encode-instance_method">
|
172
|
+
|
173
|
+
- (<tt>Object</tt>) <strong>encode</strong>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
</h3><table class="source_code">
|
180
|
+
<tr>
|
181
|
+
<td>
|
182
|
+
<pre class="lines">
|
183
|
+
|
184
|
+
|
185
|
+
9
|
186
|
+
10
|
187
|
+
11
|
188
|
+
12
|
189
|
+
13
|
190
|
+
14
|
191
|
+
15
|
192
|
+
16
|
193
|
+
17
|
194
|
+
18
|
195
|
+
19
|
196
|
+
20
|
197
|
+
21
|
198
|
+
22
|
199
|
+
23
|
200
|
+
24
|
201
|
+
25
|
202
|
+
26
|
203
|
+
27
|
204
|
+
28
|
205
|
+
29
|
206
|
+
30
|
207
|
+
31
|
208
|
+
32
|
209
|
+
33
|
210
|
+
34
|
211
|
+
35
|
212
|
+
36
|
213
|
+
37
|
214
|
+
38
|
215
|
+
39
|
216
|
+
40
|
217
|
+
41
|
218
|
+
42
|
219
|
+
43
|
220
|
+
44
|
221
|
+
45
|
222
|
+
46
|
223
|
+
47
|
224
|
+
48
|
225
|
+
49
|
226
|
+
50
|
227
|
+
51
|
228
|
+
52
|
229
|
+
53
|
230
|
+
54
|
231
|
+
55</pre>
|
232
|
+
</td>
|
233
|
+
<td>
|
234
|
+
<pre class="code"><span class="info file"># File 'lib/cw/cw_encoding.rb', line 9</span>
|
235
|
+
|
236
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_encode'>encode</span>
|
237
|
+
<span class='lbrace'>{</span>
|
238
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>a</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
239
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>b</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
240
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
241
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>d</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
242
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>e</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
243
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>f</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
244
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>g</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
245
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
246
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
247
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>j</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
248
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>k</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
249
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>l</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
250
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>m</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
251
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>n</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
252
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>o</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
253
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>p</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
254
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>q</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
255
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>r</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
256
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>s</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
257
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>t</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
258
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>u</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
259
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>v</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
260
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>w</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
261
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
262
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>y</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
263
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>z</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
264
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
265
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>2</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
266
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>3</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
267
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>4</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
268
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>5</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
269
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>6</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
270
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>7</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
271
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>8</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
272
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>9</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
273
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
274
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
275
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
276
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>=</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
277
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>!</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
278
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
279
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>?</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dash</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='comma'>,</span> <span class='symbol'>:dot</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
280
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
281
|
+
<span class='rbrace'>}</span>
|
282
|
+
<span class='kw'>end</span></pre>
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
</table>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
<div class="method_details ">
|
289
|
+
<h3 class="signature " id="fetch-instance_method">
|
290
|
+
|
291
|
+
- (<tt>Object</tt>) <strong>fetch</strong>(char)
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
</h3><table class="source_code">
|
298
|
+
<tr>
|
299
|
+
<td>
|
300
|
+
<pre class="lines">
|
301
|
+
|
302
|
+
|
303
|
+
5
|
304
|
+
6
|
305
|
+
7</pre>
|
306
|
+
</td>
|
307
|
+
<td>
|
308
|
+
<pre class="code"><span class="info file"># File 'lib/cw/cw_encoding.rb', line 5</span>
|
309
|
+
|
310
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_fetch'>fetch</span> <span class='id identifier rubyid_char'>char</span>
|
311
|
+
<span class='id identifier rubyid_encode'>encode</span><span class='lbracket'>[</span><span class='id identifier rubyid_char'>char</span><span class='rbracket'>]</span>
|
312
|
+
<span class='kw'>end</span></pre>
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
</table>
|
316
|
+
</div>
|
317
|
+
|
318
|
+
</div>
|
319
|
+
|
320
|
+
</div>
|
321
|
+
|
322
|
+
<div id="footer">
|
323
|
+
Generated on Mon May 23 21:20:17 2016 by
|
324
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
325
|
+
0.8.7.6 (ruby-2.2.0).
|
326
|
+
</div>
|
327
|
+
|
328
|
+
</body>
|
329
|
+
</html>
|
@@ -0,0 +1,236 @@
|
|
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: FileDetails
|
8
|
+
|
9
|
+
— 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#!FileDetails.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 (F)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">FileDetails</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: FileDetails
|
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">FileDetails</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/file_details.rb</dd>
|
98
|
+
|
99
|
+
</dl>
|
100
|
+
<div class="clear"></div>
|
101
|
+
|
102
|
+
<div id="subclasses">
|
103
|
+
<h2>Direct Known Subclasses</h2>
|
104
|
+
<p class="children"><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></p>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<h2>Constant Summary</h2>
|
108
|
+
|
109
|
+
<dl class="constants">
|
110
|
+
|
111
|
+
<dt id="HERE-constant" class="">HERE =
|
112
|
+
|
113
|
+
</dt>
|
114
|
+
<dd><pre class="code"><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span></pre></dd>
|
115
|
+
|
116
|
+
<dt id="TEXT-constant" class="">TEXT =
|
117
|
+
|
118
|
+
</dt>
|
119
|
+
<dd><pre class="code"><span class='const'>HERE</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../../data/text/</span><span class='tstring_end'>'</span></span></pre></dd>
|
120
|
+
|
121
|
+
<dt id="AUDIO-constant" class="">AUDIO =
|
122
|
+
|
123
|
+
</dt>
|
124
|
+
<dd><pre class="code"><span class='const'>HERE</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../../audio/</span><span class='tstring_end'>'</span></span></pre></dd>
|
125
|
+
|
126
|
+
</dl>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<h2>
|
137
|
+
Instance Method Summary
|
138
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
139
|
+
</h2>
|
140
|
+
|
141
|
+
<ul class="summary">
|
142
|
+
|
143
|
+
<li class="public ">
|
144
|
+
<span class="summary_signature">
|
145
|
+
|
146
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (FileDetails) <strong>initialize</strong> </a>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
</span>
|
151
|
+
|
152
|
+
|
153
|
+
<span class="note title constructor">constructor</span>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<span class="summary_desc"><div class='inline'>
|
163
|
+
<p>A new instance of FileDetails.</p>
|
164
|
+
</div></span>
|
165
|
+
|
166
|
+
</li>
|
167
|
+
|
168
|
+
|
169
|
+
</ul>
|
170
|
+
|
171
|
+
|
172
|
+
<div id="constructor_details" class="method_details_list">
|
173
|
+
<h2>Constructor Details</h2>
|
174
|
+
|
175
|
+
<div class="method_details first">
|
176
|
+
<h3 class="signature first" id="initialize-instance_method">
|
177
|
+
|
178
|
+
- (<tt><span class='object_link'><a href="" title="FileDetails (class)">FileDetails</a></span></tt>) <strong>initialize</strong>
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
</h3><div class="docstring">
|
185
|
+
<div class="discussion">
|
186
|
+
|
187
|
+
<p>Returns a new instance of FileDetails</p>
|
188
|
+
|
189
|
+
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
<div class="tags">
|
193
|
+
|
194
|
+
|
195
|
+
</div><table class="source_code">
|
196
|
+
<tr>
|
197
|
+
<td>
|
198
|
+
<pre class="lines">
|
199
|
+
|
200
|
+
|
201
|
+
8
|
202
|
+
9
|
203
|
+
10
|
204
|
+
11
|
205
|
+
12
|
206
|
+
13
|
207
|
+
14</pre>
|
208
|
+
</td>
|
209
|
+
<td>
|
210
|
+
<pre class="code"><span class="info file"># File 'lib/cw/file_details.rb', line 8</span>
|
211
|
+
|
212
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
213
|
+
<span class='ivar'>@repeat_tone</span> <span class='op'>=</span> <span class='const'>AUDIO</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>rpt.mp3</span><span class='tstring_end'>"</span></span>
|
214
|
+
<span class='ivar'>@r_tone</span> <span class='op'>=</span> <span class='const'>AUDIO</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>r.mp3</span><span class='tstring_end'>"</span></span>
|
215
|
+
<span class='ivar'>@sentence_folder</span> <span class='op'>=</span> <span class='const'>TEXT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>sentences/</span><span class='tstring_end'>"</span></span>
|
216
|
+
<span class='ivar'>@text_folder</span> <span class='op'>=</span> <span class='const'>TEXT</span>
|
217
|
+
<span class='ivar'>@progress_file</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>progress.txt</span><span class='tstring_end'>'</span></span>
|
218
|
+
<span class='kw'>end</span></pre>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
</table>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
</div>
|
225
|
+
|
226
|
+
|
227
|
+
</div>
|
228
|
+
|
229
|
+
<div id="footer">
|
230
|
+
Generated on Mon May 23 21:20:17 2016 by
|
231
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
232
|
+
0.8.7.6 (ruby-2.2.0).
|
233
|
+
</div>
|
234
|
+
|
235
|
+
</body>
|
236
|
+
</html>
|