mangrove 0.31.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +107 -43
  3. data/lib/mangrove/result.rb +50 -0
  4. data/lib/mangrove/version.rb +1 -1
  5. data/sorbet/config +1 -0
  6. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  7. data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
  8. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +2 -1
  9. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +26 -17
  10. data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.9.1.rbi} +516 -134
  11. data/sorbet/rbi/gems/logger@1.6.5.rbi +940 -0
  12. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +31 -21
  13. data/sorbet/rbi/gems/{parser@3.3.2.0.rbi → parser@3.3.7.0.rbi} +23 -1736
  14. data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@1.3.0.rbi} +13817 -10401
  15. data/sorbet/rbi/gems/{psych@5.1.2.rbi → psych@5.2.3.rbi} +289 -236
  16. data/sorbet/rbi/gems/{racc@1.8.0.rbi → racc@1.8.1.rbi} +0 -4
  17. data/sorbet/rbi/gems/rbi@0.2.3.rbi +4542 -0
  18. data/sorbet/rbi/gems/rbs@3.8.1.rbi +6882 -0
  19. data/sorbet/rbi/gems/{rdoc@6.7.0.rbi → rdoc@6.11.0.rbi} +1115 -1058
  20. data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +193 -170
  21. data/sorbet/rbi/gems/{rspec-core@3.13.0.rbi → rspec-core@3.13.2.rbi} +146 -280
  22. data/sorbet/rbi/gems/{rspec-expectations@3.13.0.rbi → rspec-expectations@3.13.3.rbi} +323 -294
  23. data/sorbet/rbi/gems/{rspec-mocks@3.13.1.rbi → rspec-mocks@3.13.2.rbi} +46 -46
  24. data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +22 -22
  25. data/sorbet/rbi/gems/ruboclean@0.7.1.rbi +473 -0
  26. data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.37.0.rbi} +1293 -745
  27. data/sorbet/rbi/gems/{rubocop-rspec@2.30.0.rbi → rubocop-rspec@3.4.0.rbi} +341 -1073
  28. data/sorbet/rbi/gems/{rubocop@1.64.1.rbi → rubocop@1.70.0.rbi} +5693 -3796
  29. data/sorbet/rbi/gems/{simplecov-html@0.12.3.rbi → simplecov-html@0.13.1.rbi} +77 -68
  30. data/sorbet/rbi/gems/{spoom@1.3.2.rbi → spoom@1.5.1.rbi} +2306 -1701
  31. data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.2.rbi} +1 -0
  32. data/sorbet/rbi/gems/{tapioca@0.14.3.rbi → tapioca@0.16.8.rbi} +411 -332
  33. data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +57 -31
  34. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  35. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  36. data/sorbet/rbi/gems/{webrick@1.8.1.rbi → webrick@1.9.1.rbi} +92 -72
  37. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  38. data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +393 -235
  39. metadata +39 -42
  40. data/sorbet/rbi/gems/rbi@0.1.13.rbi +0 -3078
  41. data/sorbet/rbi/gems/rexml@3.2.8.rbi +0 -4794
  42. data/sorbet/rbi/gems/ruboclean@0.6.0.rbi +0 -315
  43. data/sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi +0 -1208
  44. data/sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi +0 -928
  45. data/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +0 -911
  46. data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
  47. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
  48. /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
  49. /data/sorbet/rbi/gems/{reline@0.5.8.rbi → reline@0.6.0.rbi} +0 -0
  50. /data/sorbet/rbi/gems/{ruby-lsp@0.17.2.rbi → ruby-lsp@0.23.6.rbi} +0 -0
@@ -11,70 +11,70 @@
11
11
  # source://rspec-expectations//lib/rspec/matchers/english_phrasing.rb#1
12
12
  module RSpec
13
13
  class << self
14
- # source://rspec-core/3.13.0/lib/rspec/core.rb#70
14
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#70
15
15
  def clear_examples; end
16
16
 
17
- # source://rspec-core/3.13.0/lib/rspec/core.rb#85
17
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#85
18
18
  def configuration; end
19
19
 
20
- # source://rspec-core/3.13.0/lib/rspec/core.rb#49
20
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#49
21
21
  def configuration=(_arg0); end
22
22
 
23
- # source://rspec-core/3.13.0/lib/rspec/core.rb#97
23
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#97
24
24
  def configure; end
25
25
 
26
- # source://rspec-core/3.13.0/lib/rspec/core.rb#194
26
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#194
27
27
  def const_missing(name); end
28
28
 
29
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
29
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
30
30
  def context(*args, &example_group_block); end
31
31
 
32
- # source://rspec-core/3.13.0/lib/rspec/core.rb#122
32
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#122
33
33
  def current_example; end
34
34
 
35
- # source://rspec-core/3.13.0/lib/rspec/core.rb#128
35
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#128
36
36
  def current_example=(example); end
37
37
 
38
- # source://rspec-core/3.13.0/lib/rspec/core.rb#154
38
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#154
39
39
  def current_scope; end
40
40
 
41
- # source://rspec-core/3.13.0/lib/rspec/core.rb#134
41
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#134
42
42
  def current_scope=(scope); end
43
43
 
44
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
44
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
45
45
  def describe(*args, &example_group_block); end
46
46
 
47
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
47
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
48
48
  def example_group(*args, &example_group_block); end
49
49
 
50
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
50
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
51
51
  def fcontext(*args, &example_group_block); end
52
52
 
53
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
53
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
54
54
  def fdescribe(*args, &example_group_block); end
55
55
 
56
- # source://rspec-core/3.13.0/lib/rspec/core.rb#58
56
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#58
57
57
  def reset; end
58
58
 
59
- # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
59
+ # source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
60
60
  def shared_context(name, *args, &block); end
61
61
 
62
- # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
62
+ # source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
63
63
  def shared_examples(name, *args, &block); end
64
64
 
65
- # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
65
+ # source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
66
66
  def shared_examples_for(name, *args, &block); end
67
67
 
68
- # source://rspec-core/3.13.0/lib/rspec/core.rb#160
68
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#160
69
69
  def world; end
70
70
 
71
- # source://rspec-core/3.13.0/lib/rspec/core.rb#49
71
+ # source://rspec-core/3.13.2/lib/rspec/core.rb#49
72
72
  def world=(_arg0); end
73
73
 
74
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
74
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
75
75
  def xcontext(*args, &example_group_block); end
76
76
 
77
- # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
77
+ # source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
78
78
  def xdescribe(*args, &example_group_block); end
79
79
  end
80
80
  end
@@ -128,7 +128,7 @@ module RSpec::Expectations
128
128
  #
129
129
  # @return [RSpec::Expectations::Configuration] the configuration object
130
130
  #
131
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#223
131
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#228
132
132
  def configuration; end
133
133
 
134
134
  # @private
@@ -208,13 +208,13 @@ class RSpec::Expectations::BlockSnippetExtractor
208
208
 
209
209
  private
210
210
 
211
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#60
211
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#62
212
212
  def beginning_line_number; end
213
213
 
214
214
  # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#39
215
215
  def block_token_extractor; end
216
216
 
217
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#56
217
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#58
218
218
  def file_path; end
219
219
 
220
220
  # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#31
@@ -228,7 +228,7 @@ class RSpec::Expectations::BlockSnippetExtractor
228
228
  # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#44
229
229
  def source; end
230
230
 
231
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#64
231
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#66
232
232
  def source_location; end
233
233
 
234
234
  class << self
@@ -237,14 +237,14 @@ class RSpec::Expectations::BlockSnippetExtractor
237
237
  end
238
238
  end
239
239
 
240
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#70
240
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#72
241
241
  class RSpec::Expectations::BlockSnippetExtractor::AmbiguousTargetError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
242
242
 
243
243
  # Locates target block with node information (semantics), which tokens don't have.
244
244
  #
245
245
  # @private
246
246
  #
247
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#198
247
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
248
248
  class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
249
249
  # Returns the value of attribute beginning_line_number
250
250
  #
@@ -257,10 +257,10 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
257
257
  # @return [Object] the newly set value
258
258
  def beginning_line_number=(_); end
259
259
 
260
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#203
260
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#205
261
261
  def body_content_locations; end
262
262
 
263
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#199
263
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#201
264
264
  def method_call_location; end
265
265
 
266
266
  # Returns the value of attribute method_name
@@ -287,24 +287,24 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
287
287
 
288
288
  private
289
289
 
290
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#216
290
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#218
291
291
  def block_body_node; end
292
292
 
293
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#221
293
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#223
294
294
  def block_wrapper_node; end
295
295
 
296
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#232
296
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#234
297
297
  def candidate_block_wrapper_nodes; end
298
298
 
299
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#241
299
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#243
300
300
  def candidate_method_ident_nodes; end
301
301
 
302
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#209
302
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#211
303
303
  def method_ident_node; end
304
304
 
305
305
  # @return [Boolean]
306
306
  #
307
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#247
307
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#249
308
308
  def method_ident_node?(node); end
309
309
 
310
310
  class << self
@@ -321,11 +321,11 @@ end
321
321
  #
322
322
  # @private
323
323
  #
324
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#75
324
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
325
325
  class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
326
326
  # @return [BlockTokenExtractor] a new instance of BlockTokenExtractor
327
327
  #
328
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#78
328
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#80
329
329
  def initialize(*_arg0); end
330
330
 
331
331
  # Returns the value of attribute beginning_line_number
@@ -341,7 +341,7 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
341
341
 
342
342
  # Returns the value of attribute body_tokens.
343
343
  #
344
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#76
344
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#78
345
345
  def body_tokens; end
346
346
 
347
347
  # Returns the value of attribute method_name
@@ -368,69 +368,69 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
368
368
 
369
369
  # Returns the value of attribute state.
370
370
  #
371
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#76
371
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#78
372
372
  def state; end
373
373
 
374
374
  private
375
375
 
376
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#124
376
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#126
377
377
  def after_beginning_of_args_state(token); end
378
378
 
379
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#128
379
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#130
380
380
  def after_beginning_of_body_state(token); end
381
381
 
382
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#107
382
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#109
383
383
  def after_method_call_state(token); end
384
384
 
385
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#111
385
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#113
386
386
  def after_opener_state(token); end
387
387
 
388
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#191
388
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#193
389
389
  def block_locator; end
390
390
 
391
391
  # @return [Boolean]
392
392
  #
393
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#185
393
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#187
394
394
  def correct_block?(body_tokens); end
395
395
 
396
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#141
396
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#143
397
397
  def finalize_pending_tokens!; end
398
398
 
399
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#95
399
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#97
400
400
  def finish!; end
401
401
 
402
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#147
402
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#149
403
403
  def finish_or_find_next_block_if_incorrect!; end
404
404
 
405
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#168
405
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#170
406
406
  def handle_closer_token(token); end
407
407
 
408
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#158
408
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#160
409
409
  def handle_opener_token(token); end
410
410
 
411
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#103
411
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#105
412
412
  def initial_state(token); end
413
413
 
414
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#99
414
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#101
415
415
  def invoke_state_handler(token); end
416
416
 
417
417
  # @return [Boolean]
418
418
  #
419
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#164
419
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#166
420
420
  def opener_token?(token); end
421
421
 
422
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#177
422
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#179
423
423
  def opener_token_stack; end
424
424
 
425
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#85
425
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#87
426
426
  def parse!; end
427
427
 
428
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#137
428
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#139
429
429
  def pending_tokens; end
430
430
 
431
431
  # @return [Boolean]
432
432
  #
433
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#181
433
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#183
434
434
  def pipe_token?(token); end
435
435
 
436
436
  class << self
@@ -442,10 +442,10 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
442
442
  end
443
443
  end
444
444
 
445
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#68
445
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#70
446
446
  class RSpec::Expectations::BlockSnippetExtractor::Error < ::StandardError; end
447
447
 
448
- # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#69
448
+ # source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#71
449
449
  class RSpec::Expectations::BlockSnippetExtractor::TargetNotFoundError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
450
450
 
451
451
  # Provides configuration options for rspec-expectations.
@@ -471,6 +471,8 @@ class RSpec::Expectations::Configuration
471
471
  # source://rspec-expectations//lib/rspec/expectations/configuration.rb#29
472
472
  def initialize; end
473
473
 
474
+ # :nocov: Because this is only really _useful_ on 1.8, and hard to test elsewhere.
475
+ #
474
476
  # Adds `should` and `should_not` to the given classes
475
477
  # or modules. This can be used to ensure `should` works
476
478
  # properly on things like proxy objects (particular
@@ -479,7 +481,7 @@ class RSpec::Expectations::Configuration
479
481
  # @param modules [Array<Module>] the list of classes or modules
480
482
  # to add `should` and `should_not` to.
481
483
  #
482
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#112
484
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#116
483
485
  def add_should_and_should_not_to(*modules); end
484
486
 
485
487
  # Sets or gets the backtrace formatter. The backtrace formatter should
@@ -491,7 +493,7 @@ class RSpec::Expectations::Configuration
491
493
  # will be used (including respecting the presence or absence of
492
494
  # the `--backtrace` option).
493
495
  #
494
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#129
496
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#134
495
497
  def backtrace_formatter; end
496
498
 
497
499
  # Sets or gets the backtrace formatter. The backtrace formatter should
@@ -503,7 +505,7 @@ class RSpec::Expectations::Configuration
503
505
  # will be used (including respecting the presence or absence of
504
506
  # the `--backtrace` option).
505
507
  #
506
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#128
508
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#133
507
509
  def backtrace_formatter=(_arg0); end
508
510
 
509
511
  # Indicates whether or not diffs should be colored.
@@ -517,7 +519,7 @@ class RSpec::Expectations::Configuration
517
519
 
518
520
  # @private
519
521
  #
520
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#216
522
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#221
521
523
  def false_positives_handler; end
522
524
 
523
525
  # Sets if custom matcher descriptions and failure messages
@@ -525,7 +527,7 @@ class RSpec::Expectations::Configuration
525
527
  #
526
528
  # @param value [Boolean]
527
529
  #
528
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#140
530
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#145
529
531
  def include_chain_clauses_in_custom_matcher_descriptions=(_arg0); end
530
532
 
531
533
  # Indicates whether or not custom matcher descriptions and failure messages
@@ -534,7 +536,7 @@ class RSpec::Expectations::Configuration
534
536
  #
535
537
  # @return [Boolean]
536
538
  #
537
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#145
539
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#150
538
540
  def include_chain_clauses_in_custom_matcher_descriptions?; end
539
541
 
540
542
  # Configures the maximum character length that RSpec will print while
@@ -556,7 +558,7 @@ class RSpec::Expectations::Configuration
556
558
  # potentially cause false positives in tests, generally you want to
557
559
  # avoid such scenarios so this defaults to `true`.
558
560
  #
559
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#206
561
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#211
560
562
  def on_potential_false_positives; end
561
563
 
562
564
  # Configures what RSpec will do about matcher use which will
@@ -564,17 +566,17 @@ class RSpec::Expectations::Configuration
564
566
  #
565
567
  # @param behavior [Symbol] can be set to :warn, :raise or :nothing
566
568
  #
567
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#182
569
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#187
568
570
  def on_potential_false_positives=(behavior); end
569
571
 
570
572
  # @private
571
573
  #
572
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#150
574
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#155
573
575
  def reset_syntaxes_to_default; end
574
576
 
575
577
  # Returns the value of attribute strict_predicate_matchers.
576
578
  #
577
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#197
579
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#202
578
580
  def strict_predicate_matchers; end
579
581
 
580
582
  # Configures RSpec to check predicate matchers to `be(true)` / `be(false)` (strict),
@@ -583,12 +585,12 @@ class RSpec::Expectations::Configuration
583
585
  #
584
586
  # @raise [ArgumentError]
585
587
  #
586
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#192
588
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#197
587
589
  def strict_predicate_matchers=(flag); end
588
590
 
589
591
  # @return [Boolean]
590
592
  #
591
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#199
593
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#204
592
594
  def strict_predicate_matchers?; end
593
595
 
594
596
  # The list of configured syntaxes.
@@ -624,7 +626,7 @@ class RSpec::Expectations::Configuration
624
626
  #
625
627
  # @param boolean [Boolean]
626
628
  #
627
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#168
629
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#173
628
630
  def warn_about_potential_false_positives=(boolean); end
629
631
 
630
632
  # Indicates whether RSpec will warn about matcher use which will
@@ -633,7 +635,7 @@ class RSpec::Expectations::Configuration
633
635
  #
634
636
  # @return [Boolean]
635
637
  #
636
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#211
638
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#216
637
639
  def warn_about_potential_false_positives?; end
638
640
  end
639
641
 
@@ -647,10 +649,10 @@ RSpec::Expectations::Configuration::FALSE_POSITIVE_BEHAVIOURS = T.let(T.unsafe(n
647
649
  #
648
650
  # @api private
649
651
  #
650
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#158
652
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#163
651
653
  module RSpec::Expectations::Configuration::NullBacktraceFormatter
652
654
  class << self
653
- # source://rspec-expectations//lib/rspec/expectations/configuration.rb#159
655
+ # source://rspec-expectations//lib/rspec/expectations/configuration.rb#164
654
656
  def format_backtrace(backtrace); end
655
657
  end
656
658
  end
@@ -663,7 +665,7 @@ module RSpec::Expectations::ExpectationHelper
663
665
  # source://rspec-expectations//lib/rspec/expectations/handler.rb#5
664
666
  def check_message(msg); end
665
667
 
666
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#33
668
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#32
667
669
  def handle_failure(matcher, message, failure_message_method); end
668
670
 
669
671
  # Returns an RSpec-3+ compatible matcher, wrapping a legacy one
@@ -671,10 +673,10 @@ module RSpec::Expectations::ExpectationHelper
671
673
  #
672
674
  # @private
673
675
  #
674
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#19
676
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#18
675
677
  def modern_matcher_from(matcher); end
676
678
 
677
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#24
679
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#23
678
680
  def with_matcher(handler, matcher, message); end
679
681
  end
680
682
  end
@@ -797,10 +799,10 @@ module RSpec::Expectations::ExpectationTarget::UndefinedValue; end
797
799
  class RSpec::Expectations::FailureAggregator
798
800
  # @return [FailureAggregator] a new instance of FailureAggregator
799
801
  #
800
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#90
802
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#97
801
803
  def initialize(block_label, metadata); end
802
804
 
803
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#22
805
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#27
804
806
  def aggregate; end
805
807
 
806
808
  # Returns the value of attribute block_label.
@@ -811,10 +813,10 @@ class RSpec::Expectations::FailureAggregator
811
813
  # This method is defined to satisfy the callable interface
812
814
  # expected by `RSpec::Support.with_failure_notifier`.
813
815
  #
814
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#59
816
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#64
815
817
  def call(failure, options); end
816
818
 
817
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#49
819
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#54
818
820
  def failures; end
819
821
 
820
822
  # Returns the value of attribute metadata.
@@ -822,34 +824,38 @@ class RSpec::Expectations::FailureAggregator
822
824
  # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#5
823
825
  def metadata; end
824
826
 
825
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#53
827
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#58
826
828
  def other_errors; end
827
829
 
828
830
  private
829
831
 
830
832
  # Using `caller` performs better (and is simpler) than `raise` on most Rubies.
831
833
  #
832
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#85
834
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#92
833
835
  def assign_backtrace(failure); end
834
836
 
835
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#96
837
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#103
836
838
  def notify_aggregated_failures; end
837
839
  end
838
840
 
839
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#20
841
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#25
840
842
  RSpec::Expectations::FailureAggregator::AGGREGATED_FAILURE = T.let(T.unsafe(nil), RSpec::Expectations::FailureAggregator::AggregatedFailure)
841
843
 
842
844
  # @private
843
845
  #
844
846
  # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#8
845
847
  class RSpec::Expectations::FailureAggregator::AggregatedFailure
846
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#15
848
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#19
847
849
  def inspect; end
848
850
  end
849
851
 
852
+ # :nocov:
853
+ # `inspect` was apparently used by some versions early in ruby 3 while constructing
854
+ # NoMethodError, but seems to be no longer.
855
+ #
850
856
  # @private
851
857
  #
852
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#10
858
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#14
853
859
  RSpec::Expectations::FailureAggregator::AggregatedFailure::MESSAGE = T.let(T.unsafe(nil), String)
854
860
 
855
861
  # RSpec 3.0 was released with the class name misspelled. For SemVer compatibility,
@@ -858,7 +864,7 @@ RSpec::Expectations::FailureAggregator::AggregatedFailure::MESSAGE = T.let(T.uns
858
864
  # @deprecated Use LegacyMatcherAdapter instead.
859
865
  # @private
860
866
  #
861
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#180
867
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#179
862
868
  RSpec::Expectations::LegacyMacherAdapter = RSpec::Expectations::LegacyMatcherAdapter
863
869
 
864
870
  # Wraps a matcher written against one of the legacy protocols in
@@ -866,15 +872,15 @@ RSpec::Expectations::LegacyMacherAdapter = RSpec::Expectations::LegacyMatcherAda
866
872
  #
867
873
  # @private
868
874
  #
869
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#113
875
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#112
870
876
  class RSpec::Expectations::LegacyMatcherAdapter < ::RSpec::Matchers::MatcherDelegator
871
877
  # @return [LegacyMatcherAdapter] a new instance of LegacyMatcherAdapter
872
878
  #
873
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#114
879
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#113
874
880
  def initialize(matcher); end
875
881
 
876
882
  class << self
877
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#124
883
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#123
878
884
  def wrap(matcher); end
879
885
  end
880
886
  end
@@ -885,12 +891,12 @@ end
885
891
  #
886
892
  # @private
887
893
  #
888
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#157
894
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#156
889
895
  class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < ::RSpec::Expectations::LegacyMatcherAdapter
890
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#158
896
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#157
891
897
  def failure_message; end
892
898
 
893
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#162
899
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#161
894
900
  def failure_message_when_negated; end
895
901
 
896
902
  class << self
@@ -900,7 +906,7 @@ class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < ::RSpec::Expectations:
900
906
  #
901
907
  # @return [Boolean]
902
908
  #
903
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#169
909
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#168
904
910
  def interface_matches?(matcher); end
905
911
  end
906
912
  end
@@ -912,18 +918,18 @@ end
912
918
  #
913
919
  # @private
914
920
  #
915
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#133
921
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#132
916
922
  class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < ::RSpec::Expectations::LegacyMatcherAdapter
917
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#134
923
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#133
918
924
  def failure_message; end
919
925
 
920
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#138
926
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#137
921
927
  def failure_message_when_negated; end
922
928
 
923
929
  class << self
924
930
  # @return [Boolean]
925
931
  #
926
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#142
932
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#141
927
933
  def interface_matches?(matcher); end
928
934
  end
929
935
  end
@@ -939,130 +945,130 @@ end
939
945
  class RSpec::Expectations::MultipleExpectationsNotMetError < ::RSpec::Expectations::ExpectationNotMetError
940
946
  # @return [MultipleExpectationsNotMetError] a new instance of MultipleExpectationsNotMetError
941
947
  #
942
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#153
948
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#160
943
949
  def initialize(failure_aggregator); end
944
950
 
945
951
  # @return [String] The user-assigned label for the aggregation block.
946
952
  #
947
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#128
953
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#135
948
954
  def aggregation_block_label; end
949
955
 
950
956
  # @return [Hash] The metadata hash passed to `aggregate_failures`.
951
957
  #
952
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#133
958
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#140
953
959
  def aggregation_metadata; end
954
960
 
955
961
  # @return [Array<Exception>] The list of expectation failures and other exceptions, combined.
956
962
  #
957
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#125
963
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#132
958
964
  def all_exceptions; end
959
965
 
960
966
  # return [String] A description of the failure/error counts.
961
967
  #
962
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#144
968
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#151
963
969
  def exception_count_description; end
964
970
 
965
971
  # @return [Array<RSpec::Expectations::ExpectationNotMetError>] The list of expectation failures.
966
972
  #
967
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#115
973
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#122
968
974
  def failures; end
969
975
 
970
976
  # @return [String] The fully formatted exception message.
971
977
  #
972
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#110
978
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#117
973
979
  def message; end
974
980
 
975
981
  # @return [Array<Exception>] The list of other exceptions.
976
982
  #
977
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#120
983
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#127
978
984
  def other_errors; end
979
985
 
980
986
  # @return [String] A summary of the failure, including the block label and a count of failures.
981
987
  #
982
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#138
988
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#145
983
989
  def summary; end
984
990
 
985
991
  private
986
992
 
987
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#185
993
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#192
988
994
  def backtrace_line(line); end
989
995
 
990
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#158
996
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#165
991
997
  def block_description; end
992
998
 
993
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#167
999
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#174
994
1000
  def enumerated(exceptions, index_offset); end
995
1001
 
996
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#197
1002
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#204
997
1003
  def enumerated_errors; end
998
1004
 
999
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#193
1005
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#200
1000
1006
  def enumerated_failures; end
1001
1007
 
1002
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#175
1008
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#182
1003
1009
  def exclusion_patterns; end
1004
1010
 
1005
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#181
1011
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#188
1006
1012
  def format_backtrace(backtrace); end
1007
1013
 
1008
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#212
1014
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#219
1009
1015
  def indentation; end
1010
1016
 
1011
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#203
1017
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#210
1012
1018
  def indented(failure_message, index); end
1013
1019
 
1014
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#224
1020
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#231
1015
1021
  def index_label(index); end
1016
1022
 
1017
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#216
1023
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#223
1018
1024
  def longest_index_label_width; end
1019
1025
 
1020
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#163
1026
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#170
1021
1027
  def pluralize(noun, count); end
1022
1028
 
1023
- # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#220
1029
+ # source://rspec-expectations//lib/rspec/expectations/failure_aggregator.rb#227
1024
1030
  def width_of_label(index); end
1025
1031
  end
1026
1032
 
1027
1033
  # @private
1028
1034
  #
1029
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#74
1035
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#73
1030
1036
  class RSpec::Expectations::NegativeExpectationHandler
1031
1037
  class << self
1032
1038
  # @return [Boolean]
1033
1039
  #
1034
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#88
1040
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#87
1035
1041
  def does_not_match?(matcher, actual, &block); end
1036
1042
 
1037
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#75
1043
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#74
1038
1044
  def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
1039
1045
 
1040
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#104
1046
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#103
1041
1047
  def opposite_should_method; end
1042
1048
 
1043
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#100
1049
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#99
1044
1050
  def should_method; end
1045
1051
 
1046
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#96
1052
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#95
1047
1053
  def verb; end
1048
1054
  end
1049
1055
  end
1050
1056
 
1051
1057
  # @private
1052
1058
  #
1053
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#46
1059
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#45
1054
1060
  class RSpec::Expectations::PositiveExpectationHandler
1055
1061
  class << self
1056
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#47
1062
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#46
1057
1063
  def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
1058
1064
 
1059
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#68
1065
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#67
1060
1066
  def opposite_should_method; end
1061
1067
 
1062
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#64
1068
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#63
1063
1069
  def should_method; end
1064
1070
 
1065
- # source://rspec-expectations//lib/rspec/expectations/handler.rb#60
1071
+ # source://rspec-expectations//lib/rspec/expectations/handler.rb#59
1066
1072
  def verb; end
1067
1073
  end
1068
1074
  end
@@ -3574,11 +3580,6 @@ class RSpec::Matchers::BuiltIn::BaseMatcher
3574
3580
  # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#36
3575
3581
  def matches?(actual); end
3576
3582
 
3577
- # :nocov:
3578
- #
3579
- # @api private
3580
- def present_ivars; end
3581
-
3582
3583
  # @api private
3583
3584
  # @private
3584
3585
  #
@@ -3602,13 +3603,6 @@ class RSpec::Matchers::BuiltIn::BaseMatcher
3602
3603
  # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#82
3603
3604
  def supports_value_expectations?; end
3604
3605
 
3605
- private
3606
-
3607
- # @api private
3608
- #
3609
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#129
3610
- def assert_ivars(*expected_ivars); end
3611
-
3612
3606
  class << self
3613
3607
  # @api private
3614
3608
  # @private
@@ -3632,7 +3626,7 @@ end
3632
3626
  #
3633
3627
  # @api private
3634
3628
  #
3635
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#207
3629
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#193
3636
3630
  module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
3637
3631
  # Provides a good generic failure message. Based on `description`.
3638
3632
  # When subclassing, if you are not satisfied with this failure message
@@ -3641,7 +3635,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
3641
3635
  # @api private
3642
3636
  # @return [String]
3643
3637
  #
3644
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#213
3638
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#199
3645
3639
  def failure_message; end
3646
3640
 
3647
3641
  # Provides a good generic negative failure message. Based on `description`.
@@ -3651,7 +3645,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
3651
3645
  # @api private
3652
3646
  # @return [String]
3653
3647
  #
3654
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#222
3648
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#208
3655
3649
  def failure_message_when_negated; end
3656
3650
 
3657
3651
  class << self
@@ -3659,7 +3653,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
3659
3653
  # @private
3660
3654
  # @return [Boolean]
3661
3655
  #
3662
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#227
3656
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#213
3663
3657
  def has_default_failure_messages?(matcher); end
3664
3658
  end
3665
3659
  end
@@ -3667,7 +3661,7 @@ end
3667
3661
  # @api private
3668
3662
  # @private
3669
3663
  #
3670
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#146
3664
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#128
3671
3665
  module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
3672
3666
  private
3673
3667
 
@@ -3683,7 +3677,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
3683
3677
  #
3684
3678
  # @api private
3685
3679
  #
3686
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#156
3680
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#138
3687
3681
  def improve_hash_formatting(inspect_string); end
3688
3682
 
3689
3683
  class << self
@@ -3699,7 +3693,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
3699
3693
  #
3700
3694
  # @api private
3701
3695
  #
3702
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#156
3696
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#138
3703
3697
  def improve_hash_formatting(inspect_string); end
3704
3698
  end
3705
3699
  end
@@ -3707,39 +3701,45 @@ end
3707
3701
  # @api private
3708
3702
  # @private
3709
3703
  #
3710
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#165
3704
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#147
3711
3705
  module RSpec::Matchers::BuiltIn::BaseMatcher::StringEncodingFormatting
3712
3706
  private
3713
3707
 
3714
3708
  # Formats a String's encoding as a human readable string
3709
+ # :nocov:
3715
3710
  #
3716
3711
  # @api private
3717
3712
  # @param _value [String]
3718
3713
  # @return [nil] nil as the curent Ruby version does not support String encoding
3719
3714
  #
3720
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#188
3715
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#172
3721
3716
  def format_encoding(value); end
3722
3717
 
3718
+ # :nocov:
3719
+ #
3723
3720
  # @api private
3724
3721
  # @return [Boolean] False always as the curent Ruby version does not support String encoding
3725
3722
  #
3726
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#171
3723
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#153
3727
3724
  def string_encoding_differs?; end
3728
3725
 
3729
3726
  class << self
3730
3727
  # Formats a String's encoding as a human readable string
3728
+ # :nocov:
3731
3729
  #
3732
3730
  # @api private
3733
3731
  # @param _value [String]
3734
3732
  # @return [nil] nil as the curent Ruby version does not support String encoding
3735
3733
  #
3736
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#188
3734
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#172
3737
3735
  def format_encoding(value); end
3738
3736
 
3737
+ # :nocov:
3738
+ #
3739
3739
  # @api private
3740
3740
  # @return [Boolean] False always as the curent Ruby version does not support String encoding
3741
3741
  #
3742
- # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#171
3742
+ # source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#153
3743
3743
  def string_encoding_differs?; end
3744
3744
  end
3745
3745
  end
@@ -4048,40 +4048,40 @@ end
4048
4048
  #
4049
4049
  # @api private
4050
4050
  #
4051
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#137
4051
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#164
4052
4052
  class RSpec::Matchers::BuiltIn::BePredicate < ::RSpec::Matchers::BuiltIn::DynamicPredicate
4053
4053
  private
4054
4054
 
4055
4055
  # @api private
4056
4056
  #
4057
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#149
4057
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#176
4058
4058
  def failure_to_respond_explanation; end
4059
4059
 
4060
4060
  # @api private
4061
4061
  #
4062
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#141
4062
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#168
4063
4063
  def predicate; end
4064
4064
 
4065
4065
  # @api private
4066
4066
  # @return [Boolean]
4067
4067
  #
4068
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#157
4068
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#184
4069
4069
  def predicate_accessible?; end
4070
4070
 
4071
4071
  # @api private
4072
4072
  #
4073
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#145
4073
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#172
4074
4074
  def predicate_method_name; end
4075
4075
 
4076
4076
  # @api private
4077
4077
  #
4078
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#161
4078
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#188
4079
4079
  def present_tense_predicate; end
4080
4080
  end
4081
4081
 
4082
4082
  # @api private
4083
4083
  #
4084
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#139
4084
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#166
4085
4085
  RSpec::Matchers::BuiltIn::BePredicate::REGEX = T.let(T.unsafe(nil), Regexp)
4086
4086
 
4087
4087
  # Provides the implementation for `be_truthy`.
@@ -4388,6 +4388,8 @@ class RSpec::Matchers::BuiltIn::ChangeDetails
4388
4388
  # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#424
4389
4389
  def evaluate_value_proc; end
4390
4390
 
4391
+ # :nocov:
4392
+ #
4391
4393
  # source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#438
4392
4394
  def extract_value_block_snippet; end
4393
4395
 
@@ -4621,17 +4623,17 @@ class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatch
4621
4623
 
4622
4624
  # @api private
4623
4625
  #
4624
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#93
4626
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#96
4625
4627
  def compound_failure_message; end
4626
4628
 
4627
4629
  # @api private
4628
4630
  #
4629
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#125
4631
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#128
4630
4632
  def diffable_matcher_list_for(matcher); end
4631
4633
 
4632
4634
  # @api private
4633
4635
  #
4634
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#87
4636
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#90
4635
4637
  def indent_multiline_message(message); end
4636
4638
 
4637
4639
  # @api private
@@ -4647,31 +4649,31 @@ class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatch
4647
4649
  # @api private
4648
4650
  # @return [Boolean]
4649
4651
  #
4650
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#99
4652
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#102
4651
4653
  def matcher_1_matches?; end
4652
4654
 
4653
4655
  # @api private
4654
4656
  # @return [Boolean]
4655
4657
  #
4656
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#103
4658
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#106
4657
4659
  def matcher_2_matches?; end
4658
4660
 
4659
4661
  # @api private
4660
4662
  # @return [Boolean]
4661
4663
  #
4662
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#119
4664
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#122
4663
4665
  def matcher_is_diffable?(matcher); end
4664
4666
 
4665
4667
  # @api private
4666
4668
  # @return [Boolean]
4667
4669
  #
4668
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#107
4670
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#110
4669
4671
  def matcher_supports_block_expectations?(matcher); end
4670
4672
 
4671
4673
  # @api private
4672
4674
  # @return [Boolean]
4673
4675
  #
4674
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#113
4676
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#116
4675
4677
  def matcher_supports_value_expectations?(matcher); end
4676
4678
  end
4677
4679
 
@@ -4679,24 +4681,24 @@ end
4679
4681
  #
4680
4682
  # @api public
4681
4683
  #
4682
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#242
4684
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#245
4683
4685
  class RSpec::Matchers::BuiltIn::Compound::And < ::RSpec::Matchers::BuiltIn::Compound
4684
4686
  # @api private
4685
4687
  # @return [String]
4686
4688
  #
4687
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#245
4689
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#248
4688
4690
  def failure_message; end
4689
4691
 
4690
4692
  private
4691
4693
 
4692
4694
  # @api public
4693
4695
  #
4694
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#262
4696
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#265
4695
4697
  def conjunction; end
4696
4698
 
4697
4699
  # @api public
4698
4700
  #
4699
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#257
4701
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#260
4700
4702
  def match(*_arg0); end
4701
4703
  end
4702
4704
 
@@ -4717,18 +4719,18 @@ end
4717
4719
  #
4718
4720
  # @api private
4719
4721
  #
4720
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#156
4722
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#159
4721
4723
  class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
4722
4724
  # @api private
4723
4725
  # @return [NestedEvaluator] a new instance of NestedEvaluator
4724
4726
  #
4725
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#157
4727
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#160
4726
4728
  def initialize(actual, matcher_1, matcher_2); end
4727
4729
 
4728
4730
  # @api private
4729
4731
  # @return [Boolean]
4730
4732
  #
4731
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#170
4733
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#173
4732
4734
  def matcher_matches?(matcher); end
4733
4735
 
4734
4736
  private
@@ -4739,7 +4741,7 @@ class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
4739
4741
  #
4740
4742
  # @api private
4741
4743
  #
4742
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#184
4744
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#187
4743
4745
  def inner_matcher_block(outer_args); end
4744
4746
 
4745
4747
  # For a matcher like `raise_error` or `throw_symbol`, where the block will jump
@@ -4772,14 +4774,14 @@ class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
4772
4774
  # @api private
4773
4775
  # @raise [ArgumentError]
4774
4776
  #
4775
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#224
4777
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#227
4776
4778
  def order_block_matchers; end
4777
4779
 
4778
4780
  class << self
4779
4781
  # @api private
4780
4782
  # @return [Boolean]
4781
4783
  #
4782
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#233
4784
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#236
4783
4785
  def matcher_expects_call_stack_jump?(matcher); end
4784
4786
  end
4785
4787
  end
@@ -4788,24 +4790,24 @@ end
4788
4790
  #
4789
4791
  # @api public
4790
4792
  #
4791
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#269
4793
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#272
4792
4794
  class RSpec::Matchers::BuiltIn::Compound::Or < ::RSpec::Matchers::BuiltIn::Compound
4793
4795
  # @api private
4794
4796
  # @return [String]
4795
4797
  #
4796
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#272
4798
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#275
4797
4799
  def failure_message; end
4798
4800
 
4799
4801
  private
4800
4802
 
4801
4803
  # @api public
4802
4804
  #
4803
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#283
4805
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#286
4804
4806
  def conjunction; end
4805
4807
 
4806
4808
  # @api public
4807
4809
  #
4808
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#278
4810
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#281
4809
4811
  def match(*_arg0); end
4810
4812
  end
4811
4813
 
@@ -4813,18 +4815,18 @@ end
4813
4815
  #
4814
4816
  # @api private
4815
4817
  #
4816
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#132
4818
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#135
4817
4819
  class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
4818
4820
  # @api private
4819
4821
  # @return [SequentialEvaluator] a new instance of SequentialEvaluator
4820
4822
  #
4821
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#133
4823
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#136
4822
4824
  def initialize(actual, *_arg1); end
4823
4825
 
4824
4826
  # @api private
4825
4827
  # @return [Boolean]
4826
4828
  #
4827
- # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#137
4829
+ # source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#140
4828
4830
  def matcher_matches?(matcher); end
4829
4831
  end
4830
4832
 
@@ -4868,7 +4870,7 @@ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::Bas
4868
4870
 
4869
4871
  # @api private
4870
4872
  #
4871
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#135
4873
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#137
4872
4874
  def best_solution; end
4873
4875
 
4874
4876
  # @api private
@@ -4893,7 +4895,7 @@ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::Bas
4893
4895
 
4894
4896
  # @api private
4895
4897
  #
4896
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#129
4898
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#131
4897
4899
  def extra_items; end
4898
4900
 
4899
4901
  # @api private
@@ -4929,12 +4931,12 @@ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::Bas
4929
4931
 
4930
4932
  # @api private
4931
4933
  #
4932
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#123
4934
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#125
4933
4935
  def missing_items; end
4934
4936
 
4935
4937
  # @api private
4936
4938
  #
4937
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#139
4939
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#141
4938
4940
  def pairings_maximizer; end
4939
4941
 
4940
4942
  # @api private
@@ -4942,10 +4944,12 @@ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::Bas
4942
4944
  # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#104
4943
4945
  def safe_sort(array); end
4944
4946
 
4947
+ # :nocov:
4948
+ #
4945
4949
  # @api private
4946
4950
  # @return [Boolean]
4947
4951
  #
4948
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#118
4952
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#120
4949
4953
  def to_a_disallowed?(object); end
4950
4954
  end
4951
4955
 
@@ -4980,55 +4984,55 @@ end
4980
4984
  # @api private
4981
4985
  # @private
4982
4986
  #
4983
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#186
4987
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#188
4984
4988
  class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer
4985
4989
  # @api private
4986
4990
  # @return [PairingsMaximizer] a new instance of PairingsMaximizer
4987
4991
  #
4988
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#223
4992
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#225
4989
4993
  def initialize(expected_to_actual_matched_indexes, actual_to_expected_matched_indexes); end
4990
4994
 
4991
4995
  # @api private
4992
4996
  #
4993
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#221
4997
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#223
4994
4998
  def actual_to_expected_matched_indexes; end
4995
4999
 
4996
5000
  # @api private
4997
5001
  #
4998
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#221
5002
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#223
4999
5003
  def expected_to_actual_matched_indexes; end
5000
5004
 
5001
5005
  # @api private
5002
5006
  #
5003
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#237
5007
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#239
5004
5008
  def find_best_solution; end
5005
5009
 
5006
5010
  # @api private
5007
5011
  #
5008
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#221
5012
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#223
5009
5013
  def solution; end
5010
5014
 
5011
5015
  private
5012
5016
 
5013
5017
  # @api private
5014
5018
  #
5015
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#299
5019
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#301
5016
5020
  def apply_pairing_to(indeterminates, original_matches, other_list_index); end
5017
5021
 
5018
5022
  # @api private
5019
5023
  #
5020
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#283
5024
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#285
5021
5025
  def best_solution_for_pairing(expected_index, actual_index); end
5022
5026
 
5023
5027
  # @api private
5024
5028
  #
5025
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#263
5029
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#265
5026
5030
  def categorize_indexes(indexes_to_categorize, other_indexes); end
5027
5031
 
5028
5032
  # @api private
5029
5033
  # @return [Boolean]
5030
5034
  #
5031
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#278
5035
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#280
5032
5036
  def reciprocal_single_match?(matches, index, other_list); end
5033
5037
  end
5034
5038
 
@@ -5037,10 +5041,10 @@ end
5037
5041
  # @api private
5038
5042
  # @private
5039
5043
  #
5040
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#257
5044
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#259
5041
5045
  class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::NullSolution
5042
5046
  class << self
5043
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#258
5047
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#260
5044
5048
  def worse_than?(_other); end
5045
5049
  end
5046
5050
  end
@@ -5048,23 +5052,23 @@ end
5048
5052
  # @api private
5049
5053
  # @private
5050
5054
  #
5051
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#188
5055
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
5052
5056
  class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::Struct
5053
5057
  # @api private
5054
5058
  #
5055
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#210
5059
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#212
5056
5060
  def +(derived_candidate_solution); end
5057
5061
 
5058
5062
  # @api private
5059
5063
  # @return [Boolean]
5060
5064
  #
5061
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#194
5065
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#196
5062
5066
  def candidate?; end
5063
5067
 
5064
5068
  # @api private
5065
5069
  # @return [Boolean]
5066
5070
  #
5067
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#199
5071
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#201
5068
5072
  def ideal?; end
5069
5073
 
5070
5074
  # Returns the value of attribute indeterminate_actual_indexes
@@ -5113,13 +5117,13 @@ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::
5113
5117
 
5114
5118
  # @api private
5115
5119
  #
5116
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#206
5120
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#208
5117
5121
  def unmatched_item_count; end
5118
5122
 
5119
5123
  # @api private
5120
5124
  # @return [Boolean]
5121
5125
  #
5122
- # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
5126
+ # source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#192
5123
5127
  def worse_than?(other); end
5124
5128
 
5125
5129
  class << self
@@ -5203,19 +5207,21 @@ module RSpec::Matchers::BuiltIn::CountExpectation
5203
5207
 
5204
5208
  # @api private
5205
5209
  #
5206
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#120
5210
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#122
5207
5211
  def count_constraint_to_number(n); end
5208
5212
 
5209
5213
  # @api private
5210
5214
  #
5211
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#139
5215
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#141
5212
5216
  def count_expectation_description; end
5213
5217
 
5214
5218
  # @api private
5215
5219
  #
5216
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#143
5220
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#145
5217
5221
  def count_failure_reason(action); end
5218
5222
 
5223
+ # :nocov:
5224
+ #
5219
5225
  # @api private
5220
5226
  # @return [Boolean]
5221
5227
  #
@@ -5225,46 +5231,46 @@ module RSpec::Matchers::BuiltIn::CountExpectation
5225
5231
  # @api private
5226
5232
  # @return [Boolean]
5227
5233
  #
5228
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#69
5234
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#71
5229
5235
  def expected_count_matches?(actual_count); end
5230
5236
 
5231
5237
  # @api private
5232
5238
  # @return [Boolean]
5233
5239
  #
5234
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#77
5240
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#79
5235
5241
  def has_expected_count?; end
5236
5242
 
5237
5243
  # @api private
5238
5244
  #
5239
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#157
5245
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#159
5240
5246
  def human_readable_count(count); end
5241
5247
 
5242
5248
  # @api private
5243
5249
  #
5244
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#148
5250
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#150
5245
5251
  def human_readable_expectation_type; end
5246
5252
 
5247
5253
  # @api private
5248
5254
  # @raise [ArgumentError]
5249
5255
  #
5250
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#100
5256
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#102
5251
5257
  def raise_impossible_count_expectation(count); end
5252
5258
 
5253
5259
  # @api private
5254
5260
  # @raise [ArgumentError]
5255
5261
  #
5256
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#109
5262
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#111
5257
5263
  def raise_unsupported_count_expectation; end
5258
5264
 
5259
5265
  # @api private
5260
5266
  #
5261
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#81
5267
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#83
5262
5268
  def set_expected_count(relativity, n); end
5263
5269
 
5264
5270
  # @api private
5265
5271
  # @return [Boolean]
5266
5272
  #
5267
- # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#132
5273
+ # source://rspec-expectations//lib/rspec/matchers/built_in/count_expectation.rb#134
5268
5274
  def unsupported_count_expectation?(relativity); end
5269
5275
  end
5270
5276
 
@@ -5345,44 +5351,50 @@ class RSpec::Matchers::BuiltIn::DynamicPredicate < ::RSpec::Matchers::BuiltIn::B
5345
5351
 
5346
5352
  # @api private
5347
5353
  #
5348
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#99
5354
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#126
5349
5355
  def expectation_of(value); end
5350
5356
 
5351
5357
  # @api private
5352
5358
  #
5353
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#94
5359
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#121
5354
5360
  def failure_message_expecting(value); end
5355
5361
 
5356
5362
  # @api private
5357
5363
  #
5358
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#115
5364
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#142
5359
5365
  def failure_to_respond_explanation; end
5360
5366
 
5361
5367
  # @api private
5362
5368
  #
5363
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#90
5369
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#117
5364
5370
  def method_description; end
5365
5371
 
5366
5372
  # @api private
5367
5373
  # @return [Boolean]
5368
5374
  #
5369
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#49
5375
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#88
5376
+ def methods_include?(method); end
5377
+
5378
+ # @api private
5379
+ # @return [Boolean]
5380
+ #
5381
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#68
5370
5382
  def predicate_accessible?; end
5371
5383
 
5372
5384
  # @api private
5373
5385
  # @return [Boolean]
5374
5386
  #
5375
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#74
5387
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#101
5376
5388
  def predicate_matches?(value = T.unsafe(nil)); end
5377
5389
 
5378
5390
  # @api private
5379
5391
  #
5380
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#70
5392
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#97
5381
5393
  def predicate_method_name; end
5382
5394
 
5383
5395
  # @api private
5384
5396
  #
5385
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#66
5397
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#93
5386
5398
  def predicate_result; end
5387
5399
 
5388
5400
  # :nocov:
@@ -5390,17 +5402,25 @@ class RSpec::Matchers::BuiltIn::DynamicPredicate < ::RSpec::Matchers::BuiltIn::B
5390
5402
  # @api private
5391
5403
  # @return [Boolean]
5392
5404
  #
5393
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#61
5405
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#84
5394
5406
  def private_predicate?; end
5395
5407
 
5408
+ # :nocov:
5409
+ #
5396
5410
  # @api private
5411
+ # @return [Boolean]
5397
5412
  #
5398
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#82
5399
- def root; end
5413
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#62
5414
+ def really_responds_to?(method); end
5400
5415
 
5401
5416
  # @api private
5402
5417
  #
5403
5418
  # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#109
5419
+ def root; end
5420
+
5421
+ # @api private
5422
+ #
5423
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#136
5404
5424
  def validity_message; end
5405
5425
  end
5406
5426
 
@@ -5653,19 +5673,19 @@ end
5653
5673
  #
5654
5674
  # @api private
5655
5675
  #
5656
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#125
5676
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#152
5657
5677
  class RSpec::Matchers::BuiltIn::Has < ::RSpec::Matchers::BuiltIn::DynamicPredicate
5658
5678
  private
5659
5679
 
5660
5680
  # @api private
5661
5681
  #
5662
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#129
5682
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#156
5663
5683
  def predicate; end
5664
5684
  end
5665
5685
 
5666
5686
  # @api private
5667
5687
  #
5668
- # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#127
5688
+ # source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#154
5669
5689
  RSpec::Matchers::BuiltIn::Has::REGEX = T.let(T.unsafe(nil), Regexp)
5670
5690
 
5671
5691
  # Provides the implementation for `have_attributes`.
@@ -5779,6 +5799,7 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5779
5799
  include ::RSpec::Matchers::BuiltIn::CountExpectation
5780
5800
 
5781
5801
  # @api private
5802
+ # @raise [ArgumentError]
5782
5803
  # @return [Include] a new instance of Include
5783
5804
  #
5784
5805
  # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#15
@@ -5787,25 +5808,25 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5787
5808
  # @api private
5788
5809
  # @return [String]
5789
5810
  #
5790
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#43
5811
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#44
5791
5812
  def description; end
5792
5813
 
5793
5814
  # @api private
5794
5815
  # @return [Boolean]
5795
5816
  #
5796
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#61
5817
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#62
5797
5818
  def diffable?; end
5798
5819
 
5799
5820
  # @api private
5800
5821
  # @return [Boolean]
5801
5822
  #
5802
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#32
5823
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#33
5803
5824
  def does_not_match?(actual); end
5804
5825
 
5805
5826
  # @api private
5806
5827
  # @return [Array, Hash]
5807
5828
  #
5808
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#67
5829
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#68
5809
5830
  def expected; end
5810
5831
 
5811
5832
  # @api private
@@ -5817,19 +5838,19 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5817
5838
  # @api private
5818
5839
  # @return [String]
5819
5840
  #
5820
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#49
5841
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#50
5821
5842
  def failure_message; end
5822
5843
 
5823
5844
  # @api private
5824
5845
  # @return [String]
5825
5846
  #
5826
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#55
5847
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#56
5827
5848
  def failure_message_when_negated; end
5828
5849
 
5829
5850
  # @api private
5830
5851
  # @return [Boolean]
5831
5852
  #
5832
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#21
5853
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#22
5833
5854
  def matches?(actual); end
5834
5855
 
5835
5856
  private
@@ -5837,85 +5858,87 @@ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatche
5837
5858
  # @api private
5838
5859
  # @return [Boolean]
5839
5860
  #
5840
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#167
5861
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#168
5841
5862
  def actual_collection_includes?(expected_item); end
5842
5863
 
5843
5864
  # @api private
5844
5865
  # @return [Boolean]
5845
5866
  #
5846
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#153
5867
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#154
5847
5868
  def actual_hash_has_key?(expected_key); end
5848
5869
 
5849
5870
  # @api private
5850
5871
  # @return [Boolean]
5851
5872
  #
5852
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#141
5873
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#142
5853
5874
  def actual_hash_includes?(expected_key, expected_value); end
5854
5875
 
5855
5876
  # @api private
5856
5877
  # @return [Boolean]
5857
5878
  #
5858
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#77
5879
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#78
5859
5880
  def check_actual?(actual); end
5860
5881
 
5861
5882
  # @api private
5862
5883
  # @return [Boolean]
5863
5884
  #
5864
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#83
5885
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#84
5865
5886
  def check_expected_count?; end
5866
5887
 
5867
5888
  # @api private
5868
5889
  # @return [Boolean]
5869
5890
  #
5870
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#149
5891
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#150
5871
5892
  def comparing_hash_keys?(expected_item); end
5872
5893
 
5873
5894
  # @api private
5874
5895
  # @return [Boolean]
5875
5896
  #
5876
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#137
5897
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#138
5877
5898
  def comparing_hash_to_a_subset?(expected_item); end
5878
5899
 
5879
5900
  # @api private
5880
5901
  # @return [Boolean]
5881
5902
  #
5882
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#207
5903
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#212
5883
5904
  def convert_to_hash?(obj); end
5884
5905
 
5906
+ # :nocov:
5907
+ #
5885
5908
  # @api private
5886
5909
  #
5887
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#181
5910
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#185
5888
5911
  def count_enumerable(expected_item); end
5889
5912
 
5890
5913
  # @api private
5891
5914
  #
5892
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#186
5915
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#190
5893
5916
  def count_inclusions; end
5894
5917
 
5895
5918
  # @api private
5896
5919
  # @return [Boolean]
5897
5920
  #
5898
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#198
5921
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#202
5899
5922
  def diff_would_wrongly_highlight_matched_item?; end
5900
5923
 
5901
5924
  # @api private
5902
5925
  #
5903
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#120
5926
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#121
5904
5927
  def excluded_from_actual; end
5905
5928
 
5906
5929
  # @api private
5907
5930
  #
5908
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#95
5931
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#96
5909
5932
  def format_failure_message(preposition); end
5910
5933
 
5911
5934
  # @api private
5912
5935
  #
5913
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#115
5936
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#116
5914
5937
  def perform_match(&block); end
5915
5938
 
5916
5939
  # @api private
5917
5940
  #
5918
- # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#106
5941
+ # source://rspec-expectations//lib/rspec/matchers/built_in/include.rb#107
5919
5942
  def readable_list_of(items); end
5920
5943
  end
5921
5944
 
@@ -6238,176 +6261,176 @@ class RSpec::Matchers::BuiltIn::RaiseError
6238
6261
  # @api private
6239
6262
  # @return [RaiseError] a new instance of RaiseError
6240
6263
  #
6241
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#18
6264
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#22
6242
6265
  def initialize(expected_error_or_message, expected_message, &block); end
6243
6266
 
6244
6267
  # @api private
6245
6268
  # @return [String]
6246
6269
  #
6247
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#113
6270
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#117
6248
6271
  def description; end
6249
6272
 
6250
6273
  # @api private
6251
6274
  # @private
6252
6275
  # @return [Boolean]
6253
6276
  #
6254
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#79
6277
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#83
6255
6278
  def does_not_match?(given_proc); end
6256
6279
 
6257
6280
  # @api private
6258
6281
  # @private
6259
6282
  # @return [Boolean]
6260
6283
  #
6261
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#95
6284
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#99
6262
6285
  def expects_call_stack_jump?; end
6263
6286
 
6264
6287
  # @api private
6265
6288
  # @return [String]
6266
6289
  #
6267
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#101
6290
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#105
6268
6291
  def failure_message; end
6269
6292
 
6270
6293
  # @api private
6271
6294
  # @return [String]
6272
6295
  #
6273
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#107
6296
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#111
6274
6297
  def failure_message_when_negated; end
6275
6298
 
6276
6299
  # @api private
6277
6300
  # @private
6278
6301
  # @return [Boolean]
6279
6302
  #
6280
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#48
6303
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#52
6281
6304
  def matches?(given_proc, negative_expectation = T.unsafe(nil), &block); end
6282
6305
 
6283
6306
  # @api private
6284
6307
  # @private
6285
6308
  # @return [Boolean]
6286
6309
  #
6287
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#85
6310
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#89
6288
6311
  def supports_block_expectations?; end
6289
6312
 
6290
6313
  # @api private
6291
6314
  # @private
6292
6315
  # @return [Boolean]
6293
6316
  #
6294
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#90
6317
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#94
6295
6318
  def supports_value_expectations?; end
6296
6319
 
6297
6320
  # Specifies the expected error message.
6298
6321
  #
6299
6322
  # @api public
6300
6323
  #
6301
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#39
6324
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#43
6302
6325
  def with_message(expected_message); end
6303
6326
 
6304
6327
  private
6305
6328
 
6306
6329
  # @api private
6307
6330
  #
6308
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#119
6331
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#123
6309
6332
  def actual_error_message; end
6310
6333
 
6311
6334
  # @api private
6312
6335
  # @return [Boolean]
6313
6336
  #
6314
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#133
6337
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#137
6315
6338
  def block_matches?; end
6316
6339
 
6317
6340
  # @api private
6318
6341
  # @return [Boolean]
6319
6342
  #
6320
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#129
6343
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#133
6321
6344
  def error_and_message_match?; end
6322
6345
 
6323
6346
  # @api private
6324
6347
  #
6325
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#141
6348
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#145
6326
6349
  def eval_block; end
6327
6350
 
6328
6351
  # @api private
6329
6352
  # @return [Boolean]
6330
6353
  #
6331
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#125
6354
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#129
6332
6355
  def expectation_matched?; end
6333
6356
 
6334
6357
  # @api private
6335
6358
  #
6336
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#222
6359
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#226
6337
6360
  def expected_error; end
6338
6361
 
6339
6362
  # @api private
6340
6363
  # @return [Boolean]
6341
6364
  #
6342
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#253
6365
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#257
6343
6366
  def expecting_specific_exception?; end
6344
6367
 
6345
6368
  # @api private
6346
6369
  #
6347
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#237
6370
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#241
6348
6371
  def format_backtrace(backtrace); end
6349
6372
 
6350
6373
  # @api private
6351
6374
  #
6352
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#242
6375
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#246
6353
6376
  def given_error; end
6354
6377
 
6355
6378
  # @api private
6356
6379
  #
6357
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#172
6380
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#176
6358
6381
  def handle_warning(message); end
6359
6382
 
6360
6383
  # @api private
6361
6384
  #
6362
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#257
6385
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#261
6363
6386
  def raise_message_already_set; end
6364
6387
 
6365
6388
  # @api private
6366
6389
  # @return [Boolean]
6367
6390
  #
6368
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#137
6391
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#141
6369
6392
  def ready_to_eval_block?; end
6370
6393
 
6371
6394
  # @api private
6372
6395
  #
6373
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#151
6396
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#155
6374
6397
  def verify_message; end
6375
6398
 
6376
6399
  # @api private
6377
6400
  #
6378
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#184
6401
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#188
6379
6402
  def warn_about_bare_error!; end
6380
6403
 
6381
6404
  # @api private
6382
6405
  # @return [Boolean]
6383
6406
  #
6384
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#176
6407
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#180
6385
6408
  def warn_about_bare_error?; end
6386
6409
 
6387
6410
  # @api private
6388
6411
  #
6389
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#210
6412
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#214
6390
6413
  def warn_about_negative_false_positive!(expression); end
6391
6414
 
6392
6415
  # @api private
6393
6416
  #
6394
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#197
6417
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#201
6395
6418
  def warn_about_nil_error!; end
6396
6419
 
6397
6420
  # @api private
6398
6421
  # @return [Boolean]
6399
6422
  #
6400
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#180
6423
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#184
6401
6424
  def warn_about_nil_error?; end
6402
6425
 
6403
6426
  # @api private
6404
6427
  #
6405
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#156
6428
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#160
6406
6429
  def warn_for_negative_false_positives!; end
6407
6430
 
6408
6431
  # @api private
6409
6432
  #
6410
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#262
6433
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#266
6411
6434
  def warning; end
6412
6435
  end
6413
6436
 
@@ -6416,9 +6439,13 @@ end
6416
6439
  # passed in a different way. It's an Object, not a Module, since Module's `===`
6417
6440
  # does not evaluate to true when compared to itself.
6418
6441
  #
6442
+ # Note; this _is_ the default value supplied for expected_error_or_message, but
6443
+ # because there are two method-calls involved, that default is actually supplied
6444
+ # in the definition of the _matcher_ method, `RSpec::Matchers#raise_error`
6445
+ #
6419
6446
  # @api private
6420
6447
  #
6421
- # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#16
6448
+ # source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#20
6422
6449
  RSpec::Matchers::BuiltIn::RaiseError::UndefinedValue = T.let(T.unsafe(nil), Object)
6423
6450
 
6424
6451
  # Used to wrap match data and make it reliable for 1.8.7
@@ -6438,7 +6465,7 @@ class RSpec::Matchers::BuiltIn::ReliableMatchData
6438
6465
  # @api private
6439
6466
  # @return Array
6440
6467
  #
6441
- # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#96
6468
+ # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#98
6442
6469
  def captures; end
6443
6470
 
6444
6471
  # Returns match data names for named captures
@@ -6446,14 +6473,14 @@ class RSpec::Matchers::BuiltIn::ReliableMatchData
6446
6473
  # @api private
6447
6474
  # @return Array
6448
6475
  #
6449
- # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#88
6476
+ # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#90
6450
6477
  def names; end
6451
6478
 
6452
6479
  protected
6453
6480
 
6454
6481
  # @api private
6455
6482
  #
6456
- # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#102
6483
+ # source://rspec-expectations//lib/rspec/matchers/built_in/match.rb#104
6457
6484
  def match_data; end
6458
6485
  end
6459
6486
 
@@ -6700,6 +6727,8 @@ class RSpec::Matchers::BuiltIn::Satisfy < ::RSpec::Matchers::BuiltIn::BaseMatche
6700
6727
 
6701
6728
  private
6702
6729
 
6730
+ # :nocov:
6731
+ #
6703
6732
  # @api private
6704
6733
  #
6705
6734
  # source://rspec-expectations//lib/rspec/matchers/built_in/satisfy.rb#40