autoc 1.1 → 1.2
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.
- checksums.yaml +4 -4
- data/.yardopts +3 -1
- data/CHANGES +15 -0
- data/README +2 -0
- data/doc/AutoC.html +84 -14
- data/doc/AutoC/Code.html +31 -31
- data/doc/AutoC/Collection.html +250 -182
- data/doc/AutoC/HashMap.html +565 -245
- data/doc/AutoC/HashSet.html +266 -264
- data/doc/AutoC/List.html +317 -249
- data/doc/AutoC/Module.html +66 -72
- data/doc/AutoC/Module/File.html +25 -25
- data/doc/AutoC/Module/Header.html +25 -25
- data/doc/AutoC/Module/Source.html +43 -43
- data/doc/AutoC/Priority.html +3 -3
- data/doc/AutoC/Queue.html +352 -286
- data/doc/AutoC/Reference.html +578 -0
- data/doc/AutoC/Type.html +941 -131
- data/doc/AutoC/UserDefinedType.html +64 -313
- data/doc/AutoC/Vector.html +336 -306
- data/doc/_index.html +22 -4
- data/doc/class_list.html +6 -2
- data/doc/file.CHANGES.html +102 -0
- data/doc/file.README.html +7 -4
- data/doc/file_list.html +8 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +7 -4
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +236 -118
- data/doc/top-level-namespace.html +3 -3
- data/lib/autoc.rb +3 -3
- data/lib/autoc/code.rb +11 -5
- data/lib/autoc/collection.rb +62 -56
- data/lib/autoc/collection/hash_map.rb +83 -63
- data/lib/autoc/collection/hash_set.rb +74 -64
- data/lib/autoc/collection/list.rb +48 -41
- data/lib/autoc/collection/queue.rb +53 -47
- data/lib/autoc/collection/vector.rb +63 -42
- data/lib/autoc/type.rb +326 -61
- data/test/test.c +120 -0
- data/test/test.rb +16 -2
- data/test/test_auto.c +1683 -987
- data/test/test_auto.h +491 -176
- metadata +22 -19
data/doc/AutoC/Module.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AutoC::Module
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -466,14 +466,14 @@
|
|
466
466
|
<pre class="lines">
|
467
467
|
|
468
468
|
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
469
|
+
75
|
470
|
+
76
|
471
|
+
77
|
472
|
+
78
|
473
|
+
79</pre>
|
474
474
|
</td>
|
475
475
|
<td>
|
476
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
476
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 75</span>
|
477
477
|
|
478
478
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
479
479
|
<span class='ivar'>@entities</span> <span class='op'>=</span> <span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -518,12 +518,12 @@
|
|
518
518
|
<pre class="lines">
|
519
519
|
|
520
520
|
|
521
|
-
|
522
|
-
|
523
|
-
|
521
|
+
73
|
522
|
+
74
|
523
|
+
75</pre>
|
524
524
|
</td>
|
525
525
|
<td>
|
526
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
526
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 73</span>
|
527
527
|
|
528
528
|
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span>
|
529
529
|
<span class='ivar'>@header</span>
|
@@ -561,12 +561,12 @@
|
|
561
561
|
<pre class="lines">
|
562
562
|
|
563
563
|
|
564
|
-
|
565
|
-
|
566
|
-
|
564
|
+
73
|
565
|
+
74
|
566
|
+
75</pre>
|
567
567
|
</td>
|
568
568
|
<td>
|
569
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
569
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 73</span>
|
570
570
|
|
571
571
|
<span class='kw'>def</span> <span class='id identifier rubyid_main_source'>main_source</span>
|
572
572
|
<span class='ivar'>@main_source</span>
|
@@ -604,12 +604,12 @@
|
|
604
604
|
<pre class="lines">
|
605
605
|
|
606
606
|
|
607
|
-
|
608
|
-
|
609
|
-
|
607
|
+
73
|
608
|
+
74
|
609
|
+
75</pre>
|
610
610
|
</td>
|
611
611
|
<td>
|
612
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
612
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 73</span>
|
613
613
|
|
614
614
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
615
615
|
<span class='ivar'>@name</span>
|
@@ -647,12 +647,12 @@
|
|
647
647
|
<pre class="lines">
|
648
648
|
|
649
649
|
|
650
|
-
|
651
|
-
|
652
|
-
|
650
|
+
73
|
651
|
+
74
|
652
|
+
75</pre>
|
653
653
|
</td>
|
654
654
|
<td>
|
655
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
655
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 73</span>
|
656
656
|
|
657
657
|
<span class='kw'>def</span> <span class='id identifier rubyid_smallest_source'>smallest_source</span>
|
658
658
|
<span class='ivar'>@smallest_source</span>
|
@@ -684,14 +684,14 @@
|
|
684
684
|
<pre class="lines">
|
685
685
|
|
686
686
|
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
687
|
+
67
|
688
|
+
68
|
689
|
+
69
|
690
|
+
70
|
691
|
+
71</pre>
|
692
692
|
</td>
|
693
693
|
<td>
|
694
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
694
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 67</span>
|
695
695
|
|
696
696
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_generate!'>generate!</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
697
697
|
<span class='id identifier rubyid_m'>m</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
@@ -724,22 +724,16 @@
|
|
724
724
|
<pre class="lines">
|
725
725
|
|
726
726
|
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
76
|
732
|
-
77
|
733
|
-
78</pre>
|
727
|
+
81
|
728
|
+
82
|
729
|
+
83
|
730
|
+
84</pre>
|
734
731
|
</td>
|
735
732
|
<td>
|
736
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
733
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 81</span>
|
737
734
|
|
738
735
|
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
739
|
-
<span class='kw'>unless</span> <span class='ivar'>@entities</span><span class='period'>.</span><span class='id identifier
|
740
|
-
<span class='ivar'>@entities</span> <span class='op'><<</span> <span class='id identifier rubyid_obj'>obj</span>
|
741
|
-
<span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_entities'>entities</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='kw'>self</span> <span class='op'><<</span> <span class='id identifier rubyid_e'>e</span><span class='rbrace'>}</span>
|
742
|
-
<span class='kw'>end</span>
|
736
|
+
<span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_entities'>entities</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='kw'>self</span> <span class='op'><<</span> <span class='id identifier rubyid_e'>e</span><span class='rbrace'>}</span> <span class='kw'>unless</span> <span class='ivar'>@entities</span><span class='period'>.</span><span class='id identifier rubyid_add?'>add?</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
743
737
|
<span class='kw'>self</span>
|
744
738
|
<span class='kw'>end</span></pre>
|
745
739
|
</td>
|
@@ -762,12 +756,6 @@
|
|
762
756
|
<pre class="lines">
|
763
757
|
|
764
758
|
|
765
|
-
92
|
766
|
-
93
|
767
|
-
94
|
768
|
-
95
|
769
|
-
96
|
770
|
-
97
|
771
759
|
98
|
772
760
|
99
|
773
761
|
100
|
@@ -777,10 +765,16 @@
|
|
777
765
|
104
|
778
766
|
105
|
779
767
|
106
|
780
|
-
107
|
768
|
+
107
|
769
|
+
108
|
770
|
+
109
|
771
|
+
110
|
772
|
+
111
|
773
|
+
112
|
774
|
+
113</pre>
|
781
775
|
</td>
|
782
776
|
<td>
|
783
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
777
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 98</span>
|
784
778
|
|
785
779
|
<span class='kw'>def</span> <span class='id identifier rubyid_generate!'>generate!</span>
|
786
780
|
<span class='ivar'>@header</span> <span class='op'>=</span> <span class='id identifier rubyid_new_header'>new_header</span>
|
@@ -788,7 +782,7 @@
|
|
788
782
|
<span class='lparen'>(</span><span class='int'>1</span><span class='op'>..</span><span class='id identifier rubyid_source_count'>source_count</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='ivar'>@sources</span> <span class='op'><<</span> <span class='id identifier rubyid_new_source'>new_source</span><span class='lparen'>(</span><span class='id identifier rubyid_i'>i</span><span class='rparen'>)</span><span class='rbrace'>}</span>
|
789
783
|
<span class='ivar'>@main_source</span> <span class='op'>=</span> <span class='ivar'>@sources</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
790
784
|
<span class='ivar'>@smallest_source</span> <span class='op'>=</span> <span class='ivar'>@main_source</span>
|
791
|
-
<span class='comment'># It appears that computing the size of a source might be a fairly expensive operation so do it only when
|
785
|
+
<span class='comment'># It appears that computing the size of a source might be a fairly expensive operation so do it only when necessary
|
792
786
|
</span> <span class='id identifier rubyid_refresh_smallest_source'>refresh_smallest_source</span> <span class='op'>=</span> <span class='id identifier rubyid_source_count'>source_count</span> <span class='op'>></span> <span class='int'>1</span>
|
793
787
|
<span class='ivar'>@entities</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_e'>e</span><span class='op'>|</span>
|
794
788
|
<span class='ivar'>@header</span> <span class='op'><<</span> <span class='id identifier rubyid_e'>e</span>
|
@@ -818,12 +812,12 @@
|
|
818
812
|
<pre class="lines">
|
819
813
|
|
820
814
|
|
821
|
-
|
822
|
-
|
823
|
-
|
815
|
+
86
|
816
|
+
87
|
817
|
+
88</pre>
|
824
818
|
</td>
|
825
819
|
<td>
|
826
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
820
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 86</span>
|
827
821
|
|
828
822
|
<span class='kw'>def</span> <span class='id identifier rubyid_new_header'>new_header</span>
|
829
823
|
<span class='const'>Header</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>
|
@@ -848,12 +842,12 @@
|
|
848
842
|
<pre class="lines">
|
849
843
|
|
850
844
|
|
851
|
-
|
852
|
-
|
853
|
-
|
845
|
+
90
|
846
|
+
91
|
847
|
+
92</pre>
|
854
848
|
</td>
|
855
849
|
<td>
|
856
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
850
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 90</span>
|
857
851
|
|
858
852
|
<span class='kw'>def</span> <span class='id identifier rubyid_new_source'>new_source</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
|
859
853
|
<span class='const'>Source</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
|
@@ -878,19 +872,19 @@
|
|
878
872
|
<pre class="lines">
|
879
873
|
|
880
874
|
|
881
|
-
109
|
882
|
-
110
|
883
|
-
111
|
884
|
-
112
|
885
|
-
113
|
886
|
-
114
|
887
875
|
115
|
888
876
|
116
|
889
877
|
117
|
890
|
-
118
|
878
|
+
118
|
879
|
+
119
|
880
|
+
120
|
881
|
+
121
|
882
|
+
122
|
883
|
+
123
|
884
|
+
124</pre>
|
891
885
|
</td>
|
892
886
|
<td>
|
893
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
887
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 115</span>
|
894
888
|
|
895
889
|
<span class='kw'>def</span> <span class='id identifier rubyid_source_count'>source_count</span>
|
896
890
|
<span class='kw'>if</span> <span class='ivar'>@source_count</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
@@ -922,12 +916,12 @@
|
|
922
916
|
<pre class="lines">
|
923
917
|
|
924
918
|
|
925
|
-
|
926
|
-
|
927
|
-
|
919
|
+
94
|
920
|
+
95
|
921
|
+
96</pre>
|
928
922
|
</td>
|
929
923
|
<td>
|
930
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
924
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 94</span>
|
931
925
|
|
932
926
|
<span class='kw'>def</span> <span class='id identifier rubyid_source_count='>source_count=</span><span class='lparen'>(</span><span class='id identifier rubyid_count'>count</span><span class='rparen'>)</span>
|
933
927
|
<span class='ivar'>@source_count</span> <span class='op'>=</span> <span class='id identifier rubyid_count'>count</span>
|
@@ -942,9 +936,9 @@
|
|
942
936
|
</div>
|
943
937
|
|
944
938
|
<div id="footer">
|
945
|
-
Generated on
|
939
|
+
Generated on Sat Nov 22 16:58:04 2014 by
|
946
940
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
947
|
-
0.8.7.
|
941
|
+
0.8.7.6 (ruby-2.1.5).
|
948
942
|
</div>
|
949
943
|
|
950
944
|
</body>
|
data/doc/AutoC/Module/File.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AutoC::Module::File
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -254,13 +254,13 @@
|
|
254
254
|
<pre class="lines">
|
255
255
|
|
256
256
|
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
257
|
+
144
|
258
|
+
145
|
259
|
+
146
|
260
|
+
147</pre>
|
261
261
|
</td>
|
262
262
|
<td>
|
263
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
263
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 144</span>
|
264
264
|
|
265
265
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_m'>m</span><span class='rparen'>)</span>
|
266
266
|
<span class='ivar'>@entities</span> <span class='op'>=</span> <span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -304,12 +304,12 @@
|
|
304
304
|
<pre class="lines">
|
305
305
|
|
306
306
|
|
307
|
-
|
308
|
-
|
309
|
-
|
307
|
+
138
|
308
|
+
139
|
309
|
+
140</pre>
|
310
310
|
</td>
|
311
311
|
<td>
|
312
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
312
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 138</span>
|
313
313
|
|
314
314
|
<span class='kw'>def</span> <span class='id identifier rubyid_entities'>entities</span>
|
315
315
|
<span class='ivar'>@entities</span>
|
@@ -341,13 +341,13 @@
|
|
341
341
|
<pre class="lines">
|
342
342
|
|
343
343
|
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
344
|
+
158
|
345
|
+
159
|
346
|
+
160
|
347
|
+
161</pre>
|
348
348
|
</td>
|
349
349
|
<td>
|
350
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
350
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 158</span>
|
351
351
|
|
352
352
|
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_e'>e</span><span class='rparen'>)</span>
|
353
353
|
<span class='ivar'>@entities</span> <span class='op'><<</span> <span class='id identifier rubyid_e'>e</span>
|
@@ -373,17 +373,17 @@
|
|
373
373
|
<pre class="lines">
|
374
374
|
|
375
375
|
|
376
|
-
143
|
377
|
-
144
|
378
|
-
145
|
379
|
-
146
|
380
|
-
147
|
381
|
-
148
|
382
376
|
149
|
383
|
-
150
|
377
|
+
150
|
378
|
+
151
|
379
|
+
152
|
380
|
+
153
|
381
|
+
154
|
382
|
+
155
|
383
|
+
156</pre>
|
384
384
|
</td>
|
385
385
|
<td>
|
386
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
386
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 149</span>
|
387
387
|
|
388
388
|
<span class='kw'>def</span> <span class='id identifier rubyid_generate'>generate</span>
|
389
389
|
<span class='id identifier rubyid_stream'>stream</span> <span class='op'>=</span> <span class='id identifier rubyid_new_stream'>new_stream</span>
|
@@ -403,9 +403,9 @@
|
|
403
403
|
</div>
|
404
404
|
|
405
405
|
<div id="footer">
|
406
|
-
Generated on
|
406
|
+
Generated on Sat Nov 22 16:58:04 2014 by
|
407
407
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
408
|
-
0.8.7.
|
408
|
+
0.8.7.6 (ruby-2.1.5).
|
409
409
|
</div>
|
410
410
|
|
411
411
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AutoC::Module::Header
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -268,14 +268,14 @@
|
|
268
268
|
<pre class="lines">
|
269
269
|
|
270
270
|
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
271
|
+
170
|
272
|
+
171
|
273
|
+
172
|
274
|
+
173
|
275
|
+
174</pre>
|
276
276
|
</td>
|
277
277
|
<td>
|
278
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
278
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 170</span>
|
279
279
|
|
280
280
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
281
281
|
<span class='kw'>super</span>
|
@@ -320,12 +320,12 @@
|
|
320
320
|
<pre class="lines">
|
321
321
|
|
322
322
|
|
323
|
-
|
324
|
-
|
325
|
-
|
323
|
+
168
|
324
|
+
169
|
325
|
+
170</pre>
|
326
326
|
</td>
|
327
327
|
<td>
|
328
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
328
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 168</span>
|
329
329
|
|
330
330
|
<span class='kw'>def</span> <span class='id identifier rubyid_file_name'>file_name</span>
|
331
331
|
<span class='ivar'>@file_name</span>
|
@@ -357,12 +357,12 @@
|
|
357
357
|
<pre class="lines">
|
358
358
|
|
359
359
|
|
360
|
-
|
361
|
-
|
362
|
-
|
360
|
+
176
|
361
|
+
177
|
362
|
+
178</pre>
|
363
363
|
</td>
|
364
364
|
<td>
|
365
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
365
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 176</span>
|
366
366
|
|
367
367
|
<span class='kw'>def</span> <span class='id identifier rubyid_new_stream'>new_stream</span>
|
368
368
|
<span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@file_name</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>w</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -387,20 +387,20 @@
|
|
387
387
|
<pre class="lines">
|
388
388
|
|
389
389
|
|
390
|
-
174
|
391
|
-
175
|
392
|
-
176
|
393
|
-
177
|
394
|
-
178
|
395
|
-
179
|
396
390
|
180
|
397
391
|
181
|
398
392
|
182
|
399
393
|
183
|
400
|
-
184
|
394
|
+
184
|
395
|
+
185
|
396
|
+
186
|
397
|
+
187
|
398
|
+
188
|
399
|
+
189
|
400
|
+
190</pre>
|
401
401
|
</td>
|
402
402
|
<td>
|
403
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line
|
403
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 180</span>
|
404
404
|
|
405
405
|
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='rparen'>)</span>
|
406
406
|
<span class='id identifier rubyid_stream'>stream</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
|
@@ -423,9 +423,9 @@
|
|
423
423
|
</div>
|
424
424
|
|
425
425
|
<div id="footer">
|
426
|
-
Generated on
|
426
|
+
Generated on Sat Nov 22 16:58:04 2014 by
|
427
427
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
428
|
-
0.8.7.
|
428
|
+
0.8.7.6 (ruby-2.1.5).
|
429
429
|
</div>
|
430
430
|
|
431
431
|
</body>
|