mucgly 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +3 -0
- data/LICENSE +20 -0
- data/README.rdoc +292 -0
- data/Rakefile +29 -0
- data/bin/mucgly +220 -0
- data/doc/EasyFile/InOut.html +2097 -0
- data/doc/EasyFile/Read.html +1334 -0
- data/doc/EasyFile/ReadStack.html +461 -0
- data/doc/EasyFile/Stacked.html +411 -0
- data/doc/EasyFile/String.html +570 -0
- data/doc/EasyFile/Write.html +1084 -0
- data/doc/EasyFile/WriteStack.html +305 -0
- data/doc/EasyFile.html +155 -0
- data/doc/Mucgly/Env.html +1675 -0
- data/doc/Mucgly/MucglyFile/ParseState.html +1662 -0
- data/doc/Mucgly/MucglyFile/Token.html +529 -0
- data/doc/Mucgly/MucglyFile.html +545 -0
- data/doc/Mucgly/Separators.html +521 -0
- data/doc/Mucgly.html +244 -0
- data/doc/_index.html +261 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.CHANGELOG.html +79 -0
- data/doc/file.README.html +390 -0
- data/doc/file_list.html +58 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +390 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +742 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/easyfile.rb +720 -0
- data/lib/mucgly.rb +627 -0
- data/test/test_basic.rx.txt +19 -0
- data/test/test_include.rb +6 -0
- data/test/test_include.txt +3 -0
- data/test/test_mucgly.rb +32 -0
- data/test/test_multi.rx.txt +4 -0
- data/test/test_specials_cli.rx.txt +11 -0
- data/test/test_specials_cmd.rx.txt +53 -0
- metadata +98 -0
data/doc/Mucgly/Env.html
ADDED
@@ -0,0 +1,1675 @@
|
|
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: Mucgly::Env
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.6.1
|
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#!" + escape(window.location.href);
|
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 (E)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../Mucgly.html" title="Mucgly (module)">Mucgly</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Env</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: Mucgly::Env
|
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">Mucgly::Env</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/mucgly.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>Execution environment for MucglyFile.</p>
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="tags">
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
<h2>Constant Summary</h2>
|
115
|
+
|
116
|
+
<dl class="constants">
|
117
|
+
|
118
|
+
<dt id="fileStartHook-classvariable" class="">@@fileStartHook =
|
119
|
+
|
120
|
+
</dt>
|
121
|
+
<dd><pre class="code"><span class='kw'>nil</span></pre></dd>
|
122
|
+
|
123
|
+
<dt id="fileEndHook-classvariable" class="">@@fileEndHook =
|
124
|
+
|
125
|
+
</dt>
|
126
|
+
<dd><pre class="code"><span class='kw'>nil</span></pre></dd>
|
127
|
+
|
128
|
+
</dl>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
135
|
+
<ul class="summary">
|
136
|
+
|
137
|
+
<li class="public ">
|
138
|
+
<span class="summary_signature">
|
139
|
+
|
140
|
+
<a href="#_inIO-instance_method" title="#_inIO (instance method)">- (Object) <strong>_inIO</strong> </a>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
</span>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
<span class="summary_desc"><div class='inline'>
|
158
|
+
<p>Returns the value of attribute _inIO.</p>
|
159
|
+
</div></span>
|
160
|
+
|
161
|
+
</li>
|
162
|
+
|
163
|
+
|
164
|
+
<li class="public ">
|
165
|
+
<span class="summary_signature">
|
166
|
+
|
167
|
+
<a href="#_outIO-instance_method" title="#_outIO (instance method)">- (Object) <strong>_outIO</strong> </a>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
<span class="summary_desc"><div class='inline'>
|
185
|
+
<p>Returns the value of attribute _outIO.</p>
|
186
|
+
</div></span>
|
187
|
+
|
188
|
+
</li>
|
189
|
+
|
190
|
+
|
191
|
+
<li class="public ">
|
192
|
+
<span class="summary_signature">
|
193
|
+
|
194
|
+
<a href="#_separators-instance_method" title="#_separators (instance method)">- (Object) <strong>_separators</strong> </a>
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
</span>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
<span class="summary_desc"><div class='inline'>
|
212
|
+
<p>Returns the value of attribute _separators.</p>
|
213
|
+
</div></span>
|
214
|
+
|
215
|
+
</li>
|
216
|
+
|
217
|
+
|
218
|
+
</ul>
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
<h2>
|
225
|
+
Class Method Summary
|
226
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
227
|
+
</h2>
|
228
|
+
|
229
|
+
<ul class="summary">
|
230
|
+
|
231
|
+
<li class="public ">
|
232
|
+
<span class="summary_signature">
|
233
|
+
|
234
|
+
<a href="#fileEndHook-class_method" title="fileEndHook (class method)">+ (Object) <strong>fileEndHook</strong> </a>
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
</span>
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
249
|
+
|
250
|
+
</li>
|
251
|
+
|
252
|
+
|
253
|
+
<li class="public ">
|
254
|
+
<span class="summary_signature">
|
255
|
+
|
256
|
+
<a href="#fileEndHook%3D-class_method" title="fileEndHook= (class method)">+ (Object) <strong>fileEndHook=</strong>(val) </a>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
</span>
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
271
|
+
|
272
|
+
</li>
|
273
|
+
|
274
|
+
|
275
|
+
<li class="public ">
|
276
|
+
<span class="summary_signature">
|
277
|
+
|
278
|
+
<a href="#fileStartHook-class_method" title="fileStartHook (class method)">+ (Object) <strong>fileStartHook</strong> </a>
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
</span>
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
293
|
+
|
294
|
+
</li>
|
295
|
+
|
296
|
+
|
297
|
+
<li class="public ">
|
298
|
+
<span class="summary_signature">
|
299
|
+
|
300
|
+
<a href="#fileStartHook%3D-class_method" title="fileStartHook= (class method)">+ (Object) <strong>fileStartHook=</strong>(val) </a>
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
</span>
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
|
319
|
+
</ul>
|
320
|
+
|
321
|
+
<h2>
|
322
|
+
Instance Method Summary
|
323
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
324
|
+
</h2>
|
325
|
+
|
326
|
+
<ul class="summary">
|
327
|
+
|
328
|
+
<li class="public ">
|
329
|
+
<span class="summary_signature">
|
330
|
+
|
331
|
+
<a href="#_closeInput-instance_method" title="#_closeInput (instance method)">- (Object) <strong>_closeInput</strong> </a>
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
</span>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
346
|
+
|
347
|
+
</li>
|
348
|
+
|
349
|
+
|
350
|
+
<li class="public ">
|
351
|
+
<span class="summary_signature">
|
352
|
+
|
353
|
+
<a href="#_closeOutput-instance_method" title="#_closeOutput (instance method)">- (Object) <strong>_closeOutput</strong> </a>
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
</span>
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
368
|
+
|
369
|
+
</li>
|
370
|
+
|
371
|
+
|
372
|
+
<li class="public ">
|
373
|
+
<span class="summary_signature">
|
374
|
+
|
375
|
+
<a href="#_eval-instance_method" title="#_eval (instance method)">- (Object) <strong>_eval</strong>(cmd) </a>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
</span>
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
390
|
+
|
391
|
+
</li>
|
392
|
+
|
393
|
+
|
394
|
+
<li class="public ">
|
395
|
+
<span class="summary_signature">
|
396
|
+
|
397
|
+
<a href="#_ifilename-instance_method" title="#_ifilename (instance method)">- (Object) <strong>_ifilename</strong> </a>
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
</span>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
412
|
+
|
413
|
+
</li>
|
414
|
+
|
415
|
+
|
416
|
+
<li class="public ">
|
417
|
+
<span class="summary_signature">
|
418
|
+
|
419
|
+
<a href="#_ilinenumber-instance_method" title="#_ilinenumber (instance method)">- (Object) <strong>_ilinenumber</strong> </a>
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
</span>
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
434
|
+
|
435
|
+
</li>
|
436
|
+
|
437
|
+
|
438
|
+
<li class="public ">
|
439
|
+
<span class="summary_signature">
|
440
|
+
|
441
|
+
<a href="#_ofilename-instance_method" title="#_ofilename (instance method)">- (Object) <strong>_ofilename</strong> </a>
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</span>
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
456
|
+
|
457
|
+
</li>
|
458
|
+
|
459
|
+
|
460
|
+
<li class="public ">
|
461
|
+
<span class="summary_signature">
|
462
|
+
|
463
|
+
<a href="#_olinenumber-instance_method" title="#_olinenumber (instance method)">- (Object) <strong>_olinenumber</strong> </a>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
</span>
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
478
|
+
|
479
|
+
</li>
|
480
|
+
|
481
|
+
|
482
|
+
<li class="public ">
|
483
|
+
<span class="summary_signature">
|
484
|
+
|
485
|
+
<a href="#_openInput-instance_method" title="#_openInput (instance method)">- (Object) <strong>_openInput</strong>(filename) </a>
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
</span>
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
|
499
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
500
|
+
|
501
|
+
</li>
|
502
|
+
|
503
|
+
|
504
|
+
<li class="public ">
|
505
|
+
<span class="summary_signature">
|
506
|
+
|
507
|
+
<a href="#_openOutput-instance_method" title="#_openOutput (instance method)">- (Object) <strong>_openOutput</strong>(filename) </a>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
</span>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
522
|
+
|
523
|
+
</li>
|
524
|
+
|
525
|
+
|
526
|
+
<li class="public ">
|
527
|
+
<span class="summary_signature">
|
528
|
+
|
529
|
+
<a href="#_openString-instance_method" title="#_openString (instance method)">- (Object) <strong>_openString</strong>(filename) </a>
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
</span>
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
544
|
+
|
545
|
+
</li>
|
546
|
+
|
547
|
+
|
548
|
+
<li class="public ">
|
549
|
+
<span class="summary_signature">
|
550
|
+
|
551
|
+
<a href="#_processFilePair-instance_method" title="#_processFilePair (instance method)">- (Object) <strong>_processFilePair</strong>(filePair) </a>
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
</span>
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
566
|
+
|
567
|
+
</li>
|
568
|
+
|
569
|
+
|
570
|
+
<li class="public ">
|
571
|
+
<span class="summary_signature">
|
572
|
+
|
573
|
+
<a href="#_processFilePairs-instance_method" title="#_processFilePairs (instance method)">- (Object) <strong>_processFilePairs</strong>(filePairs) </a>
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
</span>
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
588
|
+
|
589
|
+
</li>
|
590
|
+
|
591
|
+
|
592
|
+
<li class="public ">
|
593
|
+
<span class="summary_signature">
|
594
|
+
|
595
|
+
<a href="#_pushInput-instance_method" title="#_pushInput (instance method)">- (Object) <strong>_pushInput</strong>(name) </a>
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
</span>
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
610
|
+
|
611
|
+
</li>
|
612
|
+
|
613
|
+
|
614
|
+
<li class="public ">
|
615
|
+
<span class="summary_signature">
|
616
|
+
|
617
|
+
<a href="#_pushOutput-instance_method" title="#_pushOutput (instance method)">- (Object) <strong>_pushOutput</strong>(name) </a>
|
618
|
+
|
619
|
+
|
620
|
+
|
621
|
+
</span>
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
|
631
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
632
|
+
|
633
|
+
</li>
|
634
|
+
|
635
|
+
|
636
|
+
<li class="public ">
|
637
|
+
<span class="summary_signature">
|
638
|
+
|
639
|
+
<a href="#fileEndHook-instance_method" title="#fileEndHook (instance method)">- (Object) <strong>fileEndHook</strong> </a>
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
</span>
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
654
|
+
|
655
|
+
</li>
|
656
|
+
|
657
|
+
|
658
|
+
<li class="public ">
|
659
|
+
<span class="summary_signature">
|
660
|
+
|
661
|
+
<a href="#fileStartHook-instance_method" title="#fileStartHook (instance method)">- (Object) <strong>fileStartHook</strong> </a>
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
</span>
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
676
|
+
|
677
|
+
</li>
|
678
|
+
|
679
|
+
|
680
|
+
<li class="public ">
|
681
|
+
<span class="summary_signature">
|
682
|
+
|
683
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Env) <strong>initialize</strong> </a>
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
</span>
|
688
|
+
|
689
|
+
|
690
|
+
<span class="note title constructor">constructor</span>
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
<span class="summary_desc"><div class='inline'>
|
700
|
+
<p>A new instance of Env.</p>
|
701
|
+
</div></span>
|
702
|
+
|
703
|
+
</li>
|
704
|
+
|
705
|
+
|
706
|
+
<li class="public ">
|
707
|
+
<span class="summary_signature">
|
708
|
+
|
709
|
+
<a href="#puts-instance_method" title="#puts (instance method)">- (Object) <strong>puts</strong>(str) </a>
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
</span>
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
|
723
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
724
|
+
|
725
|
+
</li>
|
726
|
+
|
727
|
+
|
728
|
+
<li class="public ">
|
729
|
+
<span class="summary_signature">
|
730
|
+
|
731
|
+
<a href="#source-instance_method" title="#source (instance method)">- (Object) <strong>source</strong>(file) </a>
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
</span>
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
746
|
+
|
747
|
+
</li>
|
748
|
+
|
749
|
+
|
750
|
+
<li class="public ">
|
751
|
+
<span class="summary_signature">
|
752
|
+
|
753
|
+
<a href="#write-instance_method" title="#write (instance method)">- (Object) <strong>write</strong>(str) </a>
|
754
|
+
|
755
|
+
|
756
|
+
|
757
|
+
</span>
|
758
|
+
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
768
|
+
|
769
|
+
</li>
|
770
|
+
|
771
|
+
|
772
|
+
</ul>
|
773
|
+
|
774
|
+
|
775
|
+
<div id="constructor_details" class="method_details_list">
|
776
|
+
<h2>Constructor Details</h2>
|
777
|
+
|
778
|
+
<div class="method_details first">
|
779
|
+
<h3 class="signature first" id="initialize-instance_method">
|
780
|
+
|
781
|
+
- (<tt><span class='object_link'><a href="" title="Mucgly::Env (class)">Env</a></span></tt>) <strong>initialize</strong>
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
</h3><div class="docstring">
|
788
|
+
<div class="discussion">
|
789
|
+
|
790
|
+
<p>A new instance of Env</p>
|
791
|
+
|
792
|
+
|
793
|
+
</div>
|
794
|
+
</div>
|
795
|
+
<div class="tags">
|
796
|
+
|
797
|
+
|
798
|
+
</div><table class="source_code">
|
799
|
+
<tr>
|
800
|
+
<td>
|
801
|
+
<pre class="lines">
|
802
|
+
|
803
|
+
|
804
|
+
27
|
805
|
+
28
|
806
|
+
29</pre>
|
807
|
+
</td>
|
808
|
+
<td>
|
809
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 27</span>
|
810
|
+
|
811
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
812
|
+
<span class='ivar'>@_outIO</span> <span class='op'>=</span> <span class='const'>STDOUT</span>
|
813
|
+
<span class='kw'>end</span></pre>
|
814
|
+
</td>
|
815
|
+
</tr>
|
816
|
+
</table>
|
817
|
+
</div>
|
818
|
+
|
819
|
+
</div>
|
820
|
+
|
821
|
+
<div id="instance_attr_details" class="attr_details">
|
822
|
+
<h2>Instance Attribute Details</h2>
|
823
|
+
|
824
|
+
|
825
|
+
<span id="_inIO=-instance_method"></span>
|
826
|
+
<div class="method_details first">
|
827
|
+
<h3 class="signature first" id="_inIO-instance_method">
|
828
|
+
|
829
|
+
- (<tt>Object</tt>) <strong>_inIO</strong>
|
830
|
+
|
831
|
+
|
832
|
+
|
833
|
+
|
834
|
+
|
835
|
+
</h3><div class="docstring">
|
836
|
+
<div class="discussion">
|
837
|
+
|
838
|
+
<p>Returns the value of attribute _inIO</p>
|
839
|
+
|
840
|
+
|
841
|
+
</div>
|
842
|
+
</div>
|
843
|
+
<div class="tags">
|
844
|
+
|
845
|
+
|
846
|
+
</div><table class="source_code">
|
847
|
+
<tr>
|
848
|
+
<td>
|
849
|
+
<pre class="lines">
|
850
|
+
|
851
|
+
|
852
|
+
24
|
853
|
+
25
|
854
|
+
26</pre>
|
855
|
+
</td>
|
856
|
+
<td>
|
857
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 24</span>
|
858
|
+
|
859
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__inIO'>_inIO</span>
|
860
|
+
<span class='ivar'>@_inIO</span>
|
861
|
+
<span class='kw'>end</span></pre>
|
862
|
+
</td>
|
863
|
+
</tr>
|
864
|
+
</table>
|
865
|
+
</div>
|
866
|
+
|
867
|
+
|
868
|
+
<span id="_outIO=-instance_method"></span>
|
869
|
+
<div class="method_details ">
|
870
|
+
<h3 class="signature " id="_outIO-instance_method">
|
871
|
+
|
872
|
+
- (<tt>Object</tt>) <strong>_outIO</strong>
|
873
|
+
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
|
878
|
+
</h3><div class="docstring">
|
879
|
+
<div class="discussion">
|
880
|
+
|
881
|
+
<p>Returns the value of attribute _outIO</p>
|
882
|
+
|
883
|
+
|
884
|
+
</div>
|
885
|
+
</div>
|
886
|
+
<div class="tags">
|
887
|
+
|
888
|
+
|
889
|
+
</div><table class="source_code">
|
890
|
+
<tr>
|
891
|
+
<td>
|
892
|
+
<pre class="lines">
|
893
|
+
|
894
|
+
|
895
|
+
25
|
896
|
+
26
|
897
|
+
27</pre>
|
898
|
+
</td>
|
899
|
+
<td>
|
900
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 25</span>
|
901
|
+
|
902
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__outIO'>_outIO</span>
|
903
|
+
<span class='ivar'>@_outIO</span>
|
904
|
+
<span class='kw'>end</span></pre>
|
905
|
+
</td>
|
906
|
+
</tr>
|
907
|
+
</table>
|
908
|
+
</div>
|
909
|
+
|
910
|
+
|
911
|
+
<span id="_separators=-instance_method"></span>
|
912
|
+
<div class="method_details ">
|
913
|
+
<h3 class="signature " id="_separators-instance_method">
|
914
|
+
|
915
|
+
- (<tt>Object</tt>) <strong>_separators</strong>
|
916
|
+
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
</h3><div class="docstring">
|
922
|
+
<div class="discussion">
|
923
|
+
|
924
|
+
<p>Returns the value of attribute _separators</p>
|
925
|
+
|
926
|
+
|
927
|
+
</div>
|
928
|
+
</div>
|
929
|
+
<div class="tags">
|
930
|
+
|
931
|
+
|
932
|
+
</div><table class="source_code">
|
933
|
+
<tr>
|
934
|
+
<td>
|
935
|
+
<pre class="lines">
|
936
|
+
|
937
|
+
|
938
|
+
23
|
939
|
+
24
|
940
|
+
25</pre>
|
941
|
+
</td>
|
942
|
+
<td>
|
943
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 23</span>
|
944
|
+
|
945
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__separators'>_separators</span>
|
946
|
+
<span class='ivar'>@_separators</span>
|
947
|
+
<span class='kw'>end</span></pre>
|
948
|
+
</td>
|
949
|
+
</tr>
|
950
|
+
</table>
|
951
|
+
</div>
|
952
|
+
|
953
|
+
</div>
|
954
|
+
|
955
|
+
|
956
|
+
<div id="class_method_details" class="method_details_list">
|
957
|
+
<h2>Class Method Details</h2>
|
958
|
+
|
959
|
+
|
960
|
+
<div class="method_details first">
|
961
|
+
<h3 class="signature first" id="fileEndHook-class_method">
|
962
|
+
|
963
|
+
+ (<tt>Object</tt>) <strong>fileEndHook</strong>
|
964
|
+
|
965
|
+
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
</h3><table class="source_code">
|
970
|
+
<tr>
|
971
|
+
<td>
|
972
|
+
<pre class="lines">
|
973
|
+
|
974
|
+
|
975
|
+
43
|
976
|
+
44
|
977
|
+
45</pre>
|
978
|
+
</td>
|
979
|
+
<td>
|
980
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 43</span>
|
981
|
+
|
982
|
+
<span class='kw'>def</span> <span class='const'>Env</span><span class='period'>.</span><span class='id identifier rubyid_fileEndHook'>fileEndHook</span>
|
983
|
+
<span class='cvar'>@@fileEndHook</span>
|
984
|
+
<span class='kw'>end</span></pre>
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
</table>
|
988
|
+
</div>
|
989
|
+
|
990
|
+
<div class="method_details ">
|
991
|
+
<h3 class="signature " id="fileEndHook=-class_method">
|
992
|
+
|
993
|
+
+ (<tt>Object</tt>) <strong>fileEndHook=</strong>(val)
|
994
|
+
|
995
|
+
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
</h3><table class="source_code">
|
1000
|
+
<tr>
|
1001
|
+
<td>
|
1002
|
+
<pre class="lines">
|
1003
|
+
|
1004
|
+
|
1005
|
+
35
|
1006
|
+
36
|
1007
|
+
37</pre>
|
1008
|
+
</td>
|
1009
|
+
<td>
|
1010
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 35</span>
|
1011
|
+
|
1012
|
+
<span class='kw'>def</span> <span class='const'>Env</span><span class='period'>.</span><span class='id identifier rubyid_fileEndHook='>fileEndHook=</span><span class='lparen'>(</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
1013
|
+
<span class='cvar'>@@fileEndHook</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
1014
|
+
<span class='kw'>end</span></pre>
|
1015
|
+
</td>
|
1016
|
+
</tr>
|
1017
|
+
</table>
|
1018
|
+
</div>
|
1019
|
+
|
1020
|
+
<div class="method_details ">
|
1021
|
+
<h3 class="signature " id="fileStartHook-class_method">
|
1022
|
+
|
1023
|
+
+ (<tt>Object</tt>) <strong>fileStartHook</strong>
|
1024
|
+
|
1025
|
+
|
1026
|
+
|
1027
|
+
|
1028
|
+
|
1029
|
+
</h3><table class="source_code">
|
1030
|
+
<tr>
|
1031
|
+
<td>
|
1032
|
+
<pre class="lines">
|
1033
|
+
|
1034
|
+
|
1035
|
+
39
|
1036
|
+
40
|
1037
|
+
41</pre>
|
1038
|
+
</td>
|
1039
|
+
<td>
|
1040
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 39</span>
|
1041
|
+
|
1042
|
+
<span class='kw'>def</span> <span class='const'>Env</span><span class='period'>.</span><span class='id identifier rubyid_fileStartHook'>fileStartHook</span>
|
1043
|
+
<span class='cvar'>@@fileStartHook</span>
|
1044
|
+
<span class='kw'>end</span></pre>
|
1045
|
+
</td>
|
1046
|
+
</tr>
|
1047
|
+
</table>
|
1048
|
+
</div>
|
1049
|
+
|
1050
|
+
<div class="method_details ">
|
1051
|
+
<h3 class="signature " id="fileStartHook=-class_method">
|
1052
|
+
|
1053
|
+
+ (<tt>Object</tt>) <strong>fileStartHook=</strong>(val)
|
1054
|
+
|
1055
|
+
|
1056
|
+
|
1057
|
+
|
1058
|
+
|
1059
|
+
</h3><table class="source_code">
|
1060
|
+
<tr>
|
1061
|
+
<td>
|
1062
|
+
<pre class="lines">
|
1063
|
+
|
1064
|
+
|
1065
|
+
31
|
1066
|
+
32
|
1067
|
+
33</pre>
|
1068
|
+
</td>
|
1069
|
+
<td>
|
1070
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 31</span>
|
1071
|
+
|
1072
|
+
<span class='kw'>def</span> <span class='const'>Env</span><span class='period'>.</span><span class='id identifier rubyid_fileStartHook='>fileStartHook=</span><span class='lparen'>(</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
1073
|
+
<span class='cvar'>@@fileStartHook</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
1074
|
+
<span class='kw'>end</span></pre>
|
1075
|
+
</td>
|
1076
|
+
</tr>
|
1077
|
+
</table>
|
1078
|
+
</div>
|
1079
|
+
|
1080
|
+
</div>
|
1081
|
+
|
1082
|
+
<div id="instance_method_details" class="method_details_list">
|
1083
|
+
<h2>Instance Method Details</h2>
|
1084
|
+
|
1085
|
+
|
1086
|
+
<div class="method_details first">
|
1087
|
+
<h3 class="signature first" id="_closeInput-instance_method">
|
1088
|
+
|
1089
|
+
- (<tt>Object</tt>) <strong>_closeInput</strong>
|
1090
|
+
|
1091
|
+
|
1092
|
+
|
1093
|
+
|
1094
|
+
|
1095
|
+
</h3><table class="source_code">
|
1096
|
+
<tr>
|
1097
|
+
<td>
|
1098
|
+
<pre class="lines">
|
1099
|
+
|
1100
|
+
|
1101
|
+
104
|
1102
|
+
105
|
1103
|
+
106</pre>
|
1104
|
+
</td>
|
1105
|
+
<td>
|
1106
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 104</span>
|
1107
|
+
|
1108
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__closeInput'>_closeInput</span>
|
1109
|
+
<span class='ivar'>@_inIO</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
|
1110
|
+
<span class='kw'>end</span></pre>
|
1111
|
+
</td>
|
1112
|
+
</tr>
|
1113
|
+
</table>
|
1114
|
+
</div>
|
1115
|
+
|
1116
|
+
<div class="method_details ">
|
1117
|
+
<h3 class="signature " id="_closeOutput-instance_method">
|
1118
|
+
|
1119
|
+
- (<tt>Object</tt>) <strong>_closeOutput</strong>
|
1120
|
+
|
1121
|
+
|
1122
|
+
|
1123
|
+
|
1124
|
+
|
1125
|
+
</h3><table class="source_code">
|
1126
|
+
<tr>
|
1127
|
+
<td>
|
1128
|
+
<pre class="lines">
|
1129
|
+
|
1130
|
+
|
1131
|
+
108
|
1132
|
+
109
|
1133
|
+
110</pre>
|
1134
|
+
</td>
|
1135
|
+
<td>
|
1136
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 108</span>
|
1137
|
+
|
1138
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__closeOutput'>_closeOutput</span>
|
1139
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
|
1140
|
+
<span class='kw'>end</span></pre>
|
1141
|
+
</td>
|
1142
|
+
</tr>
|
1143
|
+
</table>
|
1144
|
+
</div>
|
1145
|
+
|
1146
|
+
<div class="method_details ">
|
1147
|
+
<h3 class="signature " id="_eval-instance_method">
|
1148
|
+
|
1149
|
+
- (<tt>Object</tt>) <strong>_eval</strong>(cmd)
|
1150
|
+
|
1151
|
+
|
1152
|
+
|
1153
|
+
|
1154
|
+
|
1155
|
+
</h3><table class="source_code">
|
1156
|
+
<tr>
|
1157
|
+
<td>
|
1158
|
+
<pre class="lines">
|
1159
|
+
|
1160
|
+
|
1161
|
+
128
|
1162
|
+
129
|
1163
|
+
130</pre>
|
1164
|
+
</td>
|
1165
|
+
<td>
|
1166
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 128</span>
|
1167
|
+
|
1168
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__eval'>_eval</span><span class='lparen'>(</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
1169
|
+
<span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='id identifier rubyid_cmd'>cmd</span>
|
1170
|
+
<span class='kw'>end</span></pre>
|
1171
|
+
</td>
|
1172
|
+
</tr>
|
1173
|
+
</table>
|
1174
|
+
</div>
|
1175
|
+
|
1176
|
+
<div class="method_details ">
|
1177
|
+
<h3 class="signature " id="_ifilename-instance_method">
|
1178
|
+
|
1179
|
+
- (<tt>Object</tt>) <strong>_ifilename</strong>
|
1180
|
+
|
1181
|
+
|
1182
|
+
|
1183
|
+
|
1184
|
+
|
1185
|
+
</h3><table class="source_code">
|
1186
|
+
<tr>
|
1187
|
+
<td>
|
1188
|
+
<pre class="lines">
|
1189
|
+
|
1190
|
+
|
1191
|
+
120
|
1192
|
+
121
|
1193
|
+
122</pre>
|
1194
|
+
</td>
|
1195
|
+
<td>
|
1196
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 120</span>
|
1197
|
+
|
1198
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__ifilename'>_ifilename</span>
|
1199
|
+
<span class='ivar'>@_inIO</span><span class='period'>.</span><span class='id identifier rubyid_filename'>filename</span>
|
1200
|
+
<span class='kw'>end</span></pre>
|
1201
|
+
</td>
|
1202
|
+
</tr>
|
1203
|
+
</table>
|
1204
|
+
</div>
|
1205
|
+
|
1206
|
+
<div class="method_details ">
|
1207
|
+
<h3 class="signature " id="_ilinenumber-instance_method">
|
1208
|
+
|
1209
|
+
- (<tt>Object</tt>) <strong>_ilinenumber</strong>
|
1210
|
+
|
1211
|
+
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
</h3><table class="source_code">
|
1216
|
+
<tr>
|
1217
|
+
<td>
|
1218
|
+
<pre class="lines">
|
1219
|
+
|
1220
|
+
|
1221
|
+
124
|
1222
|
+
125
|
1223
|
+
126</pre>
|
1224
|
+
</td>
|
1225
|
+
<td>
|
1226
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 124</span>
|
1227
|
+
|
1228
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__ilinenumber'>_ilinenumber</span>
|
1229
|
+
<span class='ivar'>@_inIO</span><span class='period'>.</span><span class='id identifier rubyid_line'>line</span>
|
1230
|
+
<span class='kw'>end</span></pre>
|
1231
|
+
</td>
|
1232
|
+
</tr>
|
1233
|
+
</table>
|
1234
|
+
</div>
|
1235
|
+
|
1236
|
+
<div class="method_details ">
|
1237
|
+
<h3 class="signature " id="_ofilename-instance_method">
|
1238
|
+
|
1239
|
+
- (<tt>Object</tt>) <strong>_ofilename</strong>
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
|
1244
|
+
|
1245
|
+
</h3><table class="source_code">
|
1246
|
+
<tr>
|
1247
|
+
<td>
|
1248
|
+
<pre class="lines">
|
1249
|
+
|
1250
|
+
|
1251
|
+
112
|
1252
|
+
113
|
1253
|
+
114</pre>
|
1254
|
+
</td>
|
1255
|
+
<td>
|
1256
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 112</span>
|
1257
|
+
|
1258
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__ofilename'>_ofilename</span>
|
1259
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_filename'>filename</span>
|
1260
|
+
<span class='kw'>end</span></pre>
|
1261
|
+
</td>
|
1262
|
+
</tr>
|
1263
|
+
</table>
|
1264
|
+
</div>
|
1265
|
+
|
1266
|
+
<div class="method_details ">
|
1267
|
+
<h3 class="signature " id="_olinenumber-instance_method">
|
1268
|
+
|
1269
|
+
- (<tt>Object</tt>) <strong>_olinenumber</strong>
|
1270
|
+
|
1271
|
+
|
1272
|
+
|
1273
|
+
|
1274
|
+
|
1275
|
+
</h3><table class="source_code">
|
1276
|
+
<tr>
|
1277
|
+
<td>
|
1278
|
+
<pre class="lines">
|
1279
|
+
|
1280
|
+
|
1281
|
+
116
|
1282
|
+
117
|
1283
|
+
118</pre>
|
1284
|
+
</td>
|
1285
|
+
<td>
|
1286
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 116</span>
|
1287
|
+
|
1288
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__olinenumber'>_olinenumber</span>
|
1289
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_line'>line</span>
|
1290
|
+
<span class='kw'>end</span></pre>
|
1291
|
+
</td>
|
1292
|
+
</tr>
|
1293
|
+
</table>
|
1294
|
+
</div>
|
1295
|
+
|
1296
|
+
<div class="method_details ">
|
1297
|
+
<h3 class="signature " id="_openInput-instance_method">
|
1298
|
+
|
1299
|
+
- (<tt>Object</tt>) <strong>_openInput</strong>(filename)
|
1300
|
+
|
1301
|
+
|
1302
|
+
|
1303
|
+
|
1304
|
+
|
1305
|
+
</h3><table class="source_code">
|
1306
|
+
<tr>
|
1307
|
+
<td>
|
1308
|
+
<pre class="lines">
|
1309
|
+
|
1310
|
+
|
1311
|
+
84
|
1312
|
+
85
|
1313
|
+
86</pre>
|
1314
|
+
</td>
|
1315
|
+
<td>
|
1316
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 84</span>
|
1317
|
+
|
1318
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__openInput'>_openInput</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1319
|
+
<span class='ivar'>@_inIO</span> <span class='op'>=</span> <span class='const'>EasyFile</span><span class='op'>::</span><span class='const'>ReadStack</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1320
|
+
<span class='kw'>end</span></pre>
|
1321
|
+
</td>
|
1322
|
+
</tr>
|
1323
|
+
</table>
|
1324
|
+
</div>
|
1325
|
+
|
1326
|
+
<div class="method_details ">
|
1327
|
+
<h3 class="signature " id="_openOutput-instance_method">
|
1328
|
+
|
1329
|
+
- (<tt>Object</tt>) <strong>_openOutput</strong>(filename)
|
1330
|
+
|
1331
|
+
|
1332
|
+
|
1333
|
+
|
1334
|
+
|
1335
|
+
</h3><table class="source_code">
|
1336
|
+
<tr>
|
1337
|
+
<td>
|
1338
|
+
<pre class="lines">
|
1339
|
+
|
1340
|
+
|
1341
|
+
88
|
1342
|
+
89
|
1343
|
+
90</pre>
|
1344
|
+
</td>
|
1345
|
+
<td>
|
1346
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 88</span>
|
1347
|
+
|
1348
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__openOutput'>_openOutput</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1349
|
+
<span class='ivar'>@_outIO</span> <span class='op'>=</span> <span class='const'>EasyFile</span><span class='op'>::</span><span class='const'>WriteStack</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1350
|
+
<span class='kw'>end</span></pre>
|
1351
|
+
</td>
|
1352
|
+
</tr>
|
1353
|
+
</table>
|
1354
|
+
</div>
|
1355
|
+
|
1356
|
+
<div class="method_details ">
|
1357
|
+
<h3 class="signature " id="_openString-instance_method">
|
1358
|
+
|
1359
|
+
- (<tt>Object</tt>) <strong>_openString</strong>(filename)
|
1360
|
+
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
|
1365
|
+
</h3><table class="source_code">
|
1366
|
+
<tr>
|
1367
|
+
<td>
|
1368
|
+
<pre class="lines">
|
1369
|
+
|
1370
|
+
|
1371
|
+
92
|
1372
|
+
93
|
1373
|
+
94</pre>
|
1374
|
+
</td>
|
1375
|
+
<td>
|
1376
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 92</span>
|
1377
|
+
|
1378
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__openString'>_openString</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1379
|
+
<span class='ivar'>@_outIO</span> <span class='op'>=</span> <span class='const'>EasyFile</span><span class='op'>::</span><span class='const'>String</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span> <span class='id identifier rubyid_filename'>filename</span> <span class='rparen'>)</span>
|
1380
|
+
<span class='kw'>end</span></pre>
|
1381
|
+
</td>
|
1382
|
+
</tr>
|
1383
|
+
</table>
|
1384
|
+
</div>
|
1385
|
+
|
1386
|
+
<div class="method_details ">
|
1387
|
+
<h3 class="signature " id="_processFilePair-instance_method">
|
1388
|
+
|
1389
|
+
- (<tt>Object</tt>) <strong>_processFilePair</strong>(filePair)
|
1390
|
+
|
1391
|
+
|
1392
|
+
|
1393
|
+
|
1394
|
+
|
1395
|
+
</h3><table class="source_code">
|
1396
|
+
<tr>
|
1397
|
+
<td>
|
1398
|
+
<pre class="lines">
|
1399
|
+
|
1400
|
+
|
1401
|
+
72
|
1402
|
+
73
|
1403
|
+
74
|
1404
|
+
75
|
1405
|
+
76</pre>
|
1406
|
+
</td>
|
1407
|
+
<td>
|
1408
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 72</span>
|
1409
|
+
|
1410
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__processFilePair'>_processFilePair</span><span class='lparen'>(</span> <span class='id identifier rubyid_filePair'>filePair</span> <span class='rparen'>)</span>
|
1411
|
+
<span class='id identifier rubyid__openInput'>_openInput</span><span class='lparen'>(</span> <span class='id identifier rubyid_filePair'>filePair</span><span class='lbracket'>[</span> <span class='int'>0</span> <span class='rbracket'>]</span> <span class='rparen'>)</span>
|
1412
|
+
<span class='id identifier rubyid__openOutput'>_openOutput</span><span class='lparen'>(</span> <span class='id identifier rubyid_filePair'>filePair</span><span class='lbracket'>[</span> <span class='int'>1</span> <span class='rbracket'>]</span> <span class='rparen'>)</span>
|
1413
|
+
<span class='const'>Mucgly</span><span class='op'>::</span><span class='const'>MucglyFile</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='kw'>self</span> <span class='rparen'>)</span>
|
1414
|
+
<span class='kw'>end</span></pre>
|
1415
|
+
</td>
|
1416
|
+
</tr>
|
1417
|
+
</table>
|
1418
|
+
</div>
|
1419
|
+
|
1420
|
+
<div class="method_details ">
|
1421
|
+
<h3 class="signature " id="_processFilePairs-instance_method">
|
1422
|
+
|
1423
|
+
- (<tt>Object</tt>) <strong>_processFilePairs</strong>(filePairs)
|
1424
|
+
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
|
1429
|
+
</h3><table class="source_code">
|
1430
|
+
<tr>
|
1431
|
+
<td>
|
1432
|
+
<pre class="lines">
|
1433
|
+
|
1434
|
+
|
1435
|
+
78
|
1436
|
+
79
|
1437
|
+
80
|
1438
|
+
81
|
1439
|
+
82</pre>
|
1440
|
+
</td>
|
1441
|
+
<td>
|
1442
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 78</span>
|
1443
|
+
|
1444
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__processFilePairs'>_processFilePairs</span><span class='lparen'>(</span> <span class='id identifier rubyid_filePairs'>filePairs</span> <span class='rparen'>)</span>
|
1445
|
+
<span class='id identifier rubyid_filePairs'>filePairs</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pair'>pair</span><span class='op'>|</span>
|
1446
|
+
<span class='id identifier rubyid__processFilePair'>_processFilePair</span><span class='lparen'>(</span> <span class='id identifier rubyid_pair'>pair</span> <span class='rparen'>)</span>
|
1447
|
+
<span class='kw'>end</span>
|
1448
|
+
<span class='kw'>end</span></pre>
|
1449
|
+
</td>
|
1450
|
+
</tr>
|
1451
|
+
</table>
|
1452
|
+
</div>
|
1453
|
+
|
1454
|
+
<div class="method_details ">
|
1455
|
+
<h3 class="signature " id="_pushInput-instance_method">
|
1456
|
+
|
1457
|
+
- (<tt>Object</tt>) <strong>_pushInput</strong>(name)
|
1458
|
+
|
1459
|
+
|
1460
|
+
|
1461
|
+
|
1462
|
+
|
1463
|
+
</h3><table class="source_code">
|
1464
|
+
<tr>
|
1465
|
+
<td>
|
1466
|
+
<pre class="lines">
|
1467
|
+
|
1468
|
+
|
1469
|
+
96
|
1470
|
+
97
|
1471
|
+
98</pre>
|
1472
|
+
</td>
|
1473
|
+
<td>
|
1474
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 96</span>
|
1475
|
+
|
1476
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__pushInput'>_pushInput</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
1477
|
+
<span class='ivar'>@_inIO</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
1478
|
+
<span class='kw'>end</span></pre>
|
1479
|
+
</td>
|
1480
|
+
</tr>
|
1481
|
+
</table>
|
1482
|
+
</div>
|
1483
|
+
|
1484
|
+
<div class="method_details ">
|
1485
|
+
<h3 class="signature " id="_pushOutput-instance_method">
|
1486
|
+
|
1487
|
+
- (<tt>Object</tt>) <strong>_pushOutput</strong>(name)
|
1488
|
+
|
1489
|
+
|
1490
|
+
|
1491
|
+
|
1492
|
+
|
1493
|
+
</h3><table class="source_code">
|
1494
|
+
<tr>
|
1495
|
+
<td>
|
1496
|
+
<pre class="lines">
|
1497
|
+
|
1498
|
+
|
1499
|
+
100
|
1500
|
+
101
|
1501
|
+
102</pre>
|
1502
|
+
</td>
|
1503
|
+
<td>
|
1504
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 100</span>
|
1505
|
+
|
1506
|
+
<span class='kw'>def</span> <span class='id identifier rubyid__pushOutput'>_pushOutput</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
1507
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
1508
|
+
<span class='kw'>end</span></pre>
|
1509
|
+
</td>
|
1510
|
+
</tr>
|
1511
|
+
</table>
|
1512
|
+
</div>
|
1513
|
+
|
1514
|
+
<div class="method_details ">
|
1515
|
+
<h3 class="signature " id="fileEndHook-instance_method">
|
1516
|
+
|
1517
|
+
- (<tt>Object</tt>) <strong>fileEndHook</strong>
|
1518
|
+
|
1519
|
+
|
1520
|
+
|
1521
|
+
|
1522
|
+
|
1523
|
+
</h3><table class="source_code">
|
1524
|
+
<tr>
|
1525
|
+
<td>
|
1526
|
+
<pre class="lines">
|
1527
|
+
|
1528
|
+
|
1529
|
+
51
|
1530
|
+
52
|
1531
|
+
53</pre>
|
1532
|
+
</td>
|
1533
|
+
<td>
|
1534
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 51</span>
|
1535
|
+
|
1536
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_fileEndHook'>fileEndHook</span>
|
1537
|
+
<span class='cvar'>@@fileEndHook</span>
|
1538
|
+
<span class='kw'>end</span></pre>
|
1539
|
+
</td>
|
1540
|
+
</tr>
|
1541
|
+
</table>
|
1542
|
+
</div>
|
1543
|
+
|
1544
|
+
<div class="method_details ">
|
1545
|
+
<h3 class="signature " id="fileStartHook-instance_method">
|
1546
|
+
|
1547
|
+
- (<tt>Object</tt>) <strong>fileStartHook</strong>
|
1548
|
+
|
1549
|
+
|
1550
|
+
|
1551
|
+
|
1552
|
+
|
1553
|
+
</h3><table class="source_code">
|
1554
|
+
<tr>
|
1555
|
+
<td>
|
1556
|
+
<pre class="lines">
|
1557
|
+
|
1558
|
+
|
1559
|
+
47
|
1560
|
+
48
|
1561
|
+
49</pre>
|
1562
|
+
</td>
|
1563
|
+
<td>
|
1564
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 47</span>
|
1565
|
+
|
1566
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_fileStartHook'>fileStartHook</span>
|
1567
|
+
<span class='cvar'>@@fileStartHook</span>
|
1568
|
+
<span class='kw'>end</span></pre>
|
1569
|
+
</td>
|
1570
|
+
</tr>
|
1571
|
+
</table>
|
1572
|
+
</div>
|
1573
|
+
|
1574
|
+
<div class="method_details ">
|
1575
|
+
<h3 class="signature " id="puts-instance_method">
|
1576
|
+
|
1577
|
+
- (<tt>Object</tt>) <strong>puts</strong>(str)
|
1578
|
+
|
1579
|
+
|
1580
|
+
|
1581
|
+
|
1582
|
+
|
1583
|
+
</h3><table class="source_code">
|
1584
|
+
<tr>
|
1585
|
+
<td>
|
1586
|
+
<pre class="lines">
|
1587
|
+
|
1588
|
+
|
1589
|
+
59
|
1590
|
+
60
|
1591
|
+
61</pre>
|
1592
|
+
</td>
|
1593
|
+
<td>
|
1594
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 59</span>
|
1595
|
+
|
1596
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
1597
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_str'>str</span>
|
1598
|
+
<span class='kw'>end</span></pre>
|
1599
|
+
</td>
|
1600
|
+
</tr>
|
1601
|
+
</table>
|
1602
|
+
</div>
|
1603
|
+
|
1604
|
+
<div class="method_details ">
|
1605
|
+
<h3 class="signature " id="source-instance_method">
|
1606
|
+
|
1607
|
+
- (<tt>Object</tt>) <strong>source</strong>(file)
|
1608
|
+
|
1609
|
+
|
1610
|
+
|
1611
|
+
|
1612
|
+
|
1613
|
+
</h3><table class="source_code">
|
1614
|
+
<tr>
|
1615
|
+
<td>
|
1616
|
+
<pre class="lines">
|
1617
|
+
|
1618
|
+
|
1619
|
+
63
|
1620
|
+
64
|
1621
|
+
65</pre>
|
1622
|
+
</td>
|
1623
|
+
<td>
|
1624
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 63</span>
|
1625
|
+
|
1626
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_source'>source</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
|
1627
|
+
<span class='id identifier rubyid_instance_eval'>instance_eval</span><span class='lparen'>(</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
|
1628
|
+
<span class='kw'>end</span></pre>
|
1629
|
+
</td>
|
1630
|
+
</tr>
|
1631
|
+
</table>
|
1632
|
+
</div>
|
1633
|
+
|
1634
|
+
<div class="method_details ">
|
1635
|
+
<h3 class="signature " id="write-instance_method">
|
1636
|
+
|
1637
|
+
- (<tt>Object</tt>) <strong>write</strong>(str)
|
1638
|
+
|
1639
|
+
|
1640
|
+
|
1641
|
+
|
1642
|
+
|
1643
|
+
</h3><table class="source_code">
|
1644
|
+
<tr>
|
1645
|
+
<td>
|
1646
|
+
<pre class="lines">
|
1647
|
+
|
1648
|
+
|
1649
|
+
55
|
1650
|
+
56
|
1651
|
+
57</pre>
|
1652
|
+
</td>
|
1653
|
+
<td>
|
1654
|
+
<pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 55</span>
|
1655
|
+
|
1656
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
1657
|
+
<span class='ivar'>@_outIO</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='id identifier rubyid_str'>str</span>
|
1658
|
+
<span class='kw'>end</span></pre>
|
1659
|
+
</td>
|
1660
|
+
</tr>
|
1661
|
+
</table>
|
1662
|
+
</div>
|
1663
|
+
|
1664
|
+
</div>
|
1665
|
+
|
1666
|
+
</div>
|
1667
|
+
|
1668
|
+
<div id="footer">
|
1669
|
+
Generated on Wed Jan 15 19:29:45 2014 by
|
1670
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1671
|
+
0.8.6.1 (ruby-1.9.3).
|
1672
|
+
</div>
|
1673
|
+
|
1674
|
+
</body>
|
1675
|
+
</html>
|