mangrove 0.7.1 → 0.7.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/docs/Mangrove/ControlFlow/ControlSignal.html +1 -1
- data/docs/Mangrove/ControlFlow.html +2 -130
- data/docs/Mangrove/Option/ControlSignal.html +1 -1
- data/docs/Mangrove/Option/None.html +1 -1
- data/docs/Mangrove/Option/Some.html +1 -1
- data/docs/Mangrove/Option.html +1 -1
- data/docs/Mangrove/Result/ControlSignal.html +1 -1
- data/docs/Mangrove/Result/Err.html +110 -36
- data/docs/Mangrove/Result/Ok.html +75 -1
- data/docs/Mangrove/Result.html +1 -1
- data/docs/Mangrove.html +3 -3
- data/docs/_index.html +1 -8
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/method_list.html +90 -106
- data/docs/top-level-namespace.html +1 -1
- data/lib/mangrove/result.rb +10 -0
- data/lib/mangrove/version.rb +1 -1
- data/lib/mangrove.rb +0 -1
- metadata +2 -3
- data/lib/mangrove/control_flow/rewriter.rb +0 -158
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7be3e150ba165b2b15fe41f1e6c519d944b82b885cbe4ee23ad5abacfb8108d0
|
4
|
+
data.tar.gz: e44894147f1f9699536b22911e3123ca647ad74880d2788da156b66c78c3cc0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6121e12757469929df996ca1f0117582b9aeae542a6e05377a4575c6912b5e3a9bc0b38ccb95e39be668b9c80619a08ca486b14a89036a7e138cdba9e341f5d
|
7
|
+
data.tar.gz: bc3f5fd103fcfd942e727c21e95ca06ef34f3f2011580dea880c9ba349c1c32632906fa5299ddacc4d0e0f610a92e531c1635890d0dceed37245289d313b38fe
|
@@ -213,7 +213,7 @@
|
|
213
213
|
</div>
|
214
214
|
|
215
215
|
<div id="footer">
|
216
|
-
Generated on
|
216
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
217
217
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
218
218
|
0.9.34 (ruby-3.2.2).
|
219
219
|
</div>
|
@@ -69,11 +69,6 @@
|
|
69
69
|
|
70
70
|
|
71
71
|
|
72
|
-
<dl>
|
73
|
-
<dt>Extended by:</dt>
|
74
|
-
<dd>T::Sig</dd>
|
75
|
-
</dl>
|
76
|
-
|
77
72
|
|
78
73
|
|
79
74
|
|
@@ -83,9 +78,7 @@
|
|
83
78
|
|
84
79
|
<dl>
|
85
80
|
<dt>Defined in:</dt>
|
86
|
-
<dd>lib/mangrove/control_flow/
|
87
|
-
lib/mangrove/control_flow/control_signal.rb</span>
|
88
|
-
</dd>
|
81
|
+
<dd>lib/mangrove/control_flow/control_signal.rb</dd>
|
89
82
|
</dl>
|
90
83
|
|
91
84
|
</div>
|
@@ -98,8 +91,6 @@
|
|
98
91
|
|
99
92
|
|
100
93
|
|
101
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ControlFlow/Rewriter.html" title="Mangrove::ControlFlow::Rewriter (class)">Rewriter</a></span>
|
102
|
-
|
103
94
|
|
104
95
|
</p>
|
105
96
|
|
@@ -109,131 +100,12 @@
|
|
109
100
|
|
110
101
|
|
111
102
|
|
112
|
-
|
113
|
-
<h2>
|
114
|
-
Class Method Summary
|
115
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
116
|
-
</h2>
|
117
|
-
|
118
|
-
<ul class="summary">
|
119
|
-
|
120
|
-
<li class="public ">
|
121
|
-
<span class="summary_signature">
|
122
|
-
|
123
|
-
<a href="#impl!-class_method" title="impl! (class method)">.<strong>impl!</strong>(method_to_be_rewritten) ⇒ String </a>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
</span>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
138
|
-
|
139
|
-
</li>
|
140
|
-
|
141
|
-
|
142
|
-
</ul>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<div id="class_method_details" class="method_details_list">
|
149
|
-
<h2>Class Method Details</h2>
|
150
|
-
|
151
|
-
|
152
|
-
<div class="method_details first">
|
153
|
-
<h3 class="signature first" id="impl!-class_method">
|
154
|
-
|
155
|
-
.<strong>impl!</strong>(method_to_be_rewritten) ⇒ <tt>String</tt>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
103
|
|
160
|
-
|
161
|
-
</h3><div class="docstring">
|
162
|
-
<div class="discussion">
|
163
|
-
|
164
|
-
|
165
|
-
</div>
|
166
|
-
</div>
|
167
|
-
<div class="tags">
|
168
|
-
<p class="tag_title">Parameters:</p>
|
169
|
-
<ul class="param">
|
170
|
-
|
171
|
-
<li>
|
172
|
-
|
173
|
-
<span class='name'>method_to_be_rewritten</span>
|
174
|
-
|
175
|
-
|
176
|
-
<span class='type'>(<tt>Method</tt>, <tt>UnboundMethod</tt>)</span>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
</li>
|
181
|
-
|
182
|
-
</ul>
|
183
|
-
|
184
|
-
<p class="tag_title">Returns:</p>
|
185
|
-
<ul class="return">
|
186
|
-
|
187
|
-
<li>
|
188
|
-
|
189
|
-
|
190
|
-
<span class='type'>(<tt>String</tt>)</span>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
</li>
|
195
|
-
|
196
|
-
</ul>
|
197
|
-
|
198
|
-
</div><table class="source_code">
|
199
|
-
<tr>
|
200
|
-
<td>
|
201
|
-
<pre class="lines">
|
202
|
-
|
203
|
-
|
204
|
-
16
|
205
|
-
17
|
206
|
-
18
|
207
|
-
19
|
208
|
-
20
|
209
|
-
21
|
210
|
-
22
|
211
|
-
23
|
212
|
-
24</pre>
|
213
|
-
</td>
|
214
|
-
<td>
|
215
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/control_flow/rewriter.rb', line 16</span>
|
216
|
-
|
217
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_impl!'>impl!</span><span class='lparen'>(</span><span class='id identifier rubyid_method_to_be_rewritten'>method_to_be_rewritten</span><span class='rparen'>)</span>
|
218
|
-
<span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='id identifier rubyid_line_number'>line_number</span> <span class='op'>=</span> <span class='id identifier rubyid_method_to_be_rewritten'>method_to_be_rewritten</span><span class='period'>.</span><span class='id identifier rubyid_source_location'>source_location</span>
|
219
|
-
|
220
|
-
<span class='id identifier rubyid_source'>source</span> <span class='op'>=</span> <span class='id identifier rubyid_method_to_be_rewritten'>method_to_be_rewritten</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span>
|
221
|
-
<span class='id identifier rubyid_ast'>ast</span> <span class='op'>=</span> <span class='const'>Parser</span><span class='op'>::</span><span class='const'>CurrentRuby</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_source'>source</span><span class='rparen'>)</span>
|
222
|
-
<span class='id identifier rubyid_source_buffer'>source_buffer</span> <span class='op'>=</span> <span class='const'>Parser</span><span class='op'>::</span><span class='const'>Source</span><span class='op'>::</span><span class='const'>Buffer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_filename'>filename</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_line_number'>line_number</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>source:</span><span class='rparen'>)</span>
|
223
|
-
<span class='id identifier rubyid_rewriter'>rewriter</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="ControlFlow/Rewriter.html" title="Mangrove::ControlFlow::Rewriter (class)">Rewriter</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
224
|
-
<span class='id identifier rubyid_rewriter'>rewriter</span><span class='period'>.</span><span class='id identifier rubyid_rewrite'>rewrite</span><span class='lparen'>(</span><span class='id identifier rubyid_source_buffer'>source_buffer</span><span class='comma'>,</span> <span class='id identifier rubyid_ast'>ast</span><span class='rparen'>)</span>
|
225
|
-
<span class='kw'>end</span></pre>
|
226
|
-
</td>
|
227
|
-
</tr>
|
228
|
-
</table>
|
229
|
-
</div>
|
230
|
-
|
231
|
-
</div>
|
232
104
|
|
233
105
|
</div>
|
234
106
|
|
235
107
|
<div id="footer">
|
236
|
-
Generated on
|
108
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
237
109
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
238
110
|
0.9.34 (ruby-3.2.2).
|
239
111
|
</div>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
428
428
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
429
429
|
0.9.34 (ruby-3.2.2).
|
430
430
|
</div>
|
@@ -968,7 +968,7 @@
|
|
968
968
|
</div>
|
969
969
|
|
970
970
|
<div id="footer">
|
971
|
-
Generated on
|
971
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
972
972
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
973
973
|
0.9.34 (ruby-3.2.2).
|
974
974
|
</div>
|
@@ -1098,7 +1098,7 @@
|
|
1098
1098
|
</div>
|
1099
1099
|
|
1100
1100
|
<div id="footer">
|
1101
|
-
Generated on
|
1101
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
1102
1102
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1103
1103
|
0.9.34 (ruby-3.2.2).
|
1104
1104
|
</div>
|
data/docs/Mangrove/Option.html
CHANGED
@@ -932,7 +932,7 @@
|
|
932
932
|
</div>
|
933
933
|
|
934
934
|
<div id="footer">
|
935
|
-
Generated on
|
935
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
936
936
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
937
937
|
0.9.34 (ruby-3.2.2).
|
938
938
|
</div>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
428
428
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
429
429
|
0.9.34 (ruby-3.2.2).
|
430
430
|
</div>
|
@@ -318,6 +318,28 @@
|
|
318
318
|
|
319
319
|
|
320
320
|
|
321
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
322
|
+
|
323
|
+
</li>
|
324
|
+
|
325
|
+
|
326
|
+
<li class="public ">
|
327
|
+
<span class="summary_signature">
|
328
|
+
|
329
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ String </a>
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
</span>
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
321
343
|
<span class="summary_desc"><div class='inline'></div></span>
|
322
344
|
|
323
345
|
</li>
|
@@ -408,12 +430,12 @@
|
|
408
430
|
<pre class="lines">
|
409
431
|
|
410
432
|
|
411
|
-
|
412
|
-
|
413
|
-
|
433
|
+
138
|
434
|
+
139
|
435
|
+
140</pre>
|
414
436
|
</td>
|
415
437
|
<td>
|
416
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
438
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 138</span>
|
417
439
|
|
418
440
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_inner'>inner</span><span class='rparen'>)</span>
|
419
441
|
<span class='ivar'>@inner</span> <span class='op'>=</span> <span class='id identifier rubyid_inner'>inner</span>
|
@@ -482,19 +504,19 @@
|
|
482
504
|
<pre class="lines">
|
483
505
|
|
484
506
|
|
485
|
-
138
|
486
|
-
139
|
487
|
-
140
|
488
|
-
141
|
489
|
-
142
|
490
507
|
143
|
491
508
|
144
|
492
509
|
145
|
493
510
|
146
|
494
|
-
147
|
511
|
+
147
|
512
|
+
148
|
513
|
+
149
|
514
|
+
150
|
515
|
+
151
|
516
|
+
152</pre>
|
495
517
|
</td>
|
496
518
|
<td>
|
497
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
519
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 143</span>
|
498
520
|
|
499
521
|
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
500
522
|
<span class='kw'>case</span> <span class='id identifier rubyid_other'>other</span>
|
@@ -548,10 +570,10 @@
|
|
548
570
|
<pre class="lines">
|
549
571
|
|
550
572
|
|
551
|
-
|
573
|
+
173</pre>
|
552
574
|
</td>
|
553
575
|
<td>
|
554
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
576
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 173</span>
|
555
577
|
|
556
578
|
<span class='kw'>def</span> <span class='id identifier rubyid_err?'>err?</span> <span class='op'>=</span> <span class='kw'>true</span></pre>
|
557
579
|
</td>
|
@@ -596,12 +618,12 @@
|
|
596
618
|
<pre class="lines">
|
597
619
|
|
598
620
|
|
599
|
-
|
600
|
-
|
601
|
-
|
621
|
+
155
|
622
|
+
156
|
623
|
+
157</pre>
|
602
624
|
</td>
|
603
625
|
<td>
|
604
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
626
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 155</span>
|
605
627
|
|
606
628
|
<span class='kw'>def</span> <span class='id identifier rubyid_err_inner'>err_inner</span>
|
607
629
|
<span class='ivar'>@inner</span>
|
@@ -676,12 +698,12 @@
|
|
676
698
|
<pre class="lines">
|
677
699
|
|
678
700
|
|
679
|
-
|
680
|
-
|
681
|
-
|
701
|
+
165
|
702
|
+
166
|
703
|
+
167</pre>
|
682
704
|
</td>
|
683
705
|
<td>
|
684
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
706
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 165</span>
|
685
707
|
|
686
708
|
<span class='kw'>def</span> <span class='id identifier rubyid_expect!'>expect!</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
|
687
709
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../Result.html" title="Mangrove::Result (module)">Result</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ControlSignal.html" title="Mangrove::Result::ControlSignal (class)">ControlSignal</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span>
|
@@ -743,12 +765,12 @@
|
|
743
765
|
<pre class="lines">
|
744
766
|
|
745
767
|
|
746
|
-
|
747
|
-
|
748
|
-
|
768
|
+
181
|
769
|
+
182
|
770
|
+
183</pre>
|
749
771
|
</td>
|
750
772
|
<td>
|
751
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
773
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 181</span>
|
752
774
|
|
753
775
|
<span class='kw'>def</span> <span class='id identifier rubyid_map_err'>map_err</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
754
776
|
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@inner</span><span class='rparen'>)</span>
|
@@ -810,12 +832,12 @@
|
|
810
832
|
<pre class="lines">
|
811
833
|
|
812
834
|
|
813
|
-
|
814
|
-
|
815
|
-
|
835
|
+
176
|
836
|
+
177
|
837
|
+
178</pre>
|
816
838
|
</td>
|
817
839
|
<td>
|
818
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
840
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 176</span>
|
819
841
|
|
820
842
|
<span class='kw'>def</span> <span class='id identifier rubyid_map_ok'>map_ok</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid__block'>_block</span><span class='rparen'>)</span>
|
821
843
|
<span class='kw'>self</span>
|
@@ -862,15 +884,67 @@
|
|
862
884
|
<pre class="lines">
|
863
885
|
|
864
886
|
|
865
|
-
|
887
|
+
170</pre>
|
866
888
|
</td>
|
867
889
|
<td>
|
868
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
890
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 170</span>
|
869
891
|
|
870
892
|
<span class='kw'>def</span> <span class='id identifier rubyid_ok?'>ok?</span> <span class='op'>=</span> <span class='kw'>false</span></pre>
|
871
893
|
</td>
|
872
894
|
</tr>
|
873
895
|
</table>
|
896
|
+
</div>
|
897
|
+
|
898
|
+
<div class="method_details ">
|
899
|
+
<h3 class="signature " id="to_s-instance_method">
|
900
|
+
|
901
|
+
#<strong>to_s</strong> ⇒ <tt>String</tt>
|
902
|
+
|
903
|
+
|
904
|
+
|
905
|
+
|
906
|
+
|
907
|
+
</h3><div class="docstring">
|
908
|
+
<div class="discussion">
|
909
|
+
|
910
|
+
|
911
|
+
</div>
|
912
|
+
</div>
|
913
|
+
<div class="tags">
|
914
|
+
|
915
|
+
<p class="tag_title">Returns:</p>
|
916
|
+
<ul class="return">
|
917
|
+
|
918
|
+
<li>
|
919
|
+
|
920
|
+
|
921
|
+
<span class='type'>(<tt>String</tt>)</span>
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
</li>
|
926
|
+
|
927
|
+
</ul>
|
928
|
+
|
929
|
+
</div><table class="source_code">
|
930
|
+
<tr>
|
931
|
+
<td>
|
932
|
+
<pre class="lines">
|
933
|
+
|
934
|
+
|
935
|
+
186
|
936
|
+
187
|
937
|
+
188</pre>
|
938
|
+
</td>
|
939
|
+
<td>
|
940
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 186</span>
|
941
|
+
|
942
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
943
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>super</span><span class='embexpr_end'>}</span><span class='tstring_content'>: inner=`</span><span class='embexpr_beg'>#{</span><span class='ivar'>@inner</span><span class='embexpr_end'>}</span><span class='tstring_content'>`</span><span class='tstring_end'>"</span></span>
|
944
|
+
<span class='kw'>end</span></pre>
|
945
|
+
</td>
|
946
|
+
</tr>
|
947
|
+
</table>
|
874
948
|
</div>
|
875
949
|
|
876
950
|
<div class="method_details ">
|
@@ -923,12 +997,12 @@
|
|
923
997
|
<pre class="lines">
|
924
998
|
|
925
999
|
|
926
|
-
|
927
|
-
|
928
|
-
|
1000
|
+
160
|
1001
|
+
161
|
1002
|
+
162</pre>
|
929
1003
|
</td>
|
930
1004
|
<td>
|
931
|
-
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line
|
1005
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 160</span>
|
932
1006
|
|
933
1007
|
<span class='kw'>def</span> <span class='id identifier rubyid_unwrap!'>unwrap!</span>
|
934
1008
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../Result.html" title="Mangrove::Result (module)">Result</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ControlSignal.html" title="Mangrove::Result::ControlSignal (class)">ControlSignal</a></span></span><span class='comma'>,</span> <span class='ivar'>@inner</span>
|
@@ -943,7 +1017,7 @@
|
|
943
1017
|
</div>
|
944
1018
|
|
945
1019
|
<div id="footer">
|
946
|
-
Generated on
|
1020
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
947
1021
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
948
1022
|
0.9.34 (ruby-3.2.2).
|
949
1023
|
</div>
|
@@ -318,6 +318,28 @@
|
|
318
318
|
|
319
319
|
|
320
320
|
|
321
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
322
|
+
|
323
|
+
</li>
|
324
|
+
|
325
|
+
|
326
|
+
<li class="public ">
|
327
|
+
<span class="summary_signature">
|
328
|
+
|
329
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ String </a>
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
</span>
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
321
343
|
<span class="summary_desc"><div class='inline'></div></span>
|
322
344
|
|
323
345
|
</li>
|
@@ -858,6 +880,58 @@
|
|
858
880
|
</td>
|
859
881
|
</tr>
|
860
882
|
</table>
|
883
|
+
</div>
|
884
|
+
|
885
|
+
<div class="method_details ">
|
886
|
+
<h3 class="signature " id="to_s-instance_method">
|
887
|
+
|
888
|
+
#<strong>to_s</strong> ⇒ <tt>String</tt>
|
889
|
+
|
890
|
+
|
891
|
+
|
892
|
+
|
893
|
+
|
894
|
+
</h3><div class="docstring">
|
895
|
+
<div class="discussion">
|
896
|
+
|
897
|
+
|
898
|
+
</div>
|
899
|
+
</div>
|
900
|
+
<div class="tags">
|
901
|
+
|
902
|
+
<p class="tag_title">Returns:</p>
|
903
|
+
<ul class="return">
|
904
|
+
|
905
|
+
<li>
|
906
|
+
|
907
|
+
|
908
|
+
<span class='type'>(<tt>String</tt>)</span>
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
</li>
|
913
|
+
|
914
|
+
</ul>
|
915
|
+
|
916
|
+
</div><table class="source_code">
|
917
|
+
<tr>
|
918
|
+
<td>
|
919
|
+
<pre class="lines">
|
920
|
+
|
921
|
+
|
922
|
+
122
|
923
|
+
123
|
924
|
+
124</pre>
|
925
|
+
</td>
|
926
|
+
<td>
|
927
|
+
<pre class="code"><span class="info file"># File 'lib/mangrove/result.rb', line 122</span>
|
928
|
+
|
929
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
930
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>super</span><span class='embexpr_end'>}</span><span class='tstring_content'>: inner=`</span><span class='embexpr_beg'>#{</span><span class='ivar'>@inner</span><span class='embexpr_end'>}</span><span class='tstring_content'>`</span><span class='tstring_end'>"</span></span>
|
931
|
+
<span class='kw'>end</span></pre>
|
932
|
+
</td>
|
933
|
+
</tr>
|
934
|
+
</table>
|
861
935
|
</div>
|
862
936
|
|
863
937
|
<div class="method_details ">
|
@@ -917,7 +991,7 @@
|
|
917
991
|
</div>
|
918
992
|
|
919
993
|
<div id="footer">
|
920
|
-
Generated on
|
994
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
921
995
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
922
996
|
0.9.34 (ruby-3.2.2).
|
923
997
|
</div>
|
data/docs/Mangrove/Result.html
CHANGED
@@ -879,7 +879,7 @@
|
|
879
879
|
</div>
|
880
880
|
|
881
881
|
<div id="footer">
|
882
|
-
Generated on
|
882
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
883
883
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
884
884
|
0.9.34 (ruby-3.2.2).
|
885
885
|
</div>
|
data/docs/Mangrove.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/mangrove.rb<span class="defines">,<br />
|
82
|
-
lib/mangrove/option.rb,<br /> lib/mangrove/result.rb,<br /> lib/mangrove/version.rb,<br /> lib/mangrove/
|
82
|
+
lib/mangrove/option.rb,<br /> lib/mangrove/result.rb,<br /> lib/mangrove/version.rb,<br /> lib/mangrove/option/control_signal.rb,<br /> lib/mangrove/result/control_signal.rb,<br /> lib/mangrove/control_flow/control_signal.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<dt id="VERSION-constant" class="">VERSION =
|
119
119
|
|
120
120
|
</dt>
|
121
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.7.
|
121
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.7.2</span><span class='tstring_end'>"</span></span></pre></dd>
|
122
122
|
|
123
123
|
</dl>
|
124
124
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
</div>
|
135
135
|
|
136
136
|
<div id="footer">
|
137
|
-
Generated on
|
137
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
138
138
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
139
139
|
0.9.34 (ruby-3.2.2).
|
140
140
|
</div>
|
data/docs/_index.html
CHANGED
@@ -188,13 +188,6 @@
|
|
188
188
|
|
189
189
|
</li>
|
190
190
|
|
191
|
-
<li>
|
192
|
-
<span class='object_link'><a href="Mangrove/ControlFlow/Rewriter.html" title="Mangrove::ControlFlow::Rewriter (class)">Rewriter</a></span>
|
193
|
-
|
194
|
-
<small>(Mangrove::ControlFlow)</small>
|
195
|
-
|
196
|
-
</li>
|
197
|
-
|
198
191
|
</ul>
|
199
192
|
</ul>
|
200
193
|
|
@@ -222,7 +215,7 @@
|
|
222
215
|
</div>
|
223
216
|
|
224
217
|
<div id="footer">
|
225
|
-
Generated on
|
218
|
+
Generated on Fri Sep 15 12:06:26 2023 by
|
226
219
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
227
220
|
0.9.34 (ruby-3.2.2).
|
228
221
|
</div>
|