rubytext 0.1.21 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,541 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: WindowIO
8
+
9
+ &mdash; Documentation by YARD 0.9.24
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "WindowIO";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (W)</a> &raquo;
40
+
41
+
42
+ <span class="title">WindowIO</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: WindowIO
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>output.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <h2>
95
+ Instance Method Summary
96
+ <small><a href="#" class="summary_toggle">collapse</a></small>
97
+ </h2>
98
+
99
+ <ul class="summary">
100
+
101
+ <li class="public ">
102
+ <span class="summary_signature">
103
+
104
+ <a href="#getch-instance_method" title="#getch (instance method)">#<strong>getch</strong> &#x21d2; Object </a>
105
+
106
+
107
+
108
+ </span>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <span class="summary_desc"><div class='inline'>
119
+ <p>FIXME These don&#39;t/can&#39;t honor @started flag…</p>
120
+ </div></span>
121
+
122
+ </li>
123
+
124
+
125
+ <li class="public ">
126
+ <span class="summary_signature">
127
+
128
+ <a href="#gets-instance_method" title="#gets (instance method)">#<strong>gets</strong> &#x21d2; Object </a>
129
+
130
+
131
+
132
+ </span>
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>still needs improvement.</p>
144
+ </div></span>
145
+
146
+ </li>
147
+
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#p-instance_method" title="#p (instance method)">#<strong>p</strong>(*args) &#x21d2; Object </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+ <span class="summary_desc"><div class='inline'></div></span>
167
+
168
+ </li>
169
+
170
+
171
+ <li class="public ">
172
+ <span class="summary_signature">
173
+
174
+ <a href="#print-instance_method" title="#print (instance method)">#<strong>print</strong>(*args) &#x21d2; Object </a>
175
+
176
+
177
+
178
+ </span>
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ <span class="summary_desc"><div class='inline'></div></span>
189
+
190
+ </li>
191
+
192
+
193
+ <li class="public ">
194
+ <span class="summary_signature">
195
+
196
+ <a href="#putch-instance_method" title="#putch (instance method)">#<strong>putch</strong>(ch, r: nil, c: nil, fx: nil) &#x21d2; Object </a>
197
+
198
+
199
+
200
+ </span>
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <span class="summary_desc"><div class='inline'></div></span>
211
+
212
+ </li>
213
+
214
+
215
+ <li class="public ">
216
+ <span class="summary_signature">
217
+
218
+ <a href="#puts-instance_method" title="#puts (instance method)">#<strong>puts</strong>(*args) &#x21d2; Object </a>
219
+
220
+
221
+
222
+ </span>
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+ <span class="summary_desc"><div class='inline'>
233
+ <p>Doesn&#39;t affect STDOUT.puts, etc.</p>
234
+ </div></span>
235
+
236
+ </li>
237
+
238
+
239
+ <li class="public ">
240
+ <span class="summary_signature">
241
+
242
+ <a href="#rcprint-instance_method" title="#rcprint (instance method)">#<strong>rcprint</strong>(r, c, *args) &#x21d2; Object </a>
243
+
244
+
245
+
246
+ </span>
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+ <span class="summary_desc"><div class='inline'></div></span>
257
+
258
+ </li>
259
+
260
+
261
+ </ul>
262
+
263
+
264
+
265
+
266
+ <div id="instance_method_details" class="method_details_list">
267
+ <h2>Instance Method Details</h2>
268
+
269
+
270
+ <div class="method_details first">
271
+ <h3 class="signature first" id="getch-instance_method">
272
+
273
+ #<strong>getch</strong> &#x21d2; <tt>Object</tt>
274
+
275
+
276
+
277
+
278
+
279
+ </h3><div class="docstring">
280
+ <div class="discussion">
281
+
282
+ <p>FIXME These don&#39;t/can&#39;t honor @started flag…</p>
283
+
284
+
285
+ </div>
286
+ </div>
287
+ <div class="tags">
288
+
289
+
290
+ </div><table class="source_code">
291
+ <tr>
292
+ <td>
293
+ <pre class="lines">
294
+
295
+
296
+ 328
297
+ 329
298
+ 330</pre>
299
+ </td>
300
+ <td>
301
+ <pre class="code"><span class="info file"># File 'output.rb', line 328</span>
302
+
303
+ <span class='kw'>def</span> <span class='id identifier rubyid_getch'>getch</span>
304
+ <span class='const'>Curses</span><span class='period'>.</span><span class='id identifier rubyid_getch'>getch</span>
305
+ <span class='kw'>end</span></pre>
306
+ </td>
307
+ </tr>
308
+ </table>
309
+ </div>
310
+
311
+ <div class="method_details ">
312
+ <h3 class="signature " id="gets-instance_method">
313
+
314
+ #<strong>gets</strong> &#x21d2; <tt>Object</tt>
315
+
316
+
317
+
318
+
319
+
320
+ </h3><div class="docstring">
321
+ <div class="discussion">
322
+
323
+ <p>still needs improvement</p>
324
+
325
+
326
+ </div>
327
+ </div>
328
+ <div class="tags">
329
+
330
+
331
+ </div><table class="source_code">
332
+ <tr>
333
+ <td>
334
+ <pre class="lines">
335
+
336
+
337
+ 332
338
+ 333
339
+ 334
340
+ 335</pre>
341
+ </td>
342
+ <td>
343
+ <pre class="code"><span class="info file"># File 'output.rb', line 332</span>
344
+
345
+ <span class='kw'>def</span> <span class='id identifier rubyid_gets'>gets</span> <span class='comment'># still needs improvement
346
+ </span> <span class='id identifier rubyid_recv'>recv</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="RubyText.html" title="RubyText (module)">RubyText</a></span></span><span class='period'>.</span><span class='id identifier rubyid_started'><span class='object_link'><a href="RubyText.html#started-class_method" title="RubyText.started (method)">started</a></span></span> <span class='op'>?</span> <span class='gvar'>$stdscr</span> <span class='op'>:</span> <span class='const'>Kernel</span>
347
+ <span class='id identifier rubyid_recv'>recv</span><span class='period'>.</span><span class='id identifier rubyid_gets'>gets</span>
348
+ <span class='kw'>end</span></pre>
349
+ </td>
350
+ </tr>
351
+ </table>
352
+ </div>
353
+
354
+ <div class="method_details ">
355
+ <h3 class="signature " id="p-instance_method">
356
+
357
+ #<strong>p</strong>(*args) &#x21d2; <tt>Object</tt>
358
+
359
+
360
+
361
+
362
+
363
+ </h3><table class="source_code">
364
+ <tr>
365
+ <td>
366
+ <pre class="lines">
367
+
368
+
369
+ 316
370
+ 317
371
+ 318
372
+ 319</pre>
373
+ </td>
374
+ <td>
375
+ <pre class="code"><span class="info file"># File 'output.rb', line 316</span>
376
+
377
+ <span class='kw'>def</span> <span class='id identifier rubyid_p'>p</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
378
+ <span class='id identifier rubyid_recv'>recv</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="RubyText.html" title="RubyText (module)">RubyText</a></span></span><span class='period'>.</span><span class='id identifier rubyid_started'><span class='object_link'><a href="RubyText.html#started-class_method" title="RubyText.started (method)">started</a></span></span> <span class='op'>?</span> <span class='gvar'>$stdscr</span> <span class='op'>:</span> <span class='const'>Kernel</span>
379
+ <span class='id identifier rubyid_recv'>recv</span><span class='period'>.</span><span class='id identifier rubyid_p'>p</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
380
+ <span class='kw'>end</span></pre>
381
+ </td>
382
+ </tr>
383
+ </table>
384
+ </div>
385
+
386
+ <div class="method_details ">
387
+ <h3 class="signature " id="print-instance_method">
388
+
389
+ #<strong>print</strong>(*args) &#x21d2; <tt>Object</tt>
390
+
391
+
392
+
393
+
394
+
395
+ </h3><table class="source_code">
396
+ <tr>
397
+ <td>
398
+ <pre class="lines">
399
+
400
+
401
+ 311
402
+ 312
403
+ 313
404
+ 314</pre>
405
+ </td>
406
+ <td>
407
+ <pre class="code"><span class="info file"># File 'output.rb', line 311</span>
408
+
409
+ <span class='kw'>def</span> <span class='id identifier rubyid_print'>print</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
410
+ <span class='id identifier rubyid_recv'>recv</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="RubyText.html" title="RubyText (module)">RubyText</a></span></span><span class='period'>.</span><span class='id identifier rubyid_started'><span class='object_link'><a href="RubyText.html#started-class_method" title="RubyText.started (method)">started</a></span></span> <span class='op'>?</span> <span class='gvar'>$stdscr</span> <span class='op'>:</span> <span class='const'>Kernel</span>
411
+ <span class='id identifier rubyid_recv'>recv</span><span class='period'>.</span><span class='id identifier rubyid_print'>print</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
412
+ <span class='kw'>end</span></pre>
413
+ </td>
414
+ </tr>
415
+ </table>
416
+ </div>
417
+
418
+ <div class="method_details ">
419
+ <h3 class="signature " id="putch-instance_method">
420
+
421
+ #<strong>putch</strong>(ch, r: nil, c: nil, fx: nil) &#x21d2; <tt>Object</tt>
422
+
423
+
424
+
425
+
426
+
427
+ </h3><table class="source_code">
428
+ <tr>
429
+ <td>
430
+ <pre class="lines">
431
+
432
+
433
+ 337
434
+ 338
435
+ 339
436
+ 340
437
+ 341
438
+ 342</pre>
439
+ </td>
440
+ <td>
441
+ <pre class="code"><span class="info file"># File 'output.rb', line 337</span>
442
+
443
+ <span class='kw'>def</span> <span class='id identifier rubyid_putch'>putch</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='comma'>,</span> <span class='label'>r:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>c:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>fx:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
444
+ <span class='id identifier rubyid_r'>r</span><span class='comma'>,</span> <span class='id identifier rubyid_c'>c</span> <span class='op'>=</span> <span class='const'>STDSCR</span><span class='period'>.</span><span class='id identifier rubyid_rc'>rc</span>
445
+ <span class='id identifier rubyid_r'>r</span> <span class='op'>||=</span> <span class='id identifier rubyid_r0'>r0</span>
446
+ <span class='id identifier rubyid_c'>c</span> <span class='op'>||=</span> <span class='id identifier rubyid_c0'>c0</span>
447
+ <span class='const'>STDSCR</span><span class='period'>.</span><span class='id identifier rubyid_putch'>putch</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='comma'>,</span> <span class='label'>r:</span> <span class='id identifier rubyid_r'>r</span><span class='comma'>,</span> <span class='label'>c:</span> <span class='id identifier rubyid_c'>c</span><span class='comma'>,</span> <span class='label'>fx:</span> <span class='id identifier rubyid_fx'><span class='object_link'><a href="top-level-namespace.html#fx-instance_method" title="#fx (method)">fx</a></span></span><span class='rparen'>)</span>
448
+ <span class='kw'>end</span></pre>
449
+ </td>
450
+ </tr>
451
+ </table>
452
+ </div>
453
+
454
+ <div class="method_details ">
455
+ <h3 class="signature " id="puts-instance_method">
456
+
457
+ #<strong>puts</strong>(*args) &#x21d2; <tt>Object</tt>
458
+
459
+
460
+
461
+
462
+
463
+ </h3><div class="docstring">
464
+ <div class="discussion">
465
+
466
+ <p>Doesn&#39;t affect STDOUT.puts, etc.</p>
467
+
468
+
469
+ </div>
470
+ </div>
471
+ <div class="tags">
472
+
473
+
474
+ </div><table class="source_code">
475
+ <tr>
476
+ <td>
477
+ <pre class="lines">
478
+
479
+
480
+ 306
481
+ 307
482
+ 308
483
+ 309</pre>
484
+ </td>
485
+ <td>
486
+ <pre class="code"><span class="info file"># File 'output.rb', line 306</span>
487
+
488
+ <span class='kw'>def</span> <span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span> <span class='comment'># Doesn&#39;t affect STDOUT.puts, etc.
489
+ </span> <span class='id identifier rubyid_recv'>recv</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="RubyText.html" title="RubyText (module)">RubyText</a></span></span><span class='period'>.</span><span class='id identifier rubyid_started'><span class='object_link'><a href="RubyText.html#started-class_method" title="RubyText.started (method)">started</a></span></span> <span class='op'>?</span> <span class='gvar'>$stdscr</span> <span class='op'>:</span> <span class='const'>Kernel</span>
490
+ <span class='id identifier rubyid_recv'>recv</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
491
+ <span class='kw'>end</span></pre>
492
+ </td>
493
+ </tr>
494
+ </table>
495
+ </div>
496
+
497
+ <div class="method_details ">
498
+ <h3 class="signature " id="rcprint-instance_method">
499
+
500
+ #<strong>rcprint</strong>(r, c, *args) &#x21d2; <tt>Object</tt>
501
+
502
+
503
+
504
+
505
+
506
+ </h3><table class="source_code">
507
+ <tr>
508
+ <td>
509
+ <pre class="lines">
510
+
511
+
512
+ 321
513
+ 322
514
+ 323
515
+ 324</pre>
516
+ </td>
517
+ <td>
518
+ <pre class="code"><span class="info file"># File 'output.rb', line 321</span>
519
+
520
+ <span class='kw'>def</span> <span class='id identifier rubyid_rcprint'>rcprint</span><span class='lparen'>(</span><span class='id identifier rubyid_r'>r</span><span class='comma'>,</span> <span class='id identifier rubyid_c'>c</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
521
+ <span class='id identifier rubyid_recv'>recv</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="RubyText.html" title="RubyText (module)">RubyText</a></span></span><span class='period'>.</span><span class='id identifier rubyid_started'><span class='object_link'><a href="RubyText.html#started-class_method" title="RubyText.started (method)">started</a></span></span> <span class='op'>?</span> <span class='gvar'>$stdscr</span> <span class='op'>:</span> <span class='const'>Kernel</span>
522
+ <span class='id identifier rubyid_recv'>recv</span><span class='period'>.</span><span class='id identifier rubyid_rcprint'>rcprint</span> <span class='id identifier rubyid_r'>r</span><span class='comma'>,</span> <span class='id identifier rubyid_c'>c</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
523
+ <span class='kw'>end</span></pre>
524
+ </td>
525
+ </tr>
526
+ </table>
527
+ </div>
528
+
529
+ </div>
530
+
531
+ </div>
532
+
533
+ <div id="footer">
534
+ Generated on Sat Feb 8 04:23:59 2020 by
535
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
536
+ 0.9.24 (ruby-2.4.2).
537
+ </div>
538
+
539
+ </div>
540
+ </body>
541
+ </html>