validated_object 2.0.3 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1125 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-expectations/all/rspec-expectations.rbi
9
+ #
10
+ # rspec-expectations-3.9.2
11
+
12
+ module RSpec
13
+ end
14
+ module RSpec::Matchers
15
+ def a_block_changing(*args, &block); end
16
+ def a_block_outputting(*args, &block); end
17
+ def a_block_raising(*args, &block); end
18
+ def a_block_throwing(*args, &block); end
19
+ def a_block_yielding_control(*args, &block); end
20
+ def a_block_yielding_successive_args(*args, &block); end
21
+ def a_block_yielding_with_args(*args, &block); end
22
+ def a_block_yielding_with_no_args(*args, &block); end
23
+ def a_collection_containing_exactly(*args, &block); end
24
+ def a_collection_ending_with(*args, &block); end
25
+ def a_collection_including(*args, &block); end
26
+ def a_collection_starting_with(*args, &block); end
27
+ def a_falsey_value(*args, &block); end
28
+ def a_falsy_value(*args, &block); end
29
+ def a_hash_including(*args, &block); end
30
+ def a_kind_of(*args, &block); end
31
+ def a_nil_value(*args, &block); end
32
+ def a_range_covering(*args, &block); end
33
+ def a_string_ending_with(*args, &block); end
34
+ def a_string_including(*args, &block); end
35
+ def a_string_matching(*args, &block); end
36
+ def a_string_starting_with(*args, &block); end
37
+ def a_truthy_value(*args, &block); end
38
+ def a_value(*args, &block); end
39
+ def a_value_between(*args, &block); end
40
+ def a_value_within(*args, &block); end
41
+ def aggregate_failures(label = nil, metadata = nil, &block); end
42
+ def all(expected); end
43
+ def an_instance_of(*args, &block); end
44
+ def an_object_eq_to(*args, &block); end
45
+ def an_object_eql_to(*args, &block); end
46
+ def an_object_equal_to(*args, &block); end
47
+ def an_object_existing(*args, &block); end
48
+ def an_object_having_attributes(*args, &block); end
49
+ def an_object_matching(*args, &block); end
50
+ def an_object_responding_to(*args, &block); end
51
+ def an_object_satisfying(*args, &block); end
52
+ def be(*args); end
53
+ def be_a(klass); end
54
+ def be_a_kind_of(expected); end
55
+ def be_an(klass); end
56
+ def be_an_instance_of(expected); end
57
+ def be_between(min, max); end
58
+ def be_falsey; end
59
+ def be_falsy(*args, &block); end
60
+ def be_instance_of(expected); end
61
+ def be_kind_of(expected); end
62
+ def be_nil; end
63
+ def be_truthy; end
64
+ def be_within(delta); end
65
+ def change(receiver = nil, message = nil, &block); end
66
+ def changing(*args, &block); end
67
+ def contain_exactly(*items); end
68
+ def containing_exactly(*args, &block); end
69
+ def cover(*values); end
70
+ def covering(*args, &block); end
71
+ def end_with(*expected); end
72
+ def ending_with(*args, &block); end
73
+ def eq(expected); end
74
+ def eq_to(*args, &block); end
75
+ def eql(expected); end
76
+ def eql_to(*args, &block); end
77
+ def equal(expected); end
78
+ def equal_to(*args, &block); end
79
+ def exist(*args); end
80
+ def existing(*args, &block); end
81
+ def expect(value = nil, &block); end
82
+ def have_attributes(expected); end
83
+ def having_attributes(*args, &block); end
84
+ def include(*expected); end
85
+ def including(*args, &block); end
86
+ def match(expected); end
87
+ def match_array(items); end
88
+ def match_regex(*args, &block); end
89
+ def matching(*args, &block); end
90
+ def method_missing(method, *args, &block); end
91
+ def output(expected = nil); end
92
+ def raise_error(error = nil, message = nil, &block); end
93
+ def raise_exception(error = nil, message = nil, &block); end
94
+ def raising(*args, &block); end
95
+ def respond_to(*names); end
96
+ def respond_to_missing?(method, *arg1); end
97
+ def responding_to(*args, &block); end
98
+ def satisfy(description = nil, &block); end
99
+ def satisfying(*args, &block); end
100
+ def self.alias_matcher(*args, &block); end
101
+ def self.clear_generated_description; end
102
+ def self.configuration; end
103
+ def self.generated_description; end
104
+ def self.is_a_describable_matcher?(obj); end
105
+ def self.is_a_matcher?(obj); end
106
+ def self.last_description; end
107
+ def self.last_expectation_handler; end
108
+ def self.last_expectation_handler=(arg0); end
109
+ def self.last_matcher; end
110
+ def self.last_matcher=(arg0); end
111
+ def start_with(*expected); end
112
+ def starting_with(*args, &block); end
113
+ def throw_symbol(expected_symbol = nil, expected_arg = nil); end
114
+ def throwing(*args, &block); end
115
+ def within(*args, &block); end
116
+ def yield_control; end
117
+ def yield_successive_args(*args); end
118
+ def yield_with_args(*args); end
119
+ def yield_with_no_args; end
120
+ def yielding_control(*args, &block); end
121
+ def yielding_successive_args(*args, &block); end
122
+ def yielding_with_args(*args, &block); end
123
+ def yielding_with_no_args(*args, &block); end
124
+ extend RSpec::Matchers::DSL
125
+ end
126
+ module RSpec::Matchers::EnglishPhrasing
127
+ def self.list(obj); end
128
+ def self.split_words(sym); end
129
+ end
130
+ module RSpec::Matchers::Composable
131
+ def &(matcher); end
132
+ def ===(value); end
133
+ def and(matcher); end
134
+ def description_of(object); end
135
+ def or(matcher); end
136
+ def self.should_enumerate?(item); end
137
+ def self.surface_descriptions_in(item); end
138
+ def self.unreadable_io?(object); end
139
+ def should_enumerate?(item); end
140
+ def surface_descriptions_in(item); end
141
+ def unreadable_io?(object); end
142
+ def values_match?(expected, actual); end
143
+ def with_matchers_cloned(object); end
144
+ def |(matcher); end
145
+ end
146
+ class RSpec::Matchers::Composable::DescribableItem < Struct
147
+ def inspect; end
148
+ def item; end
149
+ def item=(_); end
150
+ def pretty_print(pp); end
151
+ def self.[](*arg0); end
152
+ def self.inspect; end
153
+ def self.members; end
154
+ def self.new(*arg0); end
155
+ end
156
+ module RSpec::Matchers::BuiltIn
157
+ end
158
+ class RSpec::Matchers::BuiltIn::BaseMatcher
159
+ def actual; end
160
+ def actual_formatted; end
161
+ def assert_ivars(*expected_ivars); end
162
+ def description; end
163
+ def diffable?; end
164
+ def expected; end
165
+ def expected_formatted; end
166
+ def expects_call_stack_jump?; end
167
+ def initialize(expected = nil); end
168
+ def match_unless_raises(*exceptions); end
169
+ def matcher_name; end
170
+ def matcher_name=(arg0); end
171
+ def matches?(actual); end
172
+ def present_ivars; end
173
+ def rescued_exception; end
174
+ def self.matcher_name; end
175
+ def self.underscore(camel_cased_word); end
176
+ def supports_block_expectations?; end
177
+ include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
178
+ include RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
179
+ include RSpec::Matchers::Composable
180
+ end
181
+ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
182
+ def improve_hash_formatting(inspect_string); end
183
+ def self.improve_hash_formatting(inspect_string); end
184
+ end
185
+ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
186
+ def failure_message; end
187
+ def failure_message_when_negated; end
188
+ def self.has_default_failure_messages?(matcher); end
189
+ end
190
+ module RSpec::Matchers::DSL
191
+ def alias_matcher(new_name, old_name, options = nil, &description_override); end
192
+ def define(name, &declarations); end
193
+ def define_negated_matcher(negated_name, base_name, &description_override); end
194
+ def matcher(name, &declarations); end
195
+ def warn_about_block_args(name, declarations); end
196
+ end
197
+ module RSpec::Matchers::DSL::Macros
198
+ def assign_attributes(attr_names); end
199
+ def chain(method_name, *attr_names, &definition); end
200
+ def define_user_override(method_name, user_def, &our_def); end
201
+ def description(&definition); end
202
+ def diffable; end
203
+ def failure_message(&definition); end
204
+ def failure_message_when_negated(&definition); end
205
+ def match(options = nil, &match_block); end
206
+ def match_unless_raises(expected_exception = nil, &match_block); end
207
+ def match_when_negated(options = nil, &match_block); end
208
+ def supports_block_expectations; end
209
+ end
210
+ module RSpec::Matchers::DSL::Macros::Deprecated
211
+ def failure_message_for_should(&definition); end
212
+ def failure_message_for_should_not(&definition); end
213
+ def match_for_should(&definition); end
214
+ def match_for_should_not(&definition); end
215
+ end
216
+ module RSpec::Matchers::DSL::DefaultImplementations
217
+ def chained_method_clause_sentences; end
218
+ def description; end
219
+ def diffable?; end
220
+ def expects_call_stack_jump?; end
221
+ def supports_block_expectations?; end
222
+ include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
223
+ end
224
+ class RSpec::Matchers::DSL::Matcher
225
+ def actual; end
226
+ def actual_arg_for(block); end
227
+ def block_arg; end
228
+ def expected; end
229
+ def expected_as_array; end
230
+ def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
231
+ def inspect; end
232
+ def method_missing(method, *args, &block); end
233
+ def name; end
234
+ def rescued_exception; end
235
+ def respond_to_missing?(method, include_private = nil); end
236
+ extend RSpec::Matchers::DSL::Macros
237
+ extend RSpec::Matchers::DSL::Macros::Deprecated
238
+ include RSpec::Matchers
239
+ include RSpec::Matchers::Composable
240
+ include RSpec::Matchers::DSL::DefaultImplementations
241
+ end
242
+ class RSpec::Matchers::MatcherDelegator
243
+ def base_matcher; end
244
+ def initialize(base_matcher); end
245
+ def initialize_copy(other); end
246
+ def method_missing(*args, &block); end
247
+ def respond_to_missing?(name, include_all = nil); end
248
+ include RSpec::Matchers::Composable
249
+ end
250
+ class RSpec::Matchers::AliasedMatcher < RSpec::Matchers::MatcherDelegator
251
+ def description; end
252
+ def failure_message; end
253
+ def failure_message_when_negated; end
254
+ def initialize(base_matcher, description_block); end
255
+ def method_missing(*arg0); end
256
+ end
257
+ class RSpec::Matchers::AliasedMatcherWithOperatorSupport < RSpec::Matchers::AliasedMatcher
258
+ end
259
+ class RSpec::Matchers::AliasedNegatedMatcher < RSpec::Matchers::AliasedMatcher
260
+ def does_not_match?(*args, &block); end
261
+ def failure_message; end
262
+ def failure_message_when_negated; end
263
+ def matches?(*args, &block); end
264
+ def optimal_failure_message(same, inverted); end
265
+ end
266
+ class RSpec::Matchers::ExpectedsForMultipleDiffs
267
+ def diffs(differ, actual); end
268
+ def initialize(expected_list); end
269
+ def message_with_diff(message, differ, actual); end
270
+ def self.diff_label_for(matcher); end
271
+ def self.for_many_matchers(matchers); end
272
+ def self.from(expected); end
273
+ def self.truncated(description); end
274
+ end
275
+ module RSpec::Support
276
+ def self.require_rspec_expectations(f); end
277
+ def self.require_rspec_matchers(f); end
278
+ end
279
+ module RSpec::Expectations
280
+ def self.configuration; end
281
+ def self.differ; end
282
+ def self.fail_with(message, expected = nil, actual = nil); end
283
+ end
284
+ class RSpec::Expectations::ExpectationTarget
285
+ def initialize(value); end
286
+ def self.for(value, block); end
287
+ def target; end
288
+ include RSpec::Expectations::ExpectationTarget::InstanceMethods
289
+ end
290
+ module RSpec::Expectations::ExpectationTarget::UndefinedValue
291
+ end
292
+ module RSpec::Expectations::ExpectationTarget::InstanceMethods
293
+ def not_to(matcher = nil, message = nil, &block); end
294
+ def prevent_operator_matchers(verb); end
295
+ def to(matcher = nil, message = nil, &block); end
296
+ def to_not(matcher = nil, message = nil, &block); end
297
+ end
298
+ class RSpec::Expectations::BlockExpectationTarget < RSpec::Expectations::ExpectationTarget
299
+ def enforce_block_expectation(matcher); end
300
+ def not_to(matcher, message = nil, &block); end
301
+ def supports_block_expectations?(matcher); end
302
+ def to(matcher, message = nil, &block); end
303
+ def to_not(matcher, message = nil, &block); end
304
+ end
305
+ module RSpec::Expectations::Syntax
306
+ def default_should_host; end
307
+ def disable_expect(syntax_host = nil); end
308
+ def disable_should(syntax_host = nil); end
309
+ def enable_expect(syntax_host = nil); end
310
+ def enable_should(syntax_host = nil); end
311
+ def expect_enabled?(syntax_host = nil); end
312
+ def self.default_should_host; end
313
+ def self.disable_expect(syntax_host = nil); end
314
+ def self.disable_should(syntax_host = nil); end
315
+ def self.enable_expect(syntax_host = nil); end
316
+ def self.enable_should(syntax_host = nil); end
317
+ def self.expect_enabled?(syntax_host = nil); end
318
+ def self.should_enabled?(syntax_host = nil); end
319
+ def self.warn_about_should!; end
320
+ def self.warn_about_should_unless_configured(method_name); end
321
+ def should_enabled?(syntax_host = nil); end
322
+ def warn_about_should!; end
323
+ def warn_about_should_unless_configured(method_name); end
324
+ end
325
+ class BasicObject
326
+ def should(matcher = nil, message = nil, &block); end
327
+ def should_not(matcher = nil, message = nil, &block); end
328
+ end
329
+ class RSpec::Expectations::Configuration
330
+ def add_should_and_should_not_to(*modules); end
331
+ def backtrace_formatter; end
332
+ def backtrace_formatter=(arg0); end
333
+ def color?; end
334
+ def false_positives_handler; end
335
+ def include_chain_clauses_in_custom_matcher_descriptions=(arg0); end
336
+ def include_chain_clauses_in_custom_matcher_descriptions?; end
337
+ def initialize; end
338
+ def max_formatted_output_length=(length); end
339
+ def on_potential_false_positives; end
340
+ def on_potential_false_positives=(behavior); end
341
+ def reset_syntaxes_to_default; end
342
+ def syntax; end
343
+ def syntax=(values); end
344
+ def warn_about_potential_false_positives=(boolean); end
345
+ def warn_about_potential_false_positives?; end
346
+ end
347
+ module RSpec::Expectations::Configuration::NullBacktraceFormatter
348
+ def self.format_backtrace(backtrace); end
349
+ end
350
+ class InvalidName___Class_0x00___Differ_2
351
+ end
352
+ module RSpec::Expectations::ExpectationHelper
353
+ def self.check_message(msg); end
354
+ def self.handle_failure(matcher, message, failure_message_method); end
355
+ def self.modern_matcher_from(matcher); end
356
+ def self.with_matcher(handler, matcher, message); end
357
+ end
358
+ class RSpec::Expectations::PositiveExpectationHandler
359
+ def self.handle_matcher(actual, initial_matcher, message = nil, &block); end
360
+ def self.opposite_should_method; end
361
+ def self.should_method; end
362
+ def self.verb; end
363
+ end
364
+ class RSpec::Expectations::NegativeExpectationHandler
365
+ def self.does_not_match?(matcher, actual, &block); end
366
+ def self.handle_matcher(actual, initial_matcher, message = nil, &block); end
367
+ def self.opposite_should_method; end
368
+ def self.should_method; end
369
+ def self.verb; end
370
+ end
371
+ class RSpec::Expectations::LegacyMatcherAdapter < RSpec::Matchers::MatcherDelegator
372
+ def initialize(matcher); end
373
+ def self.wrap(matcher); end
374
+ end
375
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < RSpec::Expectations::LegacyMatcherAdapter
376
+ def failure_message; end
377
+ def failure_message_when_negated; end
378
+ def self.interface_matches?(matcher); end
379
+ end
380
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < RSpec::Expectations::LegacyMatcherAdapter
381
+ def failure_message; end
382
+ def failure_message_when_negated; end
383
+ def self.interface_matches?(matcher); end
384
+ end
385
+ module RSpec::Expectations::Version
386
+ end
387
+ class RSpec::Expectations::ExpectationNotMetError < Exception
388
+ end
389
+ class RSpec::Expectations::MultipleExpectationsNotMetError < RSpec::Expectations::ExpectationNotMetError
390
+ def aggregation_block_label; end
391
+ def aggregation_metadata; end
392
+ def all_exceptions; end
393
+ def block_description; end
394
+ def enumerated(exceptions, index_offset); end
395
+ def enumerated_errors; end
396
+ def enumerated_failures; end
397
+ def exception_count_description; end
398
+ def failures; end
399
+ def indentation; end
400
+ def indented(failure_message, index); end
401
+ def index_label(index); end
402
+ def initialize(failure_aggregator); end
403
+ def longest_index_label_width; end
404
+ def message; end
405
+ def other_errors; end
406
+ def pluralize(noun, count); end
407
+ def summary; end
408
+ def width_of_label(index); end
409
+ end
410
+ class RSpec::Expectations::BlockSnippetExtractor
411
+ def beginning_line_number; end
412
+ def block_token_extractor; end
413
+ def body_content_lines; end
414
+ def file_path; end
415
+ def initialize(proc, method_name); end
416
+ def method_name; end
417
+ def proc; end
418
+ def raw_body_lines; end
419
+ def raw_body_snippet; end
420
+ def self.try_extracting_single_line_body_of(proc, method_name); end
421
+ def source; end
422
+ def source_location; end
423
+ end
424
+ class RSpec::Expectations::BlockSnippetExtractor::Error < StandardError
425
+ end
426
+ class RSpec::Expectations::BlockSnippetExtractor::TargetNotFoundError < RSpec::Expectations::BlockSnippetExtractor::Error
427
+ end
428
+ class RSpec::Expectations::BlockSnippetExtractor::AmbiguousTargetError < RSpec::Expectations::BlockSnippetExtractor::Error
429
+ end
430
+ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < Struct
431
+ def after_beginning_of_args_state(token); end
432
+ def after_beginning_of_body_state(token); end
433
+ def after_method_call_state(token); end
434
+ def after_opener_state(token); end
435
+ def beginning_line_number; end
436
+ def beginning_line_number=(_); end
437
+ def block_locator; end
438
+ def body_tokens; end
439
+ def correct_block?(body_tokens); end
440
+ def finalize_pending_tokens!; end
441
+ def finish!; end
442
+ def finish_or_find_next_block_if_incorrect!; end
443
+ def handle_closer_token(token); end
444
+ def handle_opener_token(token); end
445
+ def initial_state(token); end
446
+ def initialize(*arg0); end
447
+ def invoke_state_handler(token); end
448
+ def method_name; end
449
+ def method_name=(_); end
450
+ def opener_token?(token); end
451
+ def opener_token_stack; end
452
+ def parse!; end
453
+ def pending_tokens; end
454
+ def pipe_token?(token); end
455
+ def self.[](*arg0); end
456
+ def self.inspect; end
457
+ def self.members; end
458
+ def self.new(*arg0); end
459
+ def source; end
460
+ def source=(_); end
461
+ def state; end
462
+ end
463
+ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < Struct
464
+ def beginning_line_number; end
465
+ def beginning_line_number=(_); end
466
+ def block_body_node; end
467
+ def block_wrapper_node; end
468
+ def body_content_locations; end
469
+ def candidate_block_wrapper_nodes; end
470
+ def candidate_method_ident_nodes; end
471
+ def method_call_location; end
472
+ def method_ident_node; end
473
+ def method_ident_node?(node); end
474
+ def method_name; end
475
+ def method_name=(_); end
476
+ def self.[](*arg0); end
477
+ def self.inspect; end
478
+ def self.members; end
479
+ def self.new(*arg0); end
480
+ def source; end
481
+ def source=(_); end
482
+ end
483
+ class RSpec::Expectations::FailureAggregator
484
+ def aggregate; end
485
+ def assign_backtrace(failure); end
486
+ def block_label; end
487
+ def call(failure, options); end
488
+ def failures; end
489
+ def initialize(block_label, metadata); end
490
+ def metadata; end
491
+ def notify_aggregated_failures; end
492
+ def other_errors; end
493
+ end
494
+ class RSpec::Matchers::BuiltIn::BeAKindOf < RSpec::Matchers::BuiltIn::BaseMatcher
495
+ def match(expected, actual); end
496
+ end
497
+ class RSpec::Matchers::BuiltIn::BeAnInstanceOf < RSpec::Matchers::BuiltIn::BaseMatcher
498
+ def description; end
499
+ def match(expected, actual); end
500
+ end
501
+ class RSpec::Matchers::BuiltIn::BeBetween < RSpec::Matchers::BuiltIn::BaseMatcher
502
+ def comparable?; end
503
+ def compare; end
504
+ def description; end
505
+ def exclusive; end
506
+ def failure_message; end
507
+ def inclusive; end
508
+ def initialize(min, max); end
509
+ def matches?(actual); end
510
+ def not_comparable_clause; end
511
+ end
512
+ class RSpec::Matchers::BuiltIn::BeTruthy < RSpec::Matchers::BuiltIn::BaseMatcher
513
+ def failure_message; end
514
+ def failure_message_when_negated; end
515
+ def match(_, actual); end
516
+ end
517
+ class RSpec::Matchers::BuiltIn::BeFalsey < RSpec::Matchers::BuiltIn::BaseMatcher
518
+ def failure_message; end
519
+ def failure_message_when_negated; end
520
+ def match(_, actual); end
521
+ end
522
+ class RSpec::Matchers::BuiltIn::BeNil < RSpec::Matchers::BuiltIn::BaseMatcher
523
+ def failure_message; end
524
+ def failure_message_when_negated; end
525
+ def match(_, actual); end
526
+ end
527
+ module RSpec::Matchers::BuiltIn::BeHelpers
528
+ def args_to_s; end
529
+ def args_to_sentence; end
530
+ def expected_to_sentence; end
531
+ def inspected_args; end
532
+ def parenthesize(string); end
533
+ end
534
+ class RSpec::Matchers::BuiltIn::Be < RSpec::Matchers::BuiltIn::BaseMatcher
535
+ def <(operand); end
536
+ def <=(operand); end
537
+ def ==(operand); end
538
+ def ===(operand); end
539
+ def =~(operand); end
540
+ def >(operand); end
541
+ def >=(operand); end
542
+ def failure_message; end
543
+ def failure_message_when_negated; end
544
+ def initialize(*args); end
545
+ def match(_, actual); end
546
+ include RSpec::Matchers::BuiltIn::BeHelpers
547
+ end
548
+ class RSpec::Matchers::BuiltIn::BeComparedTo < RSpec::Matchers::BuiltIn::BaseMatcher
549
+ def description; end
550
+ def failure_message; end
551
+ def failure_message_when_negated; end
552
+ def initialize(operand, operator); end
553
+ def matches?(actual); end
554
+ include RSpec::Matchers::BuiltIn::BeHelpers
555
+ end
556
+ class RSpec::Matchers::BuiltIn::BePredicate < RSpec::Matchers::BuiltIn::BaseMatcher
557
+ def description; end
558
+ def does_not_match?(actual, &block); end
559
+ def failure_message; end
560
+ def failure_message_expecting(value); end
561
+ def failure_message_when_negated; end
562
+ def initialize(*args, &block); end
563
+ def matches?(actual, &block); end
564
+ def parse_expected(expected); end
565
+ def predicate; end
566
+ def predicate_accessible?; end
567
+ def predicate_matches?; end
568
+ def prefix_and_expected(symbol); end
569
+ def prefix_to_sentence; end
570
+ def present_tense_predicate; end
571
+ def private_predicate?; end
572
+ def validity_message; end
573
+ include RSpec::Matchers::BuiltIn::BeHelpers
574
+ end
575
+ class RSpec::Matchers::BuiltIn::BeWithin < RSpec::Matchers::BuiltIn::BaseMatcher
576
+ def description; end
577
+ def failure_message; end
578
+ def failure_message_when_negated; end
579
+ def initialize(delta); end
580
+ def matches?(actual); end
581
+ def needs_expected; end
582
+ def not_numeric_clause; end
583
+ def numeric?; end
584
+ def of(expected); end
585
+ def percent_of(expected); end
586
+ end
587
+ class RSpec::Matchers::BuiltIn::Change < RSpec::Matchers::BuiltIn::BaseMatcher
588
+ def by(expected_delta); end
589
+ def by_at_least(minimum); end
590
+ def by_at_most(maximum); end
591
+ def change_details; end
592
+ def description; end
593
+ def does_not_match?(event_proc); end
594
+ def failure_message; end
595
+ def failure_message_when_negated; end
596
+ def from(value); end
597
+ def initialize(receiver = nil, message = nil, &block); end
598
+ def matches?(event_proc); end
599
+ def negative_failure_reason; end
600
+ def perform_change(event_proc); end
601
+ def positive_failure_reason; end
602
+ def raise_block_syntax_error; end
603
+ def supports_block_expectations?; end
604
+ def to(value); end
605
+ end
606
+ class RSpec::Matchers::BuiltIn::ChangeRelatively < RSpec::Matchers::BuiltIn::BaseMatcher
607
+ def description; end
608
+ def does_not_match?(_event_proc); end
609
+ def failure_message; end
610
+ def failure_reason; end
611
+ def initialize(change_details, expected_delta, relativity, &comparer); end
612
+ def matches?(event_proc); end
613
+ def supports_block_expectations?; end
614
+ end
615
+ class RSpec::Matchers::BuiltIn::SpecificValuesChange < RSpec::Matchers::BuiltIn::BaseMatcher
616
+ def after_value_failure; end
617
+ def before_value_failure; end
618
+ def description; end
619
+ def did_change_failure; end
620
+ def did_not_change_failure; end
621
+ def failure_message; end
622
+ def initialize(change_details, from, to); end
623
+ def matches?(event_proc); end
624
+ def matches_after?; end
625
+ def not_given_a_block_failure; end
626
+ def perform_change(event_proc); end
627
+ def supports_block_expectations?; end
628
+ end
629
+ class RSpec::Matchers::BuiltIn::ChangeFromValue < RSpec::Matchers::BuiltIn::SpecificValuesChange
630
+ def change_description; end
631
+ def does_not_match?(event_proc); end
632
+ def failure_message_when_negated; end
633
+ def initialize(change_details, expected_before); end
634
+ def to(value); end
635
+ end
636
+ class RSpec::Matchers::BuiltIn::ChangeToValue < RSpec::Matchers::BuiltIn::SpecificValuesChange
637
+ def change_description; end
638
+ def does_not_match?(_event_proc); end
639
+ def from(value); end
640
+ def initialize(change_details, expected_after); end
641
+ end
642
+ class RSpec::Matchers::BuiltIn::ChangeDetails
643
+ def actual_after; end
644
+ def actual_delta; end
645
+ def changed?; end
646
+ def evaluate_value_proc; end
647
+ def extract_value_block_snippet; end
648
+ def initialize(matcher_name, receiver = nil, message = nil, &block); end
649
+ def message_notation(receiver, message); end
650
+ def perform_change(event_proc); end
651
+ def value_representation; end
652
+ end
653
+ class RSpec::Matchers::BuiltIn::Compound < RSpec::Matchers::BuiltIn::BaseMatcher
654
+ def compound_failure_message; end
655
+ def description; end
656
+ def diffable?; end
657
+ def diffable_matcher_list; end
658
+ def diffable_matcher_list_for(matcher); end
659
+ def does_not_match?(_actual); end
660
+ def evaluator; end
661
+ def expected; end
662
+ def expects_call_stack_jump?; end
663
+ def indent_multiline_message(message); end
664
+ def initialize(matcher_1, matcher_2); end
665
+ def initialize_copy(other); end
666
+ def match(_expected, actual); end
667
+ def matcher_1; end
668
+ def matcher_1_matches?; end
669
+ def matcher_2; end
670
+ def matcher_2_matches?; end
671
+ def matcher_is_diffable?(matcher); end
672
+ def matcher_supports_block_expectations?(matcher); end
673
+ def supports_block_expectations?; end
674
+ end
675
+ class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
676
+ def initialize(actual, *arg1); end
677
+ def matcher_matches?(matcher); end
678
+ end
679
+ class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
680
+ def initialize(actual, matcher_1, matcher_2); end
681
+ def inner_matcher_block(outer_args); end
682
+ def matcher_matches?(matcher); end
683
+ def order_block_matchers; end
684
+ def self.matcher_expects_call_stack_jump?(matcher); end
685
+ end
686
+ class RSpec::Matchers::BuiltIn::Compound::And < RSpec::Matchers::BuiltIn::Compound
687
+ def conjunction; end
688
+ def failure_message; end
689
+ def match(*arg0); end
690
+ end
691
+ class RSpec::Matchers::BuiltIn::Compound::Or < RSpec::Matchers::BuiltIn::Compound
692
+ def conjunction; end
693
+ def failure_message; end
694
+ def match(*arg0); end
695
+ end
696
+ class RSpec::Matchers::BuiltIn::ContainExactly < RSpec::Matchers::BuiltIn::BaseMatcher
697
+ def actual_collection_line; end
698
+ def best_solution; end
699
+ def convert_actual_to_an_array; end
700
+ def describe_collection(collection, surface_descriptions = nil); end
701
+ def description; end
702
+ def expected_collection_line; end
703
+ def extra_elements_line; end
704
+ def extra_items; end
705
+ def failure_message; end
706
+ def failure_message_when_negated; end
707
+ def generate_failure_message; end
708
+ def match(_expected, _actual); end
709
+ def match_when_sorted?; end
710
+ def message_line(prefix, collection, surface_descriptions = nil); end
711
+ def missing_elements_line; end
712
+ def missing_items; end
713
+ def pairings_maximizer; end
714
+ def safe_sort(array); end
715
+ def to_a_disallowed?(object); end
716
+ end
717
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer
718
+ def actual_to_expected_matched_indexes; end
719
+ def apply_pairing_to(indeterminates, original_matches, other_list_index); end
720
+ def best_solution_for_pairing(expected_index, actual_index); end
721
+ def categorize_indexes(indexes_to_categorize, other_indexes); end
722
+ def expected_to_actual_matched_indexes; end
723
+ def find_best_solution; end
724
+ def initialize(expected_to_actual_matched_indexes, actual_to_expected_matched_indexes); end
725
+ def reciprocal_single_match?(matches, index, other_list); end
726
+ def solution; end
727
+ end
728
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < Struct
729
+ def +(derived_candidate_solution); end
730
+ def candidate?; end
731
+ def ideal?; end
732
+ def indeterminate_actual_indexes; end
733
+ def indeterminate_actual_indexes=(_); end
734
+ def indeterminate_expected_indexes; end
735
+ def indeterminate_expected_indexes=(_); end
736
+ def self.[](*arg0); end
737
+ def self.inspect; end
738
+ def self.members; end
739
+ def self.new(*arg0); end
740
+ def unmatched_actual_indexes; end
741
+ def unmatched_actual_indexes=(_); end
742
+ def unmatched_expected_indexes; end
743
+ def unmatched_expected_indexes=(_); end
744
+ def unmatched_item_count; end
745
+ def worse_than?(other); end
746
+ end
747
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::NullSolution
748
+ def self.worse_than?(_other); end
749
+ end
750
+ class RSpec::Matchers::BuiltIn::Cover < RSpec::Matchers::BuiltIn::BaseMatcher
751
+ def does_not_match?(range); end
752
+ def initialize(*expected); end
753
+ def matches?(range); end
754
+ end
755
+ class RSpec::Matchers::BuiltIn::StartOrEndWith < RSpec::Matchers::BuiltIn::BaseMatcher
756
+ def description; end
757
+ def failure_message; end
758
+ def initialize(*expected); end
759
+ def match(_expected, actual); end
760
+ def subsets_comparable?; end
761
+ end
762
+ class RSpec::Matchers::BuiltIn::StartWith < RSpec::Matchers::BuiltIn::StartOrEndWith
763
+ def element_matches?; end
764
+ def subset_matches?; end
765
+ end
766
+ class RSpec::Matchers::BuiltIn::EndWith < RSpec::Matchers::BuiltIn::StartOrEndWith
767
+ def element_matches?; end
768
+ def subset_matches?; end
769
+ end
770
+ class RSpec::Matchers::BuiltIn::Eq < RSpec::Matchers::BuiltIn::BaseMatcher
771
+ def description; end
772
+ def diffable?; end
773
+ def failure_message; end
774
+ def failure_message_when_negated; end
775
+ def match(expected, actual); end
776
+ end
777
+ class RSpec::Matchers::BuiltIn::Eql < RSpec::Matchers::BuiltIn::BaseMatcher
778
+ def diffable?; end
779
+ def failure_message; end
780
+ def failure_message_when_negated; end
781
+ def match(expected, actual); end
782
+ end
783
+ class RSpec::Matchers::BuiltIn::Equal < RSpec::Matchers::BuiltIn::BaseMatcher
784
+ def actual_inspected; end
785
+ def detailed_failure_message; end
786
+ def diffable?; end
787
+ def expected_is_a_literal_singleton?; end
788
+ def failure_message; end
789
+ def failure_message_when_negated; end
790
+ def inspect_object(o); end
791
+ def match(expected, actual); end
792
+ def simple_failure_message; end
793
+ end
794
+ class RSpec::Matchers::BuiltIn::Exist < RSpec::Matchers::BuiltIn::BaseMatcher
795
+ def does_not_match?(actual); end
796
+ def failure_message; end
797
+ def failure_message_when_negated; end
798
+ def initialize(*expected); end
799
+ def matches?(actual); end
800
+ end
801
+ class Anonymous_Struct_3 < Struct
802
+ def actual; end
803
+ def actual=(_); end
804
+ def expected; end
805
+ def expected=(_); end
806
+ def self.[](*arg0); end
807
+ def self.inspect; end
808
+ def self.members; end
809
+ def self.new(*arg0); end
810
+ end
811
+ class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < Anonymous_Struct_3
812
+ def actual_exists?; end
813
+ def deprecated(predicate, actual); end
814
+ def existence_values; end
815
+ def predicates; end
816
+ def uniq_truthy_values; end
817
+ def valid_test?; end
818
+ def validity_message; end
819
+ end
820
+ class RSpec::Matchers::BuiltIn::Has < RSpec::Matchers::BuiltIn::BaseMatcher
821
+ def args_description; end
822
+ def description; end
823
+ def does_not_match?(actual, &block); end
824
+ def failure_message; end
825
+ def failure_message_args_description; end
826
+ def failure_message_when_negated; end
827
+ def initialize(method_name, *args, &block); end
828
+ def matches?(actual, &block); end
829
+ def method_description; end
830
+ def predicate; end
831
+ def predicate_accessible?; end
832
+ def predicate_exists?; end
833
+ def predicate_matches?; end
834
+ def private_predicate?; end
835
+ def validity_message; end
836
+ end
837
+ class RSpec::Matchers::BuiltIn::HaveAttributes < RSpec::Matchers::BuiltIn::BaseMatcher
838
+ def actual; end
839
+ def actual_has_attribute?(attribute_key, attribute_value); end
840
+ def cache_all_values; end
841
+ def description; end
842
+ def diffable?; end
843
+ def does_not_match?(actual); end
844
+ def failure_message; end
845
+ def failure_message_when_negated; end
846
+ def formatted_values; end
847
+ def initialize(expected); end
848
+ def matches?(actual); end
849
+ def perform_match(predicate); end
850
+ def respond_to_attributes?; end
851
+ def respond_to_failed; end
852
+ def respond_to_failure_message_or; end
853
+ def respond_to_matcher; end
854
+ end
855
+ class RSpec::Matchers::BuiltIn::Include < RSpec::Matchers::BuiltIn::BaseMatcher
856
+ def actual_collection_includes?(expected_item); end
857
+ def actual_hash_has_key?(expected_key); end
858
+ def actual_hash_includes?(expected_key, expected_value); end
859
+ def comparing_hash_keys?(expected_item); end
860
+ def comparing_hash_to_a_subset?(expected_item); end
861
+ def convert_to_hash?(obj); end
862
+ def description; end
863
+ def diff_would_wrongly_highlight_matched_item?; end
864
+ def diffable?; end
865
+ def does_not_match?(actual); end
866
+ def excluded_from_actual; end
867
+ def expected; end
868
+ def expecteds; end
869
+ def failure_message; end
870
+ def failure_message_when_negated; end
871
+ def format_failure_message(preposition); end
872
+ def initialize(*expecteds); end
873
+ def matches?(actual); end
874
+ def perform_match(actual, &block); end
875
+ def readable_list_of(items); end
876
+ end
877
+ class RSpec::Matchers::BuiltIn::All < RSpec::Matchers::BuiltIn::BaseMatcher
878
+ def add_new_line_if_needed(message); end
879
+ def description; end
880
+ def does_not_match?(_actual); end
881
+ def failed_objects; end
882
+ def failure_message; end
883
+ def failure_message_for_item(index, failure_message); end
884
+ def indent_multiline_message(message); end
885
+ def index_failed_objects; end
886
+ def initialize(matcher); end
887
+ def initialize_copy(other); end
888
+ def iterable?; end
889
+ def match(_expected, _actual); end
890
+ def matcher; end
891
+ end
892
+ class RSpec::Matchers::BuiltIn::Match < RSpec::Matchers::BuiltIn::BaseMatcher
893
+ def can_safely_call_match?(expected, actual); end
894
+ def description; end
895
+ def diffable?; end
896
+ def initialize(expected); end
897
+ def match(expected, actual); end
898
+ def match_captures(expected, actual); end
899
+ def with_captures(*captures); end
900
+ end
901
+ class RSpec::Matchers::BuiltIn::ReliableMatchData
902
+ def captures; end
903
+ def initialize(match_data); end
904
+ def match_data; end
905
+ def names; end
906
+ end
907
+ class RSpec::Matchers::BuiltIn::OperatorMatcher
908
+ def !=(_expected); end
909
+ def !~(_expected); end
910
+ def <(expected); end
911
+ def <=(expected); end
912
+ def ==(expected); end
913
+ def ===(expected); end
914
+ def =~(expected); end
915
+ def >(expected); end
916
+ def >=(expected); end
917
+ def description; end
918
+ def eval_match(actual, operator, expected); end
919
+ def fail_with_message(message); end
920
+ def has_non_generic_implementation_of?(op); end
921
+ def initialize(actual); end
922
+ def self.get(klass, operator); end
923
+ def self.register(klass, operator, matcher); end
924
+ def self.registry; end
925
+ def self.unregister(klass, operator); end
926
+ def self.use_custom_matcher_or_delegate(operator); end
927
+ end
928
+ class RSpec::Matchers::BuiltIn::PositiveOperatorMatcher < RSpec::Matchers::BuiltIn::OperatorMatcher
929
+ def __delegate_operator(actual, operator, expected); end
930
+ end
931
+ class RSpec::Matchers::BuiltIn::NegativeOperatorMatcher < RSpec::Matchers::BuiltIn::OperatorMatcher
932
+ def __delegate_operator(actual, operator, expected); end
933
+ end
934
+ class RSpec::Matchers::BuiltIn::Output < RSpec::Matchers::BuiltIn::BaseMatcher
935
+ def actual_output_description; end
936
+ def captured?; end
937
+ def description; end
938
+ def diffable?; end
939
+ def does_not_match?(block); end
940
+ def failure_message; end
941
+ def failure_message_when_negated; end
942
+ def initialize(expected); end
943
+ def matches?(block); end
944
+ def negative_failure_reason; end
945
+ def positive_failure_reason; end
946
+ def supports_block_expectations?; end
947
+ def to_stderr; end
948
+ def to_stderr_from_any_process; end
949
+ def to_stdout; end
950
+ def to_stdout_from_any_process; end
951
+ end
952
+ module RSpec::Matchers::BuiltIn::NullCapture
953
+ def self.capture(_block); end
954
+ def self.name; end
955
+ end
956
+ module RSpec::Matchers::BuiltIn::CaptureStdout
957
+ def self.capture(block); end
958
+ def self.name; end
959
+ end
960
+ module RSpec::Matchers::BuiltIn::CaptureStderr
961
+ def self.capture(block); end
962
+ def self.name; end
963
+ end
964
+ class Anonymous_Struct_4 < Struct
965
+ def name; end
966
+ def name=(_); end
967
+ def self.[](*arg0); end
968
+ def self.inspect; end
969
+ def self.members; end
970
+ def self.new(*arg0); end
971
+ def stream; end
972
+ def stream=(_); end
973
+ end
974
+ class RSpec::Matchers::BuiltIn::CaptureStreamToTempfile < Anonymous_Struct_4
975
+ def capture(block); end
976
+ end
977
+ class RSpec::Matchers::BuiltIn::RaiseError
978
+ def block_matches?; end
979
+ def description; end
980
+ def does_not_match?(given_proc); end
981
+ def error_and_message_match?; end
982
+ def eval_block; end
983
+ def expectation_matched?; end
984
+ def expected_error; end
985
+ def expecting_specific_exception?; end
986
+ def expects_call_stack_jump?; end
987
+ def failure_message; end
988
+ def failure_message_when_negated; end
989
+ def format_backtrace(backtrace); end
990
+ def given_error; end
991
+ def handle_warning(message); end
992
+ def initialize(expected_error_or_message = nil, expected_message = nil, &block); end
993
+ def matches?(given_proc, negative_expectation = nil, &block); end
994
+ def raise_message_already_set; end
995
+ def ready_to_eval_block?; end
996
+ def supports_block_expectations?; end
997
+ def verify_message; end
998
+ def warn_about_bare_error; end
999
+ def warn_about_negative_false_positive(expression); end
1000
+ def warn_for_false_positives; end
1001
+ def warning; end
1002
+ def warning_about_bare_error; end
1003
+ def with_message(expected_message); end
1004
+ include RSpec::Matchers::Composable
1005
+ end
1006
+ class RSpec::Matchers::BuiltIn::RespondTo < RSpec::Matchers::BuiltIn::BaseMatcher
1007
+ def and_any_keywords; end
1008
+ def and_keywords(*keywords); end
1009
+ def and_unlimited_arguments; end
1010
+ def argument; end
1011
+ def arguments; end
1012
+ def description; end
1013
+ def does_not_match?(actual); end
1014
+ def failure_message; end
1015
+ def failure_message_when_negated; end
1016
+ def find_failing_method_names(actual, filter_method); end
1017
+ def ignoring_method_signature_failure!; end
1018
+ def initialize(*names); end
1019
+ def matches?(actual); end
1020
+ def matches_arity?(actual, name); end
1021
+ def method_signature_for(actual, name); end
1022
+ def pp_names; end
1023
+ def setup_method_signature_expectation; end
1024
+ def with(n); end
1025
+ def with_any_keywords; end
1026
+ def with_arity; end
1027
+ def with_arity_string; end
1028
+ def with_keywords(*keywords); end
1029
+ def with_keywords_string; end
1030
+ def with_unlimited_arguments; end
1031
+ end
1032
+ class RSpec::Matchers::BuiltIn::Satisfy < RSpec::Matchers::BuiltIn::BaseMatcher
1033
+ def block_representation; end
1034
+ def description; end
1035
+ def extract_block_snippet; end
1036
+ def failure_message; end
1037
+ def failure_message_when_negated; end
1038
+ def initialize(description = nil, &block); end
1039
+ def matches?(actual, &block); end
1040
+ end
1041
+ class RSpec::Matchers::BuiltIn::ThrowSymbol
1042
+ def actual_result; end
1043
+ def caught; end
1044
+ def description; end
1045
+ def does_not_match?(given_proc); end
1046
+ def expected(symbol_desc = nil); end
1047
+ def expects_call_stack_jump?; end
1048
+ def failure_message; end
1049
+ def failure_message_when_negated; end
1050
+ def initialize(expected_symbol = nil, expected_arg = nil); end
1051
+ def matches?(given_proc); end
1052
+ def supports_block_expectations?; end
1053
+ def throw_description(symbol, arg); end
1054
+ include RSpec::Matchers::Composable
1055
+ end
1056
+ class RSpec::Matchers::BuiltIn::YieldProbe
1057
+ def assert_used!; end
1058
+ def assert_valid_expect_block!; end
1059
+ def has_block?; end
1060
+ def initialize(block, &callback); end
1061
+ def num_yields; end
1062
+ def num_yields=(arg0); end
1063
+ def probe; end
1064
+ def self.probe(block, &callback); end
1065
+ def single_yield_args; end
1066
+ def to_proc; end
1067
+ def yielded_args; end
1068
+ def yielded_args=(arg0); end
1069
+ def yielded_once?(matcher_name); end
1070
+ end
1071
+ class RSpec::Matchers::BuiltIn::YieldControl < RSpec::Matchers::BuiltIn::BaseMatcher
1072
+ def at_least(number); end
1073
+ def at_most(number); end
1074
+ def count_constraint_to_number(n); end
1075
+ def does_not_match?(block); end
1076
+ def exactly(number); end
1077
+ def failure_message; end
1078
+ def failure_message_when_negated; end
1079
+ def failure_reason; end
1080
+ def human_readable_count(count); end
1081
+ def human_readable_expectation_type; end
1082
+ def initialize; end
1083
+ def matches?(block); end
1084
+ def once; end
1085
+ def set_expected_yields_count(relativity, n); end
1086
+ def supports_block_expectations?; end
1087
+ def thrice; end
1088
+ def times; end
1089
+ def twice; end
1090
+ end
1091
+ class RSpec::Matchers::BuiltIn::YieldWithNoArgs < RSpec::Matchers::BuiltIn::BaseMatcher
1092
+ def does_not_match?(block); end
1093
+ def failure_message; end
1094
+ def failure_message_when_negated; end
1095
+ def matches?(block); end
1096
+ def negative_failure_reason; end
1097
+ def positive_failure_reason; end
1098
+ def supports_block_expectations?; end
1099
+ end
1100
+ class RSpec::Matchers::BuiltIn::YieldWithArgs < RSpec::Matchers::BuiltIn::BaseMatcher
1101
+ def all_args_match?; end
1102
+ def args_currently_match?; end
1103
+ def description; end
1104
+ def does_not_match?(block); end
1105
+ def expected_arg_description; end
1106
+ def failure_message; end
1107
+ def failure_message_when_negated; end
1108
+ def initialize(*args); end
1109
+ def matches?(block); end
1110
+ def negative_failure_reason; end
1111
+ def positive_failure_reason; end
1112
+ def supports_block_expectations?; end
1113
+ end
1114
+ class RSpec::Matchers::BuiltIn::YieldSuccessiveArgs < RSpec::Matchers::BuiltIn::BaseMatcher
1115
+ def description; end
1116
+ def does_not_match?(block); end
1117
+ def expected_arg_description; end
1118
+ def failure_message; end
1119
+ def failure_message_when_negated; end
1120
+ def initialize(*args); end
1121
+ def matches?(block); end
1122
+ def negative_failure_reason; end
1123
+ def positive_failure_reason; end
1124
+ def supports_block_expectations?; end
1125
+ end