enhanced_errors 2.1.3 → 3.0.0
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/.yardoc/checksums +4 -2
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/README.md +2 -2
- data/doc/Context.html +283 -0
- data/doc/Enhanced/Colors.html +1 -1
- data/doc/Enhanced.html +1 -1
- data/doc/EnhancedErrors.html +350 -382
- data/doc/EnhancedExceptionContext.html +397 -0
- data/doc/Exception.html +9 -139
- data/doc/ExceptionBindingInfos.html +255 -0
- data/doc/Minitest.html +1 -1
- data/doc/_index.html +16 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +3 -3
- data/doc/index.html +3 -3
- data/doc/method_list.html +87 -39
- data/doc/top-level-namespace.html +3 -3
- data/enhanced_errors.gemspec +1 -1
- data/examples/demo_rspec.rb +0 -4
- data/lib/enhanced/context.rb +7 -0
- data/lib/enhanced/enhanced_exception_context.rb +47 -0
- data/lib/enhanced/exception.rb +15 -5
- data/lib/enhanced_errors.rb +20 -44
- metadata +8 -3
data/doc/EnhancedErrors.html
CHANGED
@@ -118,10 +118,10 @@
|
|
118
118
|
</dt>
|
119
119
|
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>%r{</span><span class='tstring_content'>[\/\\]gems[\/\\]</span><span class='regexp_end'>}</span></span></pre></dd>
|
120
120
|
|
121
|
-
<dt id="
|
121
|
+
<dt id="DEFAULT_MAX_CAPTURE_LENGTH-constant" class="">DEFAULT_MAX_CAPTURE_LENGTH =
|
122
122
|
|
123
123
|
</dt>
|
124
|
-
<dd><pre class="code"><span class='int'>
|
124
|
+
<dd><pre class="code"><span class='int'>2500</span></pre></dd>
|
125
125
|
|
126
126
|
<dt id="MAX_BINDING_INFOS-constant" class="">MAX_BINDING_INFOS =
|
127
127
|
|
@@ -653,7 +653,7 @@
|
|
653
653
|
<li class="public ">
|
654
654
|
<span class="summary_signature">
|
655
655
|
|
656
|
-
<a href="#
|
656
|
+
<a href="#enhance_exceptions!-class_method" title="enhance_exceptions! (class method)">.<strong>enhance_exceptions!</strong>(enabled: true, debug: false, capture_events: nil, override_messages: false, **options, &block) ⇒ Object </a>
|
657
657
|
|
658
658
|
|
659
659
|
|
@@ -675,7 +675,7 @@
|
|
675
675
|
<li class="public ">
|
676
676
|
<span class="summary_signature">
|
677
677
|
|
678
|
-
<a href="#
|
678
|
+
<a href="#format-class_method" title="format (class method)">.<strong>format</strong>(captured_binding_infos = [], output_format = get_default_format_for_environment) ⇒ Object </a>
|
679
679
|
|
680
680
|
|
681
681
|
|
@@ -697,7 +697,7 @@
|
|
697
697
|
<li class="public ">
|
698
698
|
<span class="summary_signature">
|
699
699
|
|
700
|
-
<a href="#
|
700
|
+
<a href="#get_default_format_for_environment-class_method" title="get_default_format_for_environment (class method)">.<strong>get_default_format_for_environment</strong> ⇒ Object </a>
|
701
701
|
|
702
702
|
|
703
703
|
|
@@ -719,7 +719,7 @@
|
|
719
719
|
<li class="public ">
|
720
720
|
<span class="summary_signature">
|
721
721
|
|
722
|
-
<a href="#
|
722
|
+
<a href="#increment_capture_events_count-class_method" title="increment_capture_events_count (class method)">.<strong>increment_capture_events_count</strong> ⇒ Object </a>
|
723
723
|
|
724
724
|
|
725
725
|
|
@@ -741,7 +741,7 @@
|
|
741
741
|
<li class="public ">
|
742
742
|
<span class="summary_signature">
|
743
743
|
|
744
|
-
<a href="#
|
744
|
+
<a href="#is_a_minitest%3F-class_method" title="is_a_minitest? (class method)">.<strong>is_a_minitest?</strong>(klass) ⇒ Boolean </a>
|
745
745
|
|
746
746
|
|
747
747
|
|
@@ -763,7 +763,7 @@
|
|
763
763
|
<li class="public ">
|
764
764
|
<span class="summary_signature">
|
765
765
|
|
766
|
-
<a href="#
|
766
|
+
<a href="#is_rspec_example%3F-class_method" title="is_rspec_example? (class method)">.<strong>is_rspec_example?</strong>(tracepoint) ⇒ Boolean </a>
|
767
767
|
|
768
768
|
|
769
769
|
|
@@ -785,7 +785,7 @@
|
|
785
785
|
<li class="public ">
|
786
786
|
<span class="summary_signature">
|
787
787
|
|
788
|
-
<a href="#
|
788
|
+
<a href="#max_capture_events-class_method" title="max_capture_events (class method)">.<strong>max_capture_events</strong> ⇒ Object </a>
|
789
789
|
|
790
790
|
|
791
791
|
|
@@ -807,7 +807,7 @@
|
|
807
807
|
<li class="public ">
|
808
808
|
<span class="summary_signature">
|
809
809
|
|
810
|
-
<a href="#max_capture_events
|
810
|
+
<a href="#max_capture_events=-class_method" title="max_capture_events= (class method)">.<strong>max_capture_events=</strong>(value) ⇒ Object </a>
|
811
811
|
|
812
812
|
|
813
813
|
|
@@ -829,7 +829,7 @@
|
|
829
829
|
<li class="public ">
|
830
830
|
<span class="summary_signature">
|
831
831
|
|
832
|
-
<a href="#
|
832
|
+
<a href="#max_capture_length-class_method" title="max_capture_length (class method)">.<strong>max_capture_length</strong> ⇒ Object </a>
|
833
833
|
|
834
834
|
|
835
835
|
|
@@ -851,7 +851,7 @@
|
|
851
851
|
<li class="public ">
|
852
852
|
<span class="summary_signature">
|
853
853
|
|
854
|
-
<a href="#
|
854
|
+
<a href="#max_capture_length=-class_method" title="max_capture_length= (class method)">.<strong>max_capture_length=</strong>(val) ⇒ Object </a>
|
855
855
|
|
856
856
|
|
857
857
|
|
@@ -1515,14 +1515,14 @@
|
|
1515
1515
|
<pre class="lines">
|
1516
1516
|
|
1517
1517
|
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1518
|
+
220
|
1519
|
+
221
|
1520
|
+
222
|
1521
|
+
223
|
1522
|
+
224</pre>
|
1523
1523
|
</td>
|
1524
1524
|
<td>
|
1525
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
1525
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 220</span>
|
1526
1526
|
|
1527
1527
|
<span class='kw'>def</span> <span class='id identifier rubyid_add_to_skip_list'>add_to_skip_list</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_vars'>vars</span><span class='rparen'>)</span>
|
1528
1528
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -1549,20 +1549,20 @@
|
|
1549
1549
|
<pre class="lines">
|
1550
1550
|
|
1551
1551
|
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1552
|
+
523
|
1553
|
+
524
|
1554
|
+
525
|
1555
|
+
526
|
1556
|
+
527
|
1557
|
+
528
|
1558
|
+
529
|
1559
|
+
530
|
1560
|
+
531
|
1561
|
+
532
|
1562
|
+
533</pre>
|
1563
1563
|
</td>
|
1564
1564
|
<td>
|
1565
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
1565
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 523</span>
|
1566
1566
|
|
1567
1567
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply_skip_list'>apply_skip_list</span><span class='lparen'>(</span><span class='id identifier rubyid_binding_info'>binding_info</span><span class='rparen'>)</span>
|
1568
1568
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -1595,6 +1595,21 @@
|
|
1595
1595
|
<pre class="lines">
|
1596
1596
|
|
1597
1597
|
|
1598
|
+
542
|
1599
|
+
543
|
1600
|
+
544
|
1601
|
+
545
|
1602
|
+
546
|
1603
|
+
547
|
1604
|
+
548
|
1605
|
+
549
|
1606
|
+
550
|
1607
|
+
551
|
1608
|
+
552
|
1609
|
+
553
|
1610
|
+
554
|
1611
|
+
555
|
1612
|
+
556
|
1598
1613
|
557
|
1599
1614
|
558
|
1600
1615
|
559
|
@@ -1623,25 +1638,10 @@
|
|
1623
1638
|
582
|
1624
1639
|
583
|
1625
1640
|
584
|
1626
|
-
585
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
589
|
1631
|
-
590
|
1632
|
-
591
|
1633
|
-
592
|
1634
|
-
593
|
1635
|
-
594
|
1636
|
-
595
|
1637
|
-
596
|
1638
|
-
597
|
1639
|
-
598
|
1640
|
-
599
|
1641
|
-
600</pre>
|
1642
|
-
</td>
|
1643
|
-
<td>
|
1644
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 557</span>
|
1641
|
+
585</pre>
|
1642
|
+
</td>
|
1643
|
+
<td>
|
1644
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 542</span>
|
1645
1645
|
|
1646
1646
|
<span class='kw'>def</span> <span class='id identifier rubyid_binding_info_string'>binding_info_string</span><span class='lparen'>(</span><span class='id identifier rubyid_binding_info'>binding_info</span><span class='rparen'>)</span>
|
1647
1647
|
<span class='id identifier rubyid_exception'>exception</span> <span class='op'>=</span> <span class='id identifier rubyid_safe_to_s'>safe_to_s</span><span class='lparen'>(</span><span class='id identifier rubyid_binding_info'>binding_info</span><span class='lbracket'>[</span><span class='symbol'>:exception</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -1676,7 +1676,7 @@
|
|
1676
1676
|
<span class='kw'>end</span>
|
1677
1677
|
|
1678
1678
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
1679
|
-
<span class='id identifier rubyid_max_len'>max_len</span> <span class='op'>=</span> <span class='ivar'>@
|
1679
|
+
<span class='id identifier rubyid_max_len'>max_len</span> <span class='op'>=</span> <span class='ivar'>@max_capture_length</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="#DEFAULT_MAX_CAPTURE_LENGTH-constant" title="EnhancedErrors::DEFAULT_MAX_CAPTURE_LENGTH (constant)">DEFAULT_MAX_CAPTURE_LENGTH</a></span></span>
|
1680
1680
|
<span class='kw'>if</span> <span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>></span> <span class='id identifier rubyid_max_len'>max_len</span>
|
1681
1681
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>...</span><span class='id identifier rubyid_max_len'>max_len</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>... (truncated)</span><span class='tstring_end'>"</span></span>
|
1682
1682
|
<span class='kw'>end</span>
|
@@ -1707,16 +1707,16 @@
|
|
1707
1707
|
<pre class="lines">
|
1708
1708
|
|
1709
1709
|
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1710
|
+
480
|
1711
|
+
481
|
1712
|
+
482
|
1713
|
+
483
|
1714
|
+
484
|
1715
|
+
485
|
1716
|
+
486</pre>
|
1717
1717
|
</td>
|
1718
1718
|
<td>
|
1719
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
1719
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 480</span>
|
1720
1720
|
|
1721
1721
|
<span class='kw'>def</span> <span class='id identifier rubyid_binding_infos_array_to_string'>binding_infos_array_to_string</span><span class='lparen'>(</span><span class='id identifier rubyid_captured_bindings'>captured_bindings</span><span class='comma'>,</span> <span class='id identifier rubyid_format'>format</span> <span class='op'>=</span> <span class='symbol'>:terminal</span><span class='rparen'>)</span>
|
1722
1722
|
<span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_captured_bindings'>captured_bindings</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_captured_bindings'>captured_bindings</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
@@ -1827,14 +1827,14 @@
|
|
1827
1827
|
<pre class="lines">
|
1828
1828
|
|
1829
1829
|
|
1830
|
-
146
|
1831
|
-
147
|
1832
|
-
148
|
1833
1830
|
149
|
1834
|
-
150
|
1831
|
+
150
|
1832
|
+
151
|
1833
|
+
152
|
1834
|
+
153</pre>
|
1835
1835
|
</td>
|
1836
1836
|
<td>
|
1837
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
1837
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 149</span>
|
1838
1838
|
|
1839
1839
|
<span class='kw'>def</span> <span class='id identifier rubyid_capture_limit_exceeded?'>capture_limit_exceeded?</span>
|
1840
1840
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -1921,17 +1921,17 @@
|
|
1921
1921
|
<pre class="lines">
|
1922
1922
|
|
1923
1923
|
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1924
|
+
316
|
1925
|
+
317
|
1926
|
+
318
|
1927
|
+
319
|
1928
|
+
320
|
1929
|
+
321
|
1930
|
+
322
|
1931
|
+
323</pre>
|
1932
1932
|
</td>
|
1933
1933
|
<td>
|
1934
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
1934
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 316</span>
|
1935
1935
|
|
1936
1936
|
<span class='kw'>def</span> <span class='id identifier rubyid_class_to_string'>class_to_string</span><span class='lparen'>(</span><span class='id identifier rubyid_klass'>klass</span><span class='rparen'>)</span>
|
1937
1937
|
<span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_klass'>klass</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
@@ -1961,6 +1961,21 @@
|
|
1961
1961
|
<pre class="lines">
|
1962
1962
|
|
1963
1963
|
|
1964
|
+
377
|
1965
|
+
378
|
1966
|
+
379
|
1967
|
+
380
|
1968
|
+
381
|
1969
|
+
382
|
1970
|
+
383
|
1971
|
+
384
|
1972
|
+
385
|
1973
|
+
386
|
1974
|
+
387
|
1975
|
+
388
|
1976
|
+
389
|
1977
|
+
390
|
1978
|
+
391
|
1964
1979
|
392
|
1965
1980
|
393
|
1966
1981
|
394
|
@@ -1985,25 +2000,10 @@
|
|
1985
2000
|
413
|
1986
2001
|
414
|
1987
2002
|
415
|
1988
|
-
416
|
1989
|
-
417
|
1990
|
-
418
|
1991
|
-
419
|
1992
|
-
420
|
1993
|
-
421
|
1994
|
-
422
|
1995
|
-
423
|
1996
|
-
424
|
1997
|
-
425
|
1998
|
-
426
|
1999
|
-
427
|
2000
|
-
428
|
2001
|
-
429
|
2002
|
-
430
|
2003
|
-
431</pre>
|
2003
|
+
416</pre>
|
2004
2004
|
</td>
|
2005
2005
|
<td>
|
2006
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2006
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 377</span>
|
2007
2007
|
|
2008
2008
|
<span class='kw'>def</span> <span class='id identifier rubyid_convert_binding_to_binding_info'>convert_binding_to_binding_info</span><span class='lparen'>(</span><span class='id identifier rubyid_b'>b</span><span class='comma'>,</span> <span class='label'>capture_let_variables:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2009
2009
|
<span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>__FILE__</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
|
@@ -2065,17 +2065,17 @@
|
|
2065
2065
|
<pre class="lines">
|
2066
2066
|
|
2067
2067
|
|
2068
|
-
152
|
2069
|
-
153
|
2070
|
-
154
|
2071
2068
|
155
|
2072
2069
|
156
|
2073
2070
|
157
|
2074
2071
|
158
|
2075
|
-
159
|
2072
|
+
159
|
2073
|
+
160
|
2074
|
+
161
|
2075
|
+
162</pre>
|
2076
2076
|
</td>
|
2077
2077
|
<td>
|
2078
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2078
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 155</span>
|
2079
2079
|
|
2080
2080
|
<span class='kw'>def</span> <span class='id identifier rubyid_disable_capturing!'>disable_capturing!</span>
|
2081
2081
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2088,40 +2088,6 @@
|
|
2088
2088
|
</td>
|
2089
2089
|
</tr>
|
2090
2090
|
</table>
|
2091
|
-
</div>
|
2092
|
-
|
2093
|
-
<div class="method_details ">
|
2094
|
-
<h3 class="signature " id="enforce_capture_limit-class_method">
|
2095
|
-
|
2096
|
-
.<strong>enforce_capture_limit</strong> ⇒ <tt>Object</tt>
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2100
|
-
|
2101
|
-
|
2102
|
-
</h3><table class="source_code">
|
2103
|
-
<tr>
|
2104
|
-
<td>
|
2105
|
-
<pre class="lines">
|
2106
|
-
|
2107
|
-
|
2108
|
-
140
|
2109
|
-
141
|
2110
|
-
142
|
2111
|
-
143
|
2112
|
-
144</pre>
|
2113
|
-
</td>
|
2114
|
-
<td>
|
2115
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 140</span>
|
2116
|
-
|
2117
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_enforce_capture_limit'>enforce_capture_limit</span>
|
2118
|
-
<span class='id identifier rubyid_exceeded'>exceeded</span> <span class='op'>=</span> <span class='id identifier rubyid_capture_limit_exceeded?'>capture_limit_exceeded?</span>
|
2119
|
-
<span class='id identifier rubyid_disable_capturing!'>disable_capturing!</span> <span class='kw'>if</span> <span class='id identifier rubyid_capture_limit_exceeded?'>capture_limit_exceeded?</span>
|
2120
|
-
<span class='id identifier rubyid_exceeded'>exceeded</span>
|
2121
|
-
<span class='kw'>end</span></pre>
|
2122
|
-
</td>
|
2123
|
-
</tr>
|
2124
|
-
</table>
|
2125
2091
|
</div>
|
2126
2092
|
|
2127
2093
|
<div class="method_details ">
|
@@ -2139,6 +2105,17 @@
|
|
2139
2105
|
<pre class="lines">
|
2140
2106
|
|
2141
2107
|
|
2108
|
+
226
|
2109
|
+
227
|
2110
|
+
228
|
2111
|
+
229
|
2112
|
+
230
|
2113
|
+
231
|
2114
|
+
232
|
2115
|
+
233
|
2116
|
+
234
|
2117
|
+
235
|
2118
|
+
236
|
2142
2119
|
237
|
2143
2120
|
238
|
2144
2121
|
239
|
@@ -2180,21 +2157,10 @@
|
|
2180
2157
|
275
|
2181
2158
|
276
|
2182
2159
|
277
|
2183
|
-
278
|
2184
|
-
279
|
2185
|
-
280
|
2186
|
-
281
|
2187
|
-
282
|
2188
|
-
283
|
2189
|
-
284
|
2190
|
-
285
|
2191
|
-
286
|
2192
|
-
287
|
2193
|
-
288
|
2194
|
-
289</pre>
|
2160
|
+
278</pre>
|
2195
2161
|
</td>
|
2196
2162
|
<td>
|
2197
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2163
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 226</span>
|
2198
2164
|
|
2199
2165
|
<span class='kw'>def</span> <span class='id identifier rubyid_enhance_exceptions!'>enhance_exceptions!</span><span class='lparen'>(</span><span class='label'>enabled:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>debug:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>capture_events:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>override_messages:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
2200
2166
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2269,28 +2235,28 @@
|
|
2269
2235
|
<pre class="lines">
|
2270
2236
|
|
2271
2237
|
|
2238
|
+
460
|
2239
|
+
461
|
2240
|
+
462
|
2241
|
+
463
|
2242
|
+
464
|
2243
|
+
465
|
2244
|
+
466
|
2245
|
+
467
|
2246
|
+
468
|
2247
|
+
469
|
2248
|
+
470
|
2249
|
+
471
|
2250
|
+
472
|
2251
|
+
473
|
2252
|
+
474
|
2272
2253
|
475
|
2273
2254
|
476
|
2274
2255
|
477
|
2275
|
-
478
|
2276
|
-
479
|
2277
|
-
480
|
2278
|
-
481
|
2279
|
-
482
|
2280
|
-
483
|
2281
|
-
484
|
2282
|
-
485
|
2283
|
-
486
|
2284
|
-
487
|
2285
|
-
488
|
2286
|
-
489
|
2287
|
-
490
|
2288
|
-
491
|
2289
|
-
492
|
2290
|
-
493</pre>
|
2256
|
+
478</pre>
|
2291
2257
|
</td>
|
2292
2258
|
<td>
|
2293
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2259
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 460</span>
|
2294
2260
|
|
2295
2261
|
<span class='kw'>def</span> <span class='id identifier rubyid_format'>format</span><span class='lparen'>(</span><span class='id identifier rubyid_captured_binding_infos'>captured_binding_infos</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_output_format'>output_format</span> <span class='op'>=</span> <span class='id identifier rubyid_get_default_format_for_environment'>get_default_format_for_environment</span><span class='rparen'>)</span>
|
2296
2262
|
<span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_captured_binding_infos'>captured_binding_infos</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_captured_binding_infos'>captured_binding_infos</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
@@ -2331,27 +2297,27 @@
|
|
2331
2297
|
<pre class="lines">
|
2332
2298
|
|
2333
2299
|
|
2300
|
+
488
|
2301
|
+
489
|
2302
|
+
490
|
2303
|
+
491
|
2304
|
+
492
|
2305
|
+
493
|
2306
|
+
494
|
2307
|
+
495
|
2308
|
+
496
|
2309
|
+
497
|
2310
|
+
498
|
2311
|
+
499
|
2312
|
+
500
|
2313
|
+
501
|
2314
|
+
502
|
2334
2315
|
503
|
2335
2316
|
504
|
2336
|
-
505
|
2337
|
-
506
|
2338
|
-
507
|
2339
|
-
508
|
2340
|
-
509
|
2341
|
-
510
|
2342
|
-
511
|
2343
|
-
512
|
2344
|
-
513
|
2345
|
-
514
|
2346
|
-
515
|
2347
|
-
516
|
2348
|
-
517
|
2349
|
-
518
|
2350
|
-
519
|
2351
|
-
520</pre>
|
2317
|
+
505</pre>
|
2352
2318
|
</td>
|
2353
2319
|
<td>
|
2354
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2320
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 488</span>
|
2355
2321
|
|
2356
2322
|
<span class='kw'>def</span> <span class='id identifier rubyid_get_default_format_for_environment'>get_default_format_for_environment</span>
|
2357
2323
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2391,16 +2357,16 @@
|
|
2391
2357
|
<pre class="lines">
|
2392
2358
|
|
2393
2359
|
|
2394
|
-
161
|
2395
|
-
162
|
2396
|
-
163
|
2397
2360
|
164
|
2398
2361
|
165
|
2399
2362
|
166
|
2400
|
-
167
|
2363
|
+
167
|
2364
|
+
168
|
2365
|
+
169
|
2366
|
+
170</pre>
|
2401
2367
|
</td>
|
2402
2368
|
<td>
|
2403
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2369
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 164</span>
|
2404
2370
|
|
2405
2371
|
<span class='kw'>def</span> <span class='id identifier rubyid_increment_capture_events_count'>increment_capture_events_count</span>
|
2406
2372
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2451,12 +2417,12 @@
|
|
2451
2417
|
<pre class="lines">
|
2452
2418
|
|
2453
2419
|
|
2454
|
-
|
2455
|
-
|
2456
|
-
|
2420
|
+
291
|
2421
|
+
292
|
2422
|
+
293</pre>
|
2457
2423
|
</td>
|
2458
2424
|
<td>
|
2459
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2425
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 291</span>
|
2460
2426
|
|
2461
2427
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_a_minitest?'>is_a_minitest?</span><span class='lparen'>(</span><span class='id identifier rubyid_klass'>klass</span><span class='rparen'>)</span>
|
2462
2428
|
<span class='id identifier rubyid_klass'>klass</span><span class='period'>.</span><span class='id identifier rubyid_ancestors'>ancestors</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Minitest.html" title="Minitest (module)">Minitest</a></span></span><span class='op'>::</span><span class='const'>Test</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_klass'>klass</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Minitest::Test</span><span class='tstring_end'>'</span></span>
|
@@ -2503,12 +2469,12 @@
|
|
2503
2469
|
<pre class="lines">
|
2504
2470
|
|
2505
2471
|
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2472
|
+
325
|
2473
|
+
326
|
2474
|
+
327</pre>
|
2509
2475
|
</td>
|
2510
2476
|
<td>
|
2511
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2477
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 325</span>
|
2512
2478
|
|
2513
2479
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_rspec_example?'>is_rspec_example?</span><span class='lparen'>(</span><span class='id identifier rubyid_tracepoint'>tracepoint</span><span class='rparen'>)</span>
|
2514
2480
|
<span class='id identifier rubyid_tracepoint'>tracepoint</span><span class='period'>.</span><span class='id identifier rubyid_method_id'>method_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>&&</span> <span class='op'>!</span><span class='lparen'>(</span><span class='id identifier rubyid_tracepoint'>tracepoint</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>rspec</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_tracepoint'>tracepoint</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_end_with?'>end_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_spec.rb</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -2563,14 +2529,14 @@
|
|
2563
2529
|
<pre class="lines">
|
2564
2530
|
|
2565
2531
|
|
2566
|
-
|
2567
|
-
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2532
|
+
143
|
2533
|
+
144
|
2534
|
+
145
|
2535
|
+
146
|
2536
|
+
147</pre>
|
2571
2537
|
</td>
|
2572
2538
|
<td>
|
2573
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2539
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 143</span>
|
2574
2540
|
|
2575
2541
|
<span class='kw'>def</span> <span class='id identifier rubyid_max_capture_events='>max_capture_events=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
2576
2542
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2583,9 +2549,9 @@
|
|
2583
2549
|
</div>
|
2584
2550
|
|
2585
2551
|
<div class="method_details ">
|
2586
|
-
<h3 class="signature " id="
|
2552
|
+
<h3 class="signature " id="max_capture_length-class_method">
|
2587
2553
|
|
2588
|
-
.<strong>
|
2554
|
+
.<strong>max_capture_length</strong> ⇒ <tt>Object</tt>
|
2589
2555
|
|
2590
2556
|
|
2591
2557
|
|
@@ -2597,29 +2563,45 @@
|
|
2597
2563
|
<pre class="lines">
|
2598
2564
|
|
2599
2565
|
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
185
|
2604
|
-
186
|
2605
|
-
187
|
2606
|
-
188
|
2607
|
-
189
|
2608
|
-
190
|
2609
|
-
191</pre>
|
2566
|
+
135
|
2567
|
+
136
|
2568
|
+
137</pre>
|
2610
2569
|
</td>
|
2611
2570
|
<td>
|
2612
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2571
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 135</span>
|
2613
2572
|
|
2614
|
-
<span class='kw'>def</span> <span class='id identifier
|
2615
|
-
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='
|
2616
|
-
|
2617
|
-
|
2618
|
-
|
2619
|
-
|
2620
|
-
|
2621
|
-
|
2622
|
-
|
2573
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_max_capture_length'>max_capture_length</span>
|
2574
|
+
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='lbrace'>{</span> <span class='ivar'>@max_capture_length</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="#DEFAULT_MAX_CAPTURE_LENGTH-constant" title="EnhancedErrors::DEFAULT_MAX_CAPTURE_LENGTH (constant)">DEFAULT_MAX_CAPTURE_LENGTH</a></span></span> <span class='rbrace'>}</span>
|
2575
|
+
<span class='kw'>end</span></pre>
|
2576
|
+
</td>
|
2577
|
+
</tr>
|
2578
|
+
</table>
|
2579
|
+
</div>
|
2580
|
+
|
2581
|
+
<div class="method_details ">
|
2582
|
+
<h3 class="signature " id="max_capture_length=-class_method">
|
2583
|
+
|
2584
|
+
.<strong>max_capture_length=</strong>(val) ⇒ <tt>Object</tt>
|
2585
|
+
|
2586
|
+
|
2587
|
+
|
2588
|
+
|
2589
|
+
|
2590
|
+
</h3><table class="source_code">
|
2591
|
+
<tr>
|
2592
|
+
<td>
|
2593
|
+
<pre class="lines">
|
2594
|
+
|
2595
|
+
|
2596
|
+
139
|
2597
|
+
140
|
2598
|
+
141</pre>
|
2599
|
+
</td>
|
2600
|
+
<td>
|
2601
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 139</span>
|
2602
|
+
|
2603
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_max_capture_length='>max_capture_length=</span><span class='lparen'>(</span><span class='id identifier rubyid_val'>val</span><span class='rparen'>)</span>
|
2604
|
+
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='lbrace'>{</span> <span class='ivar'>@max_capture_length</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='rbrace'>}</span>
|
2623
2605
|
<span class='kw'>end</span></pre>
|
2624
2606
|
</td>
|
2625
2607
|
</tr>
|
@@ -2671,18 +2653,18 @@
|
|
2671
2653
|
<pre class="lines">
|
2672
2654
|
|
2673
2655
|
|
2674
|
-
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2656
|
+
428
|
2657
|
+
429
|
2658
|
+
430
|
2659
|
+
431
|
2660
|
+
432
|
2661
|
+
433
|
2662
|
+
434
|
2663
|
+
435
|
2664
|
+
436</pre>
|
2683
2665
|
</td>
|
2684
2666
|
<td>
|
2685
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2667
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 428</span>
|
2686
2668
|
|
2687
2669
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_capture'>on_capture</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
2688
2670
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2713,14 +2695,14 @@
|
|
2713
2695
|
<pre class="lines">
|
2714
2696
|
|
2715
2697
|
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
2698
|
+
438
|
2699
|
+
439
|
2700
|
+
440
|
2701
|
+
441
|
2702
|
+
442</pre>
|
2721
2703
|
</td>
|
2722
2704
|
<td>
|
2723
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2705
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 438</span>
|
2724
2706
|
|
2725
2707
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_capture='>on_capture=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
2726
2708
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2747,18 +2729,18 @@
|
|
2747
2729
|
<pre class="lines">
|
2748
2730
|
|
2749
2731
|
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2732
|
+
444
|
2733
|
+
445
|
2734
|
+
446
|
2735
|
+
447
|
2736
|
+
448
|
2737
|
+
449
|
2738
|
+
450
|
2739
|
+
451
|
2740
|
+
452</pre>
|
2759
2741
|
</td>
|
2760
2742
|
<td>
|
2761
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2743
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 444</span>
|
2762
2744
|
|
2763
2745
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_format'>on_format</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
2764
2746
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2789,14 +2771,14 @@
|
|
2789
2771
|
<pre class="lines">
|
2790
2772
|
|
2791
2773
|
|
2792
|
-
|
2793
|
-
|
2794
|
-
|
2795
|
-
|
2796
|
-
|
2774
|
+
454
|
2775
|
+
455
|
2776
|
+
456
|
2777
|
+
457
|
2778
|
+
458</pre>
|
2797
2779
|
</td>
|
2798
2780
|
<td>
|
2799
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2781
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 454</span>
|
2800
2782
|
|
2801
2783
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_format='>on_format=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
2802
2784
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -2823,45 +2805,37 @@
|
|
2823
2805
|
<pre class="lines">
|
2824
2806
|
|
2825
2807
|
|
2808
|
+
205
|
2809
|
+
206
|
2810
|
+
207
|
2811
|
+
208
|
2812
|
+
209
|
2813
|
+
210
|
2814
|
+
211
|
2826
2815
|
212
|
2827
2816
|
213
|
2828
2817
|
214
|
2829
2818
|
215
|
2830
2819
|
216
|
2831
2820
|
217
|
2832
|
-
218
|
2833
|
-
219
|
2834
|
-
220
|
2835
|
-
221
|
2836
|
-
222
|
2837
|
-
223
|
2838
|
-
224
|
2839
|
-
225
|
2840
|
-
226
|
2841
|
-
227
|
2842
|
-
228
|
2843
|
-
229</pre>
|
2821
|
+
218</pre>
|
2844
2822
|
</td>
|
2845
2823
|
<td>
|
2846
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2824
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 205</span>
|
2847
2825
|
|
2848
2826
|
<span class='kw'>def</span> <span class='id identifier rubyid_override_exception_message'>override_exception_message</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='comma'>,</span> <span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='rparen'>)</span>
|
2849
|
-
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_exception'>exception</span>
|
2850
|
-
<span class='id identifier
|
2827
|
+
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_exception'>exception</span> <span class='op'>&&</span> <span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:message</span><span class='rparen'>)</span>
|
2828
|
+
<span class='id identifier rubyid_test_binding'>test_binding</span> <span class='op'>=</span> <span class='op'>!</span><span class='lparen'>(</span><span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span><span class='rparen'>)</span>
|
2851
2829
|
<span class='id identifier rubyid_exception_binding'>exception_binding</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_binding_infos'>binding_infos</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>></span> <span class='int'>0</span><span class='rparen'>)</span>
|
2852
2830
|
<span class='id identifier rubyid_has_message'>has_message</span> <span class='op'>=</span> <span class='op'>!</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:unaltered_message</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
2853
|
-
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='lparen'>(</span><span class='id identifier
|
2831
|
+
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='lparen'>(</span><span class='id identifier rubyid_test_binding'>test_binding</span> <span class='op'>||</span> <span class='id identifier rubyid_exception_binding'>exception_binding</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_has_message'>has_message</span>
|
2854
2832
|
|
2855
2833
|
<span class='id identifier rubyid_variable_str'>variable_str</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="EnhancedErrors (class)">EnhancedErrors</a></span></span><span class='period'>.</span><span class='id identifier rubyid_format'><span class='object_link'><a href="#format-class_method" title="EnhancedErrors.format (method)">format</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='rparen'>)</span>
|
2856
2834
|
<span class='id identifier rubyid_message_str'>message_str</span> <span class='op'>=</span> <span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
|
2857
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:captured_variables</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='op'>!</span><span class='id identifier rubyid_message_str'>message_str</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_captured_variables'>captured_variables</span><span class='rparen'>)</span>
|
2858
|
-
<span class='id identifier rubyid_message_str'>message_str</span> <span class='op'>+=</span> <span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_captured_variables'>captured_variables</span>
|
2859
|
-
<span class='kw'>end</span>
|
2860
2835
|
<span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_define_singleton_method'>define_singleton_method</span><span class='lparen'>(</span><span class='symbol'>:unaltered_message</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_message_str'>message_str</span> <span class='rbrace'>}</span>
|
2861
2836
|
<span class='id identifier rubyid_exception'>exception</span><span class='period'>.</span><span class='id identifier rubyid_define_singleton_method'>define_singleton_method</span><span class='lparen'>(</span><span class='symbol'>:message</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
2862
2837
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message_str'>message_str</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_variable_str'>variable_str</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
2863
2838
|
<span class='kw'>end</span>
|
2864
|
-
<span class='id identifier rubyid_exception'>exception</span>
|
2865
2839
|
<span class='kw'>end</span></pre>
|
2866
2840
|
</td>
|
2867
2841
|
</tr>
|
@@ -2883,21 +2857,22 @@
|
|
2883
2857
|
<pre class="lines">
|
2884
2858
|
|
2885
2859
|
|
2860
|
+
191
|
2861
|
+
192
|
2862
|
+
193
|
2863
|
+
194
|
2864
|
+
195
|
2865
|
+
196
|
2866
|
+
197
|
2867
|
+
198
|
2886
2868
|
199
|
2887
2869
|
200
|
2888
2870
|
201
|
2889
2871
|
202
|
2890
|
-
203
|
2891
|
-
204
|
2892
|
-
205
|
2893
|
-
206
|
2894
|
-
207
|
2895
|
-
208
|
2896
|
-
209
|
2897
|
-
210</pre>
|
2872
|
+
203</pre>
|
2898
2873
|
</td>
|
2899
2874
|
<td>
|
2900
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2875
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 191</span>
|
2901
2876
|
|
2902
2877
|
<span class='kw'>def</span> <span class='id identifier rubyid_override_rspec_message'>override_rspec_message</span><span class='lparen'>(</span><span class='id identifier rubyid_example'>example</span><span class='comma'>,</span> <span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='rparen'>)</span>
|
2903
2878
|
<span class='id identifier rubyid_exception_obj'>exception_obj</span> <span class='op'>=</span> <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_exception'>exception</span>
|
@@ -2905,11 +2880,12 @@
|
|
2905
2880
|
<span class='kw'>when</span> <span class='kw'>nil</span>
|
2906
2881
|
<span class='kw'>return</span> <span class='kw'>nil</span>
|
2907
2882
|
<span class='kw'>when</span> <span class='const'>RSpec</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>MultipleExceptionError</span>
|
2908
|
-
<span class='id identifier
|
2883
|
+
<span class='id identifier rubyid_exception_obj'>exception_obj</span><span class='period'>.</span><span class='id identifier rubyid_all_exceptions'>all_exceptions</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_exception'>exception</span><span class='op'>|</span>
|
2884
|
+
<span class='id identifier rubyid_override_exception_message'>override_exception_message</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='comma'>,</span> <span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='rparen'>)</span>
|
2885
|
+
<span class='kw'>end</span>
|
2909
2886
|
<span class='kw'>else</span>
|
2910
2887
|
<span class='id identifier rubyid_override_exception_message'>override_exception_message</span><span class='lparen'>(</span><span class='id identifier rubyid_exception_obj'>exception_obj</span><span class='comma'>,</span> <span class='id identifier rubyid_binding_or_bindings'>binding_or_bindings</span><span class='rparen'>)</span>
|
2911
2888
|
<span class='kw'>end</span>
|
2912
|
-
|
2913
2889
|
<span class='kw'>end</span></pre>
|
2914
2890
|
</td>
|
2915
2891
|
</tr>
|
@@ -2931,9 +2907,6 @@
|
|
2931
2907
|
<pre class="lines">
|
2932
2908
|
|
2933
2909
|
|
2934
|
-
169
|
2935
|
-
170
|
2936
|
-
171
|
2937
2910
|
172
|
2938
2911
|
173
|
2939
2912
|
174
|
@@ -2942,10 +2915,13 @@
|
|
2942
2915
|
177
|
2943
2916
|
178
|
2944
2917
|
179
|
2945
|
-
180
|
2918
|
+
180
|
2919
|
+
181
|
2920
|
+
182
|
2921
|
+
183</pre>
|
2946
2922
|
</td>
|
2947
2923
|
<td>
|
2948
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2924
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 172</span>
|
2949
2925
|
|
2950
2926
|
<span class='kw'>def</span> <span class='id identifier rubyid_reset!'>reset!</span>
|
2951
2927
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -3001,24 +2977,24 @@
|
|
3001
2977
|
<pre class="lines">
|
3002
2978
|
|
3003
2979
|
|
3004
|
-
|
3005
|
-
|
3006
|
-
|
3007
|
-
|
3008
|
-
|
3009
|
-
|
3010
|
-
|
3011
|
-
|
3012
|
-
|
3013
|
-
|
3014
|
-
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
2980
|
+
507
|
2981
|
+
508
|
2982
|
+
509
|
2983
|
+
510
|
2984
|
+
511
|
2985
|
+
512
|
2986
|
+
513
|
2987
|
+
514
|
2988
|
+
515
|
2989
|
+
516
|
2990
|
+
517
|
2991
|
+
518
|
2992
|
+
519
|
2993
|
+
520
|
2994
|
+
521</pre>
|
3019
2995
|
</td>
|
3020
2996
|
<td>
|
3021
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
2997
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 507</span>
|
3022
2998
|
|
3023
2999
|
<span class='kw'>def</span> <span class='id identifier rubyid_running_in_ci?'>running_in_ci?</span>
|
3024
3000
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -3055,19 +3031,19 @@
|
|
3055
3031
|
<pre class="lines">
|
3056
3032
|
|
3057
3033
|
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3062
|
-
|
3063
|
-
|
3064
|
-
|
3065
|
-
|
3066
|
-
|
3067
|
-
|
3034
|
+
280
|
3035
|
+
281
|
3036
|
+
282
|
3037
|
+
283
|
3038
|
+
284
|
3039
|
+
285
|
3040
|
+
286
|
3041
|
+
287
|
3042
|
+
288
|
3043
|
+
289</pre>
|
3068
3044
|
</td>
|
3069
3045
|
<td>
|
3070
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3046
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 280</span>
|
3071
3047
|
|
3072
3048
|
<span class='kw'>def</span> <span class='id identifier rubyid_safe_prepend_module'>safe_prepend_module</span><span class='lparen'>(</span><span class='id identifier rubyid_target_class'>target_class</span><span class='comma'>,</span> <span class='id identifier rubyid_mod'>mod</span><span class='rparen'>)</span>
|
3073
3049
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -3099,14 +3075,14 @@
|
|
3099
3075
|
<pre class="lines">
|
3100
3076
|
|
3101
3077
|
|
3102
|
-
|
3103
|
-
|
3104
|
-
|
3105
|
-
|
3106
|
-
|
3078
|
+
185
|
3079
|
+
186
|
3080
|
+
187
|
3081
|
+
188
|
3082
|
+
189</pre>
|
3107
3083
|
</td>
|
3108
3084
|
<td>
|
3109
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3085
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 185</span>
|
3110
3086
|
|
3111
3087
|
<span class='kw'>def</span> <span class='id identifier rubyid_skip_list'>skip_list</span>
|
3112
3088
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
@@ -3133,30 +3109,28 @@
|
|
3133
3109
|
<pre class="lines">
|
3134
3110
|
|
3135
3111
|
|
3136
|
-
|
3137
|
-
|
3138
|
-
|
3139
|
-
|
3140
|
-
|
3141
|
-
|
3142
|
-
|
3143
|
-
|
3144
|
-
|
3145
|
-
|
3146
|
-
|
3147
|
-
317</pre>
|
3112
|
+
295
|
3113
|
+
296
|
3114
|
+
297
|
3115
|
+
298
|
3116
|
+
299
|
3117
|
+
300
|
3118
|
+
301
|
3119
|
+
302
|
3120
|
+
303
|
3121
|
+
304
|
3122
|
+
305</pre>
|
3148
3123
|
</td>
|
3149
3124
|
<td>
|
3150
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3125
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 295</span>
|
3151
3126
|
|
3152
3127
|
<span class='kw'>def</span> <span class='id identifier rubyid_start_minitest_binding_capture'>start_minitest_binding_capture</span>
|
3153
|
-
<span class='
|
3128
|
+
<span class='const'><span class='object_link'><a href="EnhancedExceptionContext.html" title="EnhancedExceptionContext (module)">EnhancedExceptionContext</a></span></span><span class='period'>.</span><span class='id identifier rubyid_clear_all'><span class='object_link'><a href="EnhancedExceptionContext.html#clear_all-instance_method" title="EnhancedExceptionContext#clear_all (method)">clear_all</a></span></span>
|
3154
3129
|
<span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@enabled</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
3155
3130
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
3156
3131
|
<span class='ivar'>@minitest_trace</span> <span class='op'>=</span> <span class='const'>TracePoint</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:return</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tp'>tp</span><span class='op'>|</span>
|
3157
3132
|
<span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_tp'>tp</span><span class='period'>.</span><span class='id identifier rubyid_method_id'>method_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test_</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_is_a_minitest?'>is_a_minitest?</span><span class='lparen'>(</span><span class='id identifier rubyid_tp'>tp</span><span class='period'>.</span><span class='id identifier rubyid_defined_class'>defined_class</span><span class='rparen'>)</span>
|
3158
3133
|
<span class='ivar'>@minitest_test_binding</span> <span class='op'>=</span> <span class='id identifier rubyid_tp'>tp</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span>
|
3159
|
-
<span class='id identifier rubyid_increment_capture_events_count'>increment_capture_events_count</span>
|
3160
3134
|
<span class='kw'>end</span>
|
3161
3135
|
<span class='ivar'>@minitest_trace</span><span class='period'>.</span><span class='id identifier rubyid_enable'>enable</span>
|
3162
3136
|
<span class='kw'>end</span>
|
@@ -3181,6 +3155,18 @@
|
|
3181
3155
|
<pre class="lines">
|
3182
3156
|
|
3183
3157
|
|
3158
|
+
329
|
3159
|
+
330
|
3160
|
+
331
|
3161
|
+
332
|
3162
|
+
333
|
3163
|
+
334
|
3164
|
+
335
|
3165
|
+
336
|
3166
|
+
337
|
3167
|
+
338
|
3168
|
+
339
|
3169
|
+
340
|
3184
3170
|
341
|
3185
3171
|
342
|
3186
3172
|
343
|
@@ -3203,28 +3189,12 @@
|
|
3203
3189
|
360
|
3204
3190
|
361
|
3205
3191
|
362
|
3206
|
-
363
|
3207
|
-
364
|
3208
|
-
365
|
3209
|
-
366
|
3210
|
-
367
|
3211
|
-
368
|
3212
|
-
369
|
3213
|
-
370
|
3214
|
-
371
|
3215
|
-
372
|
3216
|
-
373
|
3217
|
-
374
|
3218
|
-
375
|
3219
|
-
376
|
3220
|
-
377
|
3221
|
-
378</pre>
|
3192
|
+
363</pre>
|
3222
3193
|
</td>
|
3223
3194
|
<td>
|
3224
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3195
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 329</span>
|
3225
3196
|
|
3226
3197
|
<span class='kw'>def</span> <span class='id identifier rubyid_start_rspec_binding_capture'>start_rspec_binding_capture</span>
|
3227
|
-
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_enforce_capture_limit'>enforce_capture_limit</span>
|
3228
3198
|
<span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@enabled</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
3229
3199
|
<span class='id identifier rubyid_mutex'>mutex</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
3230
3200
|
<span class='ivar'>@rspec_example_binding</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -3242,10 +3212,8 @@
|
|
3242
3212
|
<span class='kw'>next</span>
|
3243
3213
|
<span class='kw'>end</span>
|
3244
3214
|
<span class='kw'>next</span> <span class='kw'>unless</span> <span class='ivar'>@capture_next_binding</span>
|
3245
|
-
|
3246
3215
|
<span class='kw'>if</span> <span class='ivar'>@capture_next_binding</span> <span class='op'>==</span> <span class='symbol'>:next</span> <span class='op'>||</span> <span class='ivar'>@capture_next_binding</span> <span class='op'>==</span> <span class='symbol'>:next_matching</span> <span class='op'>&&</span> <span class='id identifier rubyid_is_rspec_example?'>is_rspec_example?</span><span class='lparen'>(</span><span class='id identifier rubyid_tp'>tp</span><span class='rparen'>)</span>
|
3247
3216
|
<span class='ivar'>@capture_next_binding</span> <span class='op'>=</span> <span class='kw'>false</span>
|
3248
|
-
<span class='id identifier rubyid_increment_capture_events_count'>increment_capture_events_count</span>
|
3249
3217
|
<span class='ivar'>@rspec_example_binding</span> <span class='op'>=</span> <span class='id identifier rubyid_tp'>tp</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span>
|
3250
3218
|
<span class='kw'>end</span>
|
3251
3219
|
<span class='kw'>elsif</span> <span class='id identifier rubyid_tp'>tp</span><span class='period'>.</span><span class='id identifier rubyid_event'>event</span> <span class='op'>==</span> <span class='symbol'>:raise</span>
|
@@ -3281,17 +3249,17 @@
|
|
3281
3249
|
<pre class="lines">
|
3282
3250
|
|
3283
3251
|
|
3284
|
-
|
3285
|
-
|
3286
|
-
|
3287
|
-
|
3288
|
-
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3252
|
+
307
|
3253
|
+
308
|
3254
|
+
309
|
3255
|
+
310
|
3256
|
+
311
|
3257
|
+
312
|
3258
|
+
313
|
3259
|
+
314</pre>
|
3292
3260
|
</td>
|
3293
3261
|
<td>
|
3294
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3262
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 307</span>
|
3295
3263
|
|
3296
3264
|
<span class='kw'>def</span> <span class='id identifier rubyid_stop_minitest_binding_capture'>stop_minitest_binding_capture</span>
|
3297
3265
|
<span class='id identifier rubyid_disable_capturing!'>disable_capturing!</span> <span class='kw'>if</span> <span class='id identifier rubyid_capture_limit_exceeded?'>capture_limit_exceeded?</span>
|
@@ -3321,20 +3289,20 @@
|
|
3321
3289
|
<pre class="lines">
|
3322
3290
|
|
3323
3291
|
|
3324
|
-
|
3325
|
-
|
3326
|
-
|
3327
|
-
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3332
|
-
|
3333
|
-
|
3334
|
-
|
3292
|
+
365
|
3293
|
+
366
|
3294
|
+
367
|
3295
|
+
368
|
3296
|
+
369
|
3297
|
+
370
|
3298
|
+
371
|
3299
|
+
372
|
3300
|
+
373
|
3301
|
+
374
|
3302
|
+
375</pre>
|
3335
3303
|
</td>
|
3336
3304
|
<td>
|
3337
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3305
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 365</span>
|
3338
3306
|
|
3339
3307
|
<span class='kw'>def</span> <span class='id identifier rubyid_stop_rspec_binding_capture'>stop_rspec_binding_capture</span>
|
3340
3308
|
<span class='id identifier rubyid_disable_capturing!'>disable_capturing!</span> <span class='kw'>if</span> <span class='id identifier rubyid_capture_limit_exceeded?'>capture_limit_exceeded?</span>
|
@@ -3344,7 +3312,7 @@
|
|
3344
3312
|
<span class='id identifier rubyid_binding_info'>binding_info</span> <span class='op'>=</span> <span class='id identifier rubyid_convert_binding_to_binding_info'>convert_binding_to_binding_info</span><span class='lparen'>(</span><span class='ivar'>@rspec_example_binding</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='ivar'>@rspec_example_binding</span>
|
3345
3313
|
<span class='ivar'>@capture_next_binding</span> <span class='op'>=</span> <span class='kw'>false</span>
|
3346
3314
|
<span class='ivar'>@rspec_example_binding</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
3347
|
-
<span class='id identifier rubyid_binding_info'>binding_info</span>
|
3315
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_binding_info'>binding_info</span>
|
3348
3316
|
<span class='kw'>end</span>
|
3349
3317
|
<span class='kw'>end</span></pre>
|
3350
3318
|
</td>
|
@@ -3367,15 +3335,15 @@
|
|
3367
3335
|
<pre class="lines">
|
3368
3336
|
|
3369
3337
|
|
3370
|
-
|
3371
|
-
|
3372
|
-
|
3373
|
-
|
3374
|
-
|
3375
|
-
|
3338
|
+
535
|
3339
|
+
536
|
3340
|
+
537
|
3341
|
+
538
|
3342
|
+
539
|
3343
|
+
540</pre>
|
3376
3344
|
</td>
|
3377
3345
|
<td>
|
3378
|
-
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line
|
3346
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced_errors.rb', line 535</span>
|
3379
3347
|
|
3380
3348
|
<span class='kw'>def</span> <span class='id identifier rubyid_validate_binding_format'>validate_binding_format</span><span class='lparen'>(</span><span class='id identifier rubyid_binding_info'>binding_info</span><span class='rparen'>)</span>
|
3381
3349
|
<span class='kw'>unless</span> <span class='id identifier rubyid_binding_info'>binding_info</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='symbol'>:capture_event</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_binding_info'>binding_info</span><span class='lbracket'>[</span><span class='symbol'>:variables</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
|
@@ -3393,7 +3361,7 @@
|
|
3393
3361
|
</div>
|
3394
3362
|
|
3395
3363
|
<div id="footer">
|
3396
|
-
Generated on
|
3364
|
+
Generated on Tue Dec 17 15:42:48 2024 by
|
3397
3365
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
3398
3366
|
0.9.37 (ruby-3.3.6).
|
3399
3367
|
</div>
|