yard-sorbet 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +2 -0
  3. data/.rubocop.yml +16 -1
  4. data/.travis.yml +2 -1
  5. data/.yardopts +2 -0
  6. data/CHANGELOG.md +25 -5
  7. data/Gemfile +3 -9
  8. data/Rakefile +9 -1
  9. data/lib/yard-sorbet.rb +3 -2
  10. data/lib/yard-sorbet/directives.rb +1 -1
  11. data/lib/yard-sorbet/sig_handler.rb +31 -15
  12. data/lib/yard-sorbet/sig_to_yard.rb +20 -5
  13. data/lib/yard-sorbet/struct_handler.rb +1 -2
  14. data/lib/yard-sorbet/version.rb +1 -1
  15. data/yard-sorbet.gemspec +25 -13
  16. metadata +56 -62
  17. data/sorbet/config +0 -2
  18. data/sorbet/rbi/gems/ast.rbi +0 -47
  19. data/sorbet/rbi/gems/byebug.rbi +0 -1039
  20. data/sorbet/rbi/gems/codecov.rbi +0 -19
  21. data/sorbet/rbi/gems/coderay.rbi +0 -91
  22. data/sorbet/rbi/gems/docile.rbi +0 -31
  23. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -14
  24. data/sorbet/rbi/gems/method_source.rbi +0 -63
  25. data/sorbet/rbi/gems/parallel.rbi +0 -81
  26. data/sorbet/rbi/gems/parser.rbi +0 -920
  27. data/sorbet/rbi/gems/pry-byebug.rbi +0 -149
  28. data/sorbet/rbi/gems/pry.rbi +0 -1964
  29. data/sorbet/rbi/gems/rainbow.rbi +0 -117
  30. data/sorbet/rbi/gems/rake.rbi +0 -635
  31. data/sorbet/rbi/gems/rspec-core.rbi +0 -1686
  32. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -387
  33. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -819
  34. data/sorbet/rbi/gems/rspec-support.rbi +0 -270
  35. data/sorbet/rbi/gems/rspec.rbi +0 -14
  36. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -889
  37. data/sorbet/rbi/gems/rubocop.rbi +0 -7139
  38. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
  39. data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
  40. data/sorbet/rbi/gems/simplecov.rbi +0 -225
  41. data/sorbet/rbi/gems/site_ruby.rbi +0 -114
  42. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -16
  43. data/sorbet/rbi/gems/yard.rbi +0 -1181
  44. data/sorbet/rbi/hidden-definitions/errors.txt +0 -3045
  45. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -4469
  46. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
  47. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
  48. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  49. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
  50. data/spec/data/sig_handler.rb.txt +0 -196
  51. data/spec/data/struct_handler.rb.txt +0 -25
  52. data/spec/spec_helper.rb +0 -111
  53. data/spec/yard_sorbet/sig_handler_spec.rb +0 -233
  54. data/spec/yard_sorbet/struct_handler_spec.rb +0 -48
@@ -1,387 +0,0 @@
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.0
11
- module RSpec
12
- end
13
- module RSpec::Matchers
14
- def a_block_changing(*args, &block); end
15
- def a_block_outputting(*args, &block); end
16
- def a_block_raising(*args, &block); end
17
- def a_block_throwing(*args, &block); end
18
- def a_block_yielding_control(*args, &block); end
19
- def a_block_yielding_successive_args(*args, &block); end
20
- def a_block_yielding_with_args(*args, &block); end
21
- def a_block_yielding_with_no_args(*args, &block); end
22
- def a_collection_containing_exactly(*args, &block); end
23
- def a_collection_ending_with(*args, &block); end
24
- def a_collection_including(*args, &block); end
25
- def a_collection_starting_with(*args, &block); end
26
- def a_falsey_value(*args, &block); end
27
- def a_falsy_value(*args, &block); end
28
- def a_hash_including(*args, &block); end
29
- def a_kind_of(*args, &block); end
30
- def a_nil_value(*args, &block); end
31
- def a_range_covering(*args, &block); end
32
- def a_string_ending_with(*args, &block); end
33
- def a_string_including(*args, &block); end
34
- def a_string_matching(*args, &block); end
35
- def a_string_starting_with(*args, &block); end
36
- def a_truthy_value(*args, &block); end
37
- def a_value(*args, &block); end
38
- def a_value_between(*args, &block); end
39
- def a_value_within(*args, &block); end
40
- def aggregate_failures(label = nil, metadata = nil, &block); end
41
- def all(expected); end
42
- def an_instance_of(*args, &block); end
43
- def an_object_eq_to(*args, &block); end
44
- def an_object_eql_to(*args, &block); end
45
- def an_object_equal_to(*args, &block); end
46
- def an_object_existing(*args, &block); end
47
- def an_object_having_attributes(*args, &block); end
48
- def an_object_matching(*args, &block); end
49
- def an_object_responding_to(*args, &block); end
50
- def an_object_satisfying(*args, &block); end
51
- def be(*args); end
52
- def be_a(klass); end
53
- def be_a_kind_of(expected); end
54
- def be_an(klass); end
55
- def be_an_instance_of(expected); end
56
- def be_between(min, max); end
57
- def be_falsey; end
58
- def be_falsy(*args, &block); end
59
- def be_instance_of(expected); end
60
- def be_kind_of(expected); end
61
- def be_nil; end
62
- def be_truthy; end
63
- def be_within(delta); end
64
- def change(receiver = nil, message = nil, &block); end
65
- def changing(*args, &block); end
66
- def contain_exactly(*items); end
67
- def containing_exactly(*args, &block); end
68
- def cover(*values); end
69
- def covering(*args, &block); end
70
- def end_with(*expected); end
71
- def ending_with(*args, &block); end
72
- def eq(expected); end
73
- def eq_to(*args, &block); end
74
- def eql(expected); end
75
- def eql_to(*args, &block); end
76
- def equal(expected); end
77
- def equal_to(*args, &block); end
78
- def exist(*args); end
79
- def existing(*args, &block); end
80
- def expect(value = nil, &block); end
81
- def have_attributes(expected); end
82
- def having_attributes(*args, &block); end
83
- def include(*expected); end
84
- def including(*args, &block); end
85
- def match(expected); end
86
- def match_array(items); end
87
- def match_regex(*args, &block); end
88
- def matching(*args, &block); end
89
- def method_missing(method, *args, &block); end
90
- def output(expected = nil); end
91
- def raise_error(error = nil, message = nil, &block); end
92
- def raise_exception(error = nil, message = nil, &block); end
93
- def raising(*args, &block); end
94
- def respond_to(*names); end
95
- def respond_to_missing?(method, *arg1); end
96
- def responding_to(*args, &block); end
97
- def satisfy(description = nil, &block); end
98
- def satisfying(*args, &block); end
99
- def self.alias_matcher(*args, &block); end
100
- def self.clear_generated_description; end
101
- def self.configuration; end
102
- def self.generated_description; end
103
- def self.is_a_describable_matcher?(obj); end
104
- def self.is_a_matcher?(obj); end
105
- def self.last_description; end
106
- def self.last_expectation_handler; end
107
- def self.last_expectation_handler=(arg0); end
108
- def self.last_matcher; end
109
- def self.last_matcher=(arg0); end
110
- def start_with(*expected); end
111
- def starting_with(*args, &block); end
112
- def throw_symbol(expected_symbol = nil, expected_arg = nil); end
113
- def throwing(*args, &block); end
114
- def within(*args, &block); end
115
- def yield_control; end
116
- def yield_successive_args(*args); end
117
- def yield_with_args(*args); end
118
- def yield_with_no_args; end
119
- def yielding_control(*args, &block); end
120
- def yielding_successive_args(*args, &block); end
121
- def yielding_with_args(*args, &block); end
122
- def yielding_with_no_args(*args, &block); end
123
- extend RSpec::Matchers::DSL
124
- end
125
- module RSpec::Matchers::EnglishPhrasing
126
- def self.list(obj); end
127
- def self.split_words(sym); end
128
- end
129
- module RSpec::Matchers::Composable
130
- def &(matcher); end
131
- def ===(value); end
132
- def and(matcher); end
133
- def description_of(object); end
134
- def or(matcher); end
135
- def self.should_enumerate?(item); end
136
- def self.surface_descriptions_in(item); end
137
- def self.unreadable_io?(object); end
138
- def should_enumerate?(item); end
139
- def surface_descriptions_in(item); end
140
- def unreadable_io?(object); end
141
- def values_match?(expected, actual); end
142
- def with_matchers_cloned(object); end
143
- def |(matcher); end
144
- end
145
- class RSpec::Matchers::Composable::DescribableItem < Struct
146
- def inspect; end
147
- def item; end
148
- def item=(_); end
149
- def pretty_print(pp); end
150
- def self.[](*arg0); end
151
- def self.inspect; end
152
- def self.members; end
153
- def self.new(*arg0); end
154
- end
155
- module RSpec::Matchers::BuiltIn
156
- end
157
- class RSpec::Matchers::BuiltIn::BaseMatcher
158
- def actual; end
159
- def actual_formatted; end
160
- def assert_ivars(*expected_ivars); end
161
- def description; end
162
- def diffable?; end
163
- def expected; end
164
- def expected_formatted; end
165
- def expects_call_stack_jump?; end
166
- def initialize(expected = nil); end
167
- def match_unless_raises(*exceptions); end
168
- def matcher_name; end
169
- def matcher_name=(arg0); end
170
- def matches?(actual); end
171
- def present_ivars; end
172
- def rescued_exception; end
173
- def self.matcher_name; end
174
- def self.underscore(camel_cased_word); end
175
- def supports_block_expectations?; end
176
- include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
177
- include RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
178
- include RSpec::Matchers::Composable
179
- end
180
- module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
181
- def improve_hash_formatting(inspect_string); end
182
- def self.improve_hash_formatting(inspect_string); end
183
- end
184
- module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
185
- def failure_message; end
186
- def failure_message_when_negated; end
187
- def self.has_default_failure_messages?(matcher); end
188
- end
189
- module RSpec::Matchers::DSL
190
- def alias_matcher(new_name, old_name, options = nil, &description_override); end
191
- def define(name, &declarations); end
192
- def define_negated_matcher(negated_name, base_name, &description_override); end
193
- def matcher(name, &declarations); end
194
- def warn_about_block_args(name, declarations); end
195
- end
196
- module RSpec::Matchers::DSL::Macros
197
- def assign_attributes(attr_names); end
198
- def chain(method_name, *attr_names, &definition); end
199
- def define_user_override(method_name, user_def, &our_def); end
200
- def description(&definition); end
201
- def diffable; end
202
- def failure_message(&definition); end
203
- def failure_message_when_negated(&definition); end
204
- def match(options = nil, &match_block); end
205
- def match_unless_raises(expected_exception = nil, &match_block); end
206
- def match_when_negated(options = nil, &match_block); end
207
- def supports_block_expectations; end
208
- end
209
- module RSpec::Matchers::DSL::Macros::Deprecated
210
- def failure_message_for_should(&definition); end
211
- def failure_message_for_should_not(&definition); end
212
- def match_for_should(&definition); end
213
- def match_for_should_not(&definition); end
214
- end
215
- module RSpec::Matchers::DSL::DefaultImplementations
216
- def chained_method_clause_sentences; end
217
- def description; end
218
- def diffable?; end
219
- def expects_call_stack_jump?; end
220
- def supports_block_expectations?; end
221
- include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
222
- end
223
- class RSpec::Matchers::DSL::Matcher
224
- def actual; end
225
- def actual_arg_for(block); end
226
- def block_arg; end
227
- def expected; end
228
- def expected_as_array; end
229
- def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
230
- def inspect; end
231
- def method_missing(method, *args, &block); end
232
- def name; end
233
- def rescued_exception; end
234
- def respond_to_missing?(method, include_private = nil); end
235
- extend RSpec::Matchers::DSL::Macros
236
- extend RSpec::Matchers::DSL::Macros::Deprecated
237
- include RSpec::Matchers
238
- include RSpec::Matchers::Composable
239
- include RSpec::Matchers::DSL::DefaultImplementations
240
- end
241
- class RSpec::Matchers::MatcherDelegator
242
- def base_matcher; end
243
- def initialize(base_matcher); end
244
- def initialize_copy(other); end
245
- def method_missing(*args, &block); end
246
- def respond_to_missing?(name, include_all = nil); end
247
- include RSpec::Matchers::Composable
248
- end
249
- class RSpec::Matchers::AliasedMatcher < RSpec::Matchers::MatcherDelegator
250
- def description; end
251
- def failure_message; end
252
- def failure_message_when_negated; end
253
- def initialize(base_matcher, description_block); end
254
- def method_missing(*arg0); end
255
- end
256
- class RSpec::Matchers::AliasedMatcherWithOperatorSupport < RSpec::Matchers::AliasedMatcher
257
- end
258
- class RSpec::Matchers::AliasedNegatedMatcher < RSpec::Matchers::AliasedMatcher
259
- def does_not_match?(*args, &block); end
260
- def failure_message; end
261
- def failure_message_when_negated; end
262
- def matches?(*args, &block); end
263
- def optimal_failure_message(same, inverted); end
264
- end
265
- class RSpec::Matchers::ExpectedsForMultipleDiffs
266
- def diffs(differ, actual); end
267
- def initialize(expected_list); end
268
- def message_with_diff(message, differ, actual); end
269
- def self.diff_label_for(matcher); end
270
- def self.for_many_matchers(matchers); end
271
- def self.from(expected); end
272
- def self.truncated(description); end
273
- end
274
- module RSpec::Support
275
- def self.require_rspec_expectations(f); end
276
- def self.require_rspec_matchers(f); end
277
- end
278
- module RSpec::Expectations
279
- def self.configuration; end
280
- def self.differ; end
281
- def self.fail_with(message, expected = nil, actual = nil); end
282
- end
283
- class RSpec::Expectations::ExpectationTarget
284
- def initialize(value); end
285
- def self.for(value, block); end
286
- def target; end
287
- include RSpec::Expectations::ExpectationTarget::InstanceMethods
288
- end
289
- module RSpec::Expectations::ExpectationTarget::UndefinedValue
290
- end
291
- module RSpec::Expectations::ExpectationTarget::InstanceMethods
292
- def not_to(matcher = nil, message = nil, &block); end
293
- def prevent_operator_matchers(verb); end
294
- def to(matcher = nil, message = nil, &block); end
295
- def to_not(matcher = nil, message = nil, &block); end
296
- end
297
- class RSpec::Expectations::BlockExpectationTarget < RSpec::Expectations::ExpectationTarget
298
- def enforce_block_expectation(matcher); end
299
- def not_to(matcher, message = nil, &block); end
300
- def supports_block_expectations?(matcher); end
301
- def to(matcher, message = nil, &block); end
302
- def to_not(matcher, message = nil, &block); end
303
- end
304
- module RSpec::Expectations::Syntax
305
- def default_should_host; end
306
- def disable_expect(syntax_host = nil); end
307
- def disable_should(syntax_host = nil); end
308
- def enable_expect(syntax_host = nil); end
309
- def enable_should(syntax_host = nil); end
310
- def expect_enabled?(syntax_host = nil); end
311
- def self.default_should_host; end
312
- def self.disable_expect(syntax_host = nil); end
313
- def self.disable_should(syntax_host = nil); end
314
- def self.enable_expect(syntax_host = nil); end
315
- def self.enable_should(syntax_host = nil); end
316
- def self.expect_enabled?(syntax_host = nil); end
317
- def self.should_enabled?(syntax_host = nil); end
318
- def self.warn_about_should!; end
319
- def self.warn_about_should_unless_configured(method_name); end
320
- def should_enabled?(syntax_host = nil); end
321
- def warn_about_should!; end
322
- def warn_about_should_unless_configured(method_name); end
323
- end
324
- class BasicObject
325
- end
326
- class RSpec::Expectations::Configuration
327
- def add_should_and_should_not_to(*modules); end
328
- def backtrace_formatter; end
329
- def backtrace_formatter=(arg0); end
330
- def color?; end
331
- def false_positives_handler; end
332
- def include_chain_clauses_in_custom_matcher_descriptions=(arg0); end
333
- def include_chain_clauses_in_custom_matcher_descriptions?; end
334
- def initialize; end
335
- def max_formatted_output_length=(length); end
336
- def on_potential_false_positives; end
337
- def on_potential_false_positives=(behavior); end
338
- def reset_syntaxes_to_default; end
339
- def syntax; end
340
- def syntax=(values); end
341
- def warn_about_potential_false_positives=(boolean); end
342
- def warn_about_potential_false_positives?; end
343
- end
344
- module RSpec::Expectations::Configuration::NullBacktraceFormatter
345
- def self.format_backtrace(backtrace); end
346
- end
347
- class InvalidName___Class_0x00___Differ_2
348
- end
349
- module RSpec::Expectations::ExpectationHelper
350
- def self.check_message(msg); end
351
- def self.handle_failure(matcher, message, failure_message_method); end
352
- def self.modern_matcher_from(matcher); end
353
- def self.with_matcher(handler, matcher, message); end
354
- end
355
- class RSpec::Expectations::PositiveExpectationHandler
356
- def self.handle_matcher(actual, initial_matcher, message = nil, &block); end
357
- def self.opposite_should_method; end
358
- def self.should_method; end
359
- def self.verb; end
360
- end
361
- class RSpec::Expectations::NegativeExpectationHandler
362
- def self.does_not_match?(matcher, actual, &block); end
363
- def self.handle_matcher(actual, initial_matcher, message = nil, &block); end
364
- def self.opposite_should_method; end
365
- def self.should_method; end
366
- def self.verb; end
367
- end
368
- class RSpec::Expectations::LegacyMatcherAdapter < RSpec::Matchers::MatcherDelegator
369
- def initialize(matcher); end
370
- def self.wrap(matcher); end
371
- end
372
- class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < RSpec::Expectations::LegacyMatcherAdapter
373
- def failure_message; end
374
- def failure_message_when_negated; end
375
- def self.interface_matches?(matcher); end
376
- end
377
- class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < RSpec::Expectations::LegacyMatcherAdapter
378
- def failure_message; end
379
- def failure_message_when_negated; end
380
- def self.interface_matches?(matcher); end
381
- end
382
- module RSpec::Expectations::Version
383
- end
384
- class RSpec::Expectations::ExpectationNotMetError < Exception
385
- end
386
- class RSpec::Expectations::MultipleExpectationsNotMetError < RSpec::Expectations::ExpectationNotMetError
387
- end
@@ -1,819 +0,0 @@
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-mocks/all/rspec-mocks.rbi
9
- #
10
- # rspec-mocks-3.9.1
11
- module RSpec
12
- end
13
- module RSpec::Mocks
14
- def self.allow_message(subject, message, opts = nil, &block); end
15
- def self.configuration; end
16
- def self.error_generator; end
17
- def self.expect_message(subject, message, opts = nil, &block); end
18
- def self.setup; end
19
- def self.space; end
20
- def self.teardown; end
21
- def self.verify; end
22
- def self.with_temporary_scope; end
23
- end
24
- class RSpec::Mocks::InstanceMethodStasher
25
- def handle_restoration_failures; end
26
- def initialize(object, method); end
27
- def method_defined_directly_on_klass?; end
28
- def method_defined_on_klass?(klass = nil); end
29
- def method_is_stashed?; end
30
- def method_owned_by_klass?; end
31
- def original_method; end
32
- def restore; end
33
- def stash; end
34
- end
35
- class RSpec::Mocks::MethodDouble
36
- def add_default_stub(*args, &implementation); end
37
- def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation); end
38
- def add_simple_expectation(method_name, response, error_generator, backtrace_line); end
39
- def add_simple_stub(method_name, response); end
40
- def add_stub(error_generator, expectation_ordering, expected_from, opts = nil, &implementation); end
41
- def build_expectation(error_generator, expectation_ordering); end
42
- def clear; end
43
- def configure_method; end
44
- def define_proxy_method; end
45
- def definition_target; end
46
- def expectations; end
47
- def initialize(object, method_name, proxy); end
48
- def message_expectation_class; end
49
- def method_name; end
50
- def method_stasher; end
51
- def new_rspec_prepended_module; end
52
- def object; end
53
- def object_singleton_class; end
54
- def original_implementation_callable; end
55
- def original_method; end
56
- def proxy_method_invoked(_obj, *args, &block); end
57
- def raise_method_not_stubbed_error; end
58
- def remove_method_from_definition_target; end
59
- def remove_stub; end
60
- def remove_stub_if_present; end
61
- def reset; end
62
- def restore_original_method; end
63
- def restore_original_visibility; end
64
- def save_original_implementation_callable!; end
65
- def setup_simple_method_double(method_name, response, collection, error_generator = nil, backtrace_line = nil); end
66
- def show_frozen_warning; end
67
- def stubs; end
68
- def usable_rspec_prepended_module; end
69
- def verify; end
70
- def visibility; end
71
- end
72
- class RSpec::Mocks::MethodDouble::RSpecPrependedModule < Module
73
- end
74
- module RSpec::Mocks::ArgumentMatchers
75
- def a_kind_of(klass); end
76
- def an_instance_of(klass); end
77
- def any_args; end
78
- def anything; end
79
- def array_including(*args); end
80
- def boolean; end
81
- def duck_type(*args); end
82
- def hash_excluding(*args); end
83
- def hash_including(*args); end
84
- def hash_not_including(*args); end
85
- def instance_of(klass); end
86
- def kind_of(klass); end
87
- def no_args; end
88
- def self.anythingize_lonely_keys(*args); end
89
- end
90
- class RSpec::Mocks::ArgumentMatchers::SingletonMatcher
91
- def self.inherited(subklass); end
92
- def self.new(*arg0); end
93
- end
94
- class RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
95
- def description; end
96
- end
97
- class RSpec::Mocks::ArgumentMatchers::AnyArgMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
98
- def ===(_other); end
99
- def description; end
100
- end
101
- class RSpec::Mocks::ArgumentMatchers::NoArgsMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
102
- def description; end
103
- end
104
- class RSpec::Mocks::ArgumentMatchers::BooleanMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
105
- def ===(value); end
106
- def description; end
107
- end
108
- class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
109
- def ===(predicate, actual); end
110
- def description(name); end
111
- def formatted_expected_hash; end
112
- def initialize(expected); end
113
- end
114
- class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher < RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
115
- def ===(actual); end
116
- def description; end
117
- end
118
- class RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher < RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
119
- def ===(actual); end
120
- def description; end
121
- end
122
- class RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher
123
- def ===(actual); end
124
- def description; end
125
- def formatted_expected_values; end
126
- def initialize(expected); end
127
- end
128
- class RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
129
- def ===(value); end
130
- def description; end
131
- def initialize(*methods_to_respond_to); end
132
- end
133
- class RSpec::Mocks::ArgumentMatchers::InstanceOf
134
- def ===(actual); end
135
- def description; end
136
- def initialize(klass); end
137
- end
138
- class RSpec::Mocks::ArgumentMatchers::KindOf
139
- def ===(actual); end
140
- def description; end
141
- def initialize(klass); end
142
- end
143
- class RSpec::Mocks::ObjectReference
144
- def self.anonymous_module?(mod); end
145
- def self.for(object_module_or_name, allow_direct_object_refs = nil); end
146
- def self.name_of(mod); end
147
- end
148
- class RSpec::Mocks::DirectObjectReference
149
- def const_to_replace; end
150
- def defined?; end
151
- def description; end
152
- def initialize(object); end
153
- def target; end
154
- def when_loaded; end
155
- end
156
- class RSpec::Mocks::NamedObjectReference
157
- def const_to_replace; end
158
- def defined?; end
159
- def description; end
160
- def initialize(const_name); end
161
- def object; end
162
- def target; end
163
- def when_loaded; end
164
- end
165
- module RSpec::Mocks::ExampleMethods
166
- def allow(target); end
167
- def allow_any_instance_of(klass); end
168
- def allow_message_expectations_on_nil; end
169
- def class_double(doubled_class, *args); end
170
- def class_spy(*args); end
171
- def double(*args); end
172
- def expect_any_instance_of(klass); end
173
- def have_received(method_name, &block); end
174
- def hide_const(constant_name); end
175
- def instance_double(doubled_class, *args); end
176
- def instance_spy(*args); end
177
- def object_double(object_or_name, *args); end
178
- def object_spy(*args); end
179
- def receive(method_name, &block); end
180
- def receive_message_chain(*messages, &block); end
181
- def receive_messages(message_return_value_hash); end
182
- def self.declare_double(type, *args); end
183
- def self.declare_verifying_double(type, ref, *args); end
184
- def self.extended(object); end
185
- def self.included(klass); end
186
- def spy(*args); end
187
- def stub_const(constant_name, value, options = nil); end
188
- def without_partial_double_verification; end
189
- include RSpec::Mocks::ArgumentMatchers
190
- end
191
- module RSpec::Mocks::ExampleMethods::ExpectHost
192
- def expect(target); end
193
- end
194
- class RSpec::Mocks::Proxy
195
- def add_message_expectation(method_name, opts = nil, &block); end
196
- def add_simple_expectation(method_name, response, location); end
197
- def add_simple_stub(method_name, response); end
198
- def add_stub(method_name, opts = nil, &implementation); end
199
- def as_null_object; end
200
- def build_expectation(method_name); end
201
- def check_for_unexpected_arguments(expectation); end
202
- def ensure_implemented(*_args); end
203
- def find_almost_matching_expectation(method_name, *args); end
204
- def find_almost_matching_stub(method_name, *args); end
205
- def find_best_matching_expectation_for(method_name); end
206
- def find_matching_expectation(method_name, *args); end
207
- def find_matching_method_stub(method_name, *args); end
208
- def has_negative_expectation?(message); end
209
- def initialize(object, order_group, options = nil); end
210
- def message_received(message, *args, &block); end
211
- def messages_arg_list; end
212
- def method_double_for(message); end
213
- def method_double_if_exists_for_message(message); end
214
- def null_object?; end
215
- def object; end
216
- def original_method_handle_for(_message); end
217
- def prepended_modules_of_singleton_class; end
218
- def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end
219
- def raise_unexpected_message_error(method_name, args); end
220
- def received_message?(method_name, *args, &block); end
221
- def record_message_received(message, *args, &block); end
222
- def remove_stub(method_name); end
223
- def remove_stub_if_present(method_name); end
224
- def replay_received_message_on(expectation, &block); end
225
- def reset; end
226
- def self.prepended_modules_of(klass); end
227
- def verify; end
228
- def visibility_for(_method_name); end
229
- end
230
- class RSpec::Mocks::Proxy::SpecificMessage < Struct
231
- def ==(expectation); end
232
- def args; end
233
- def args=(_); end
234
- def message; end
235
- def message=(_); end
236
- def object; end
237
- def object=(_); end
238
- def self.[](*arg0); end
239
- def self.inspect; end
240
- def self.members; end
241
- def self.new(*arg0); end
242
- end
243
- class RSpec::Mocks::TestDoubleProxy < RSpec::Mocks::Proxy
244
- def reset; end
245
- end
246
- class RSpec::Mocks::PartialDoubleProxy < RSpec::Mocks::Proxy
247
- def add_simple_expectation(method_name, response, location); end
248
- def add_simple_stub(method_name, response); end
249
- def any_instance_class_recorder_observing_method?(klass, method_name); end
250
- def message_received(message, *args, &block); end
251
- def original_method_handle_for(message); end
252
- def reset; end
253
- def visibility_for(method_name); end
254
- end
255
- module RSpec::Mocks::PartialClassDoubleProxyMethods
256
- def initialize(source_space, *args); end
257
- def method_double_from_ancestor_for(message); end
258
- def original_method_handle_for(message); end
259
- def original_unbound_method_handle_from_ancestor_for(message); end
260
- def superclass_proxy; end
261
- end
262
- class RSpec::Mocks::PartialClassDoubleProxy < RSpec::Mocks::PartialDoubleProxy
263
- include RSpec::Mocks::PartialClassDoubleProxyMethods
264
- end
265
- class RSpec::Mocks::ProxyForNil < RSpec::Mocks::PartialDoubleProxy
266
- def add_message_expectation(method_name, opts = nil, &block); end
267
- def add_stub(method_name, opts = nil, &implementation); end
268
- def disallow_expectations; end
269
- def disallow_expectations=(arg0); end
270
- def initialize(order_group); end
271
- def raise_error(method_name); end
272
- def set_expectation_behavior; end
273
- def warn(method_name); end
274
- def warn_about_expectations; end
275
- def warn_about_expectations=(arg0); end
276
- def warn_or_raise!(method_name); end
277
- end
278
- module RSpec::Mocks::TestDouble
279
- def ==(other); end
280
- def __build_mock_proxy(order_group); end
281
- def __build_mock_proxy_unless_expired(order_group); end
282
- def __disallow_further_usage!; end
283
- def __mock_proxy; end
284
- def __raise_expired_error; end
285
- def as_null_object; end
286
- def assign_stubs(stubs); end
287
- def freeze; end
288
- def initialize(name = nil, stubs = nil); end
289
- def initialize_copy(other); end
290
- def inspect; end
291
- def method_missing(message, *args, &block); end
292
- def null_object?; end
293
- def respond_to?(message, incl_private = nil); end
294
- def to_s; end
295
- end
296
- class RSpec::Mocks::Double
297
- include RSpec::Mocks::TestDouble
298
- end
299
- module RSpec::Mocks::TestDoubleFormatter
300
- def self.format(dbl, unwrap = nil); end
301
- def self.name_desc(dbl); end
302
- def self.type_desc(dbl); end
303
- def self.verified_module_desc(dbl); end
304
- end
305
- class RSpec::Mocks::ArgumentListMatcher
306
- def args_match?(*args); end
307
- def ensure_expected_args_valid!; end
308
- def expected_args; end
309
- def initialize(*expected_args); end
310
- def replace_any_args_with_splat_of_anything(before_count, actual_args_count); end
311
- def resolve_expected_args_based_on(actual_args); end
312
- end
313
- class RSpec::Mocks::SimpleMessageExpectation
314
- def called_max_times?; end
315
- def initialize(message, response, error_generator, backtrace_line = nil); end
316
- def invoke(*_); end
317
- def matches?(message, *_); end
318
- def unadvise(_); end
319
- def verify_messages_received; end
320
- end
321
- class RSpec::Mocks::MessageExpectation
322
- def and_call_original; end
323
- def and_raise(*args); end
324
- def and_return(first_value, *values); end
325
- def and_throw(*args); end
326
- def and_wrap_original(&block); end
327
- def and_yield(*args, &block); end
328
- def at_least(n, &block); end
329
- def at_most(n, &block); end
330
- def exactly(n, &block); end
331
- def inspect; end
332
- def never; end
333
- def once(&block); end
334
- def ordered(&block); end
335
- def thrice(&block); end
336
- def time(&block); end
337
- def times(&block); end
338
- def to_s; end
339
- def twice(&block); end
340
- def with(*args, &block); end
341
- include RSpec::Mocks::MessageExpectation::ImplementationDetails
342
- end
343
- module RSpec::Mocks::MessageExpectation::ImplementationDetails
344
- def actual_received_count_matters?; end
345
- def additional_expected_calls; end
346
- def advise(*args); end
347
- def and_yield_receiver_to_implementation; end
348
- def argument_list_matcher=(arg0); end
349
- def called_max_times?; end
350
- def description_for(verb); end
351
- def ensure_expected_ordering_received!; end
352
- def error_generator; end
353
- def error_generator=(arg0); end
354
- def exception_source_id; end
355
- def expectation_count_type; end
356
- def expected_args; end
357
- def expected_from=(arg0); end
358
- def expected_messages_received?; end
359
- def expected_received_count=(arg0); end
360
- def generate_error; end
361
- def has_been_invoked?; end
362
- def ignoring_args?; end
363
- def implementation; end
364
- def implementation=(arg0); end
365
- def increase_actual_received_count!; end
366
- def initial_implementation_action=(action); end
367
- def initialize(error_generator, expectation_ordering, expected_from, method_double, type = nil, opts = nil, &implementation_block); end
368
- def inner_implementation_action=(action); end
369
- def invoke(parent_stub, *args, &block); end
370
- def invoke_incrementing_actual_calls_by(increment, allowed_to_fail, parent_stub, *args, &block); end
371
- def invoke_without_incrementing_received_count(parent_stub, *args, &block); end
372
- def matches?(message, *args); end
373
- def matches_at_least_count?; end
374
- def matches_at_most_count?; end
375
- def matches_exact_count?; end
376
- def matches_name_but_not_args(message, *args); end
377
- def message; end
378
- def negative?; end
379
- def negative_expectation_for?(message); end
380
- def ordered?; end
381
- def orig_object; end
382
- def raise_already_invoked_error_if_necessary(calling_customization); end
383
- def raise_out_of_order_error; end
384
- def raise_unexpected_message_args_error(args_for_multiple_calls); end
385
- def safe_invoke(parent_stub, *args, &block); end
386
- def set_expected_received_count(relativity, n); end
387
- def similar_messages; end
388
- def terminal_implementation_action=(action); end
389
- def type; end
390
- def unadvise(args); end
391
- def verify_messages_received; end
392
- def warn_about_stub_override; end
393
- def wrap_original(method_name, &block); end
394
- def yield_receiver_to_implementation_block?; end
395
- end
396
- class RSpec::Mocks::AndYieldImplementation
397
- def call(*_args_to_ignore, &block); end
398
- def initialize(args_to_yield, eval_context, error_generator); end
399
- end
400
- class RSpec::Mocks::AndReturnImplementation
401
- def call(*_args_to_ignore, &_block); end
402
- def initialize(values_to_return); end
403
- end
404
- class RSpec::Mocks::Implementation
405
- def actions; end
406
- def call(*args, &block); end
407
- def initial_action; end
408
- def initial_action=(arg0); end
409
- def inner_action; end
410
- def inner_action=(arg0); end
411
- def present?; end
412
- def terminal_action; end
413
- def terminal_action=(arg0); end
414
- end
415
- class RSpec::Mocks::AndWrapOriginalImplementation
416
- def call(*args, &block); end
417
- def cannot_modify_further_error; end
418
- def initial_action=(_value); end
419
- def initialize(method, block); end
420
- def inner_action; end
421
- def inner_action=(_value); end
422
- def present?; end
423
- def terminal_action=(_value); end
424
- end
425
- class RSpec::Mocks::AndWrapOriginalImplementation::CannotModifyFurtherError < StandardError
426
- end
427
- class RSpec::Mocks::OrderGroup
428
- def clear; end
429
- def consume; end
430
- def empty?; end
431
- def expectation_for(message); end
432
- def expectations_invoked_in_order?; end
433
- def expected_invocations; end
434
- def handle_order_constraint(expectation); end
435
- def initialize; end
436
- def invoked(message); end
437
- def invoked_expectations; end
438
- def ready_for?(expectation); end
439
- def register(expectation); end
440
- def remaining_expectations; end
441
- def verify_invocation_order(expectation); end
442
- end
443
- class RSpec::Mocks::MockExpectationError < Exception
444
- end
445
- class RSpec::Mocks::ExpiredTestDoubleError < RSpec::Mocks::MockExpectationError
446
- end
447
- class RSpec::Mocks::OutsideOfExampleError < StandardError
448
- end
449
- class RSpec::Mocks::MockExpectationAlreadyInvokedError < Exception
450
- end
451
- class RSpec::Mocks::CannotSupportArgMutationsError < StandardError
452
- end
453
- class RSpec::Mocks::UnsupportedMatcherError < StandardError
454
- end
455
- class RSpec::Mocks::NegationUnsupportedError < StandardError
456
- end
457
- class RSpec::Mocks::VerifyingDoubleNotDefinedError < StandardError
458
- end
459
- class RSpec::Mocks::ErrorGenerator
460
- def __raise(message, backtrace_line = nil, source_id = nil); end
461
- def arg_list(args); end
462
- def count_message(count, expectation_count_type = nil); end
463
- def default_error_message(expectation, expected_args, actual_args); end
464
- def describe_expectation(verb, message, expected_received_count, _actual_received_count, args); end
465
- def diff_message(expected_args, actual_args); end
466
- def differ; end
467
- def error_message(expectation, args_for_multiple_calls); end
468
- def expectation_on_nil_message(method_name); end
469
- def expected_part_of_expectation_error(expected_received_count, expectation_count_type, argument_list_matcher); end
470
- def format_args(args); end
471
- def format_received_args(args_for_multiple_calls); end
472
- def group_count(index, args); end
473
- def grouped_args(args); end
474
- def initialize(target = nil); end
475
- def intro(unwrapped = nil); end
476
- def list_of_exactly_one_string?(args); end
477
- def method_call_args_description(args, generic_prefix = nil, matcher_prefix = nil); end
478
- def notify(*args); end
479
- def opts; end
480
- def opts=(arg0); end
481
- def prepend_to_backtrace(exception, line); end
482
- def raise_already_invoked_error(message, calling_customization); end
483
- def raise_cant_constrain_count_for_negated_have_received_error(count_constraint); end
484
- def raise_double_negation_error(wrapped_expression); end
485
- def raise_expectation_error(message, expected_received_count, argument_list_matcher, actual_received_count, expectation_count_type, args, backtrace_line = nil, source_id = nil); end
486
- def raise_expectation_on_mocked_method(method); end
487
- def raise_expectation_on_nil_error(method_name); end
488
- def raise_expectation_on_unstubbed_method(method); end
489
- def raise_expired_test_double_error; end
490
- def raise_have_received_disallowed(type, reason); end
491
- def raise_invalid_arguments_error(verifier); end
492
- def raise_method_not_stubbed_error(method_name); end
493
- def raise_missing_block_error(args_to_yield); end
494
- def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end
495
- def raise_non_public_error(method_name, visibility); end
496
- def raise_only_valid_on_a_partial_double(method); end
497
- def raise_out_of_order_error(message); end
498
- def raise_similar_message_args_error(expectation, args_for_multiple_calls, backtrace_line = nil); end
499
- def raise_unexpected_message_args_error(expectation, args_for_multiple_calls, source_id = nil); end
500
- def raise_unexpected_message_error(message, args); end
501
- def raise_unimplemented_error(doubled_module, method_name, object); end
502
- def raise_verifying_double_not_defined_error(ref); end
503
- def raise_wrong_arity_error(args_to_yield, signature); end
504
- def received_part_of_expectation_error(actual_received_count, args); end
505
- def times(count); end
506
- def unexpected_arguments_message(expected_args_string, actual_args_string); end
507
- def unpack_string_args(formatted_expected_args, actual_args); end
508
- end
509
- class RSpec::Mocks::RootSpace
510
- def any_instance_proxy_for(*_args); end
511
- def any_instance_recorder_for(*_args); end
512
- def any_instance_recorders_from_ancestry_of(_object); end
513
- def new_scope; end
514
- def proxy_for(*_args); end
515
- def raise_lifecycle_message; end
516
- def register_constant_mutator(_mutator); end
517
- def registered?(_object); end
518
- def reset_all; end
519
- def superclass_proxy_for(*_args); end
520
- def verify_all; end
521
- end
522
- class RSpec::Mocks::Space
523
- def any_instance_mutex; end
524
- def any_instance_proxy_for(klass); end
525
- def any_instance_recorder_for(klass, only_return_existing = nil); end
526
- def any_instance_recorder_not_found_for(id, klass); end
527
- def any_instance_recorders; end
528
- def any_instance_recorders_from_ancestry_of(object); end
529
- def class_proxy_with_callback_verification_strategy(object, strategy); end
530
- def constant_mutator_for(name); end
531
- def ensure_registered(object); end
532
- def id_for(object); end
533
- def initialize; end
534
- def new_mutex; end
535
- def new_scope; end
536
- def proxies; end
537
- def proxies_of(klass); end
538
- def proxy_for(object); end
539
- def proxy_mutex; end
540
- def proxy_not_found_for(id, object); end
541
- def register_constant_mutator(mutator); end
542
- def registered?(object); end
543
- def reset_all; end
544
- def superclass_proxy_for(klass); end
545
- def superclass_proxy_not_found_for(id, object); end
546
- def verify_all; end
547
- end
548
- class RSpec::Mocks::NestedSpace < RSpec::Mocks::Space
549
- def any_instance_recorder_not_found_for(id, klass); end
550
- def constant_mutator_for(name); end
551
- def initialize(parent); end
552
- def proxies_of(klass); end
553
- def proxy_not_found_for(id, object); end
554
- def registered?(object); end
555
- end
556
- class RSpec::Mocks::Constant
557
- def hidden=(arg0); end
558
- def hidden?; end
559
- def initialize(name); end
560
- def inspect; end
561
- def mutated?; end
562
- def name; end
563
- def original_value; end
564
- def original_value=(arg0); end
565
- def previously_defined=(arg0); end
566
- def previously_defined?; end
567
- def self.original(name); end
568
- def self.unmutated(name); end
569
- def stubbed=(arg0); end
570
- def stubbed?; end
571
- def to_s; end
572
- def valid_name=(arg0); end
573
- def valid_name?; end
574
- extend RSpec::Support::RecursiveConstMethods
575
- end
576
- class RSpec::Mocks::ConstantMutator
577
- def self.hide(constant_name); end
578
- def self.mutate(mutator); end
579
- def self.raise_on_invalid_const; end
580
- def self.stub(constant_name, value, options = nil); end
581
- extend RSpec::Support::RecursiveConstMethods
582
- end
583
- class RSpec::Mocks::ConstantMutator::BaseMutator
584
- def full_constant_name; end
585
- def idempotently_reset; end
586
- def initialize(full_constant_name, mutated_value, transfer_nested_constants); end
587
- def original_value; end
588
- def to_constant; end
589
- include RSpec::Support::RecursiveConstMethods
590
- end
591
- class RSpec::Mocks::ConstantMutator::ConstantHider < RSpec::Mocks::ConstantMutator::BaseMutator
592
- def mutate; end
593
- def reset; end
594
- def to_constant; end
595
- end
596
- class RSpec::Mocks::ConstantMutator::DefinedConstantReplacer < RSpec::Mocks::ConstantMutator::BaseMutator
597
- def initialize(*args); end
598
- def mutate; end
599
- def reset; end
600
- def should_transfer_nested_constants?; end
601
- def to_constant; end
602
- def transfer_nested_constants; end
603
- def verify_constants_to_transfer!; end
604
- end
605
- class RSpec::Mocks::ConstantMutator::UndefinedConstantSetter < RSpec::Mocks::ConstantMutator::BaseMutator
606
- def mutate; end
607
- def name_for(parent, name); end
608
- def reset; end
609
- def to_constant; end
610
- end
611
- module RSpec::Mocks::TargetDelegationClassMethods
612
- def delegate_not_to(matcher_method, options = nil); end
613
- def delegate_to(matcher_method); end
614
- def disallow_negation(method_name); end
615
- end
616
- module RSpec::Mocks::TargetDelegationInstanceMethods
617
- def define_matcher(matcher, name, &block); end
618
- def matcher_allowed?(matcher); end
619
- def raise_negation_unsupported(method_name, matcher); end
620
- def raise_unsupported_matcher(method_name, matcher); end
621
- def target; end
622
- end
623
- class RSpec::Mocks::TargetBase
624
- def initialize(target); end
625
- extend RSpec::Mocks::TargetDelegationClassMethods
626
- include RSpec::Mocks::TargetDelegationInstanceMethods
627
- end
628
- module RSpec::Mocks::ExpectationTargetMethods
629
- def expression; end
630
- def not_to(matcher, &block); end
631
- def to(matcher, &block); end
632
- def to_not(matcher, &block); end
633
- extend RSpec::Mocks::TargetDelegationClassMethods
634
- include RSpec::Mocks::TargetDelegationInstanceMethods
635
- end
636
- class RSpec::Mocks::ExpectationTarget < RSpec::Mocks::TargetBase
637
- include RSpec::Mocks::ExpectationTargetMethods
638
- end
639
- class RSpec::Mocks::AllowanceTarget < RSpec::Mocks::TargetBase
640
- def expression; end
641
- def not_to(matcher, *_args); end
642
- def to(matcher, &block); end
643
- def to_not(matcher, *_args); end
644
- end
645
- class RSpec::Mocks::AnyInstanceAllowanceTarget < RSpec::Mocks::TargetBase
646
- def expression; end
647
- def not_to(matcher, *_args); end
648
- def to(matcher, &block); end
649
- def to_not(matcher, *_args); end
650
- end
651
- class RSpec::Mocks::AnyInstanceExpectationTarget < RSpec::Mocks::TargetBase
652
- def expression; end
653
- def not_to(matcher, &block); end
654
- def to(matcher, &block); end
655
- def to_not(matcher, &block); end
656
- end
657
- module RSpec::Mocks::Syntax
658
- def self.default_should_syntax_host; end
659
- def self.disable_expect(syntax_host = nil); end
660
- def self.disable_should(syntax_host = nil); end
661
- def self.enable_expect(syntax_host = nil); end
662
- def self.enable_should(syntax_host = nil); end
663
- def self.expect_enabled?(syntax_host = nil); end
664
- def self.should_enabled?(syntax_host = nil); end
665
- def self.warn_about_should!; end
666
- def self.warn_unless_should_configured(method_name, replacement = nil); end
667
- end
668
- class BasicObject
669
- end
670
- class Class < Module
671
- end
672
- class RSpec::Mocks::Configuration
673
- def add_stub_and_should_receive_to(*modules); end
674
- def allow_message_expectations_on_nil; end
675
- def allow_message_expectations_on_nil=(arg0); end
676
- def before_verifying_doubles(&block); end
677
- def color?; end
678
- def initialize; end
679
- def patch_marshal_to_support_partial_doubles=(val); end
680
- def reset_syntaxes_to_default; end
681
- def syntax; end
682
- def syntax=(*values); end
683
- def temporarily_suppress_partial_double_verification; end
684
- def temporarily_suppress_partial_double_verification=(arg0); end
685
- def transfer_nested_constants=(arg0); end
686
- def transfer_nested_constants?; end
687
- def verify_doubled_constant_names=(arg0); end
688
- def verify_doubled_constant_names?; end
689
- def verify_partial_doubles=(val); end
690
- def verify_partial_doubles?; end
691
- def verifying_double_callbacks; end
692
- def when_declaring_verifying_double(&block); end
693
- def yield_receiver_to_any_instance_implementation_blocks=(arg0); end
694
- def yield_receiver_to_any_instance_implementation_blocks?; end
695
- end
696
- class RSpec::Mocks::VerifyingMessageExpectation < RSpec::Mocks::MessageExpectation
697
- def initialize(*args); end
698
- def method_reference; end
699
- def method_reference=(arg0); end
700
- def validate_expected_arguments!; end
701
- def with(*args, &block); end
702
- end
703
- class RSpec::Mocks::MethodReference
704
- def defined?; end
705
- def implemented?; end
706
- def initialize(object_reference, method_name); end
707
- def original_method; end
708
- def self.for(object_reference, method_name); end
709
- def self.instance_method_visibility_for(klass, method_name); end
710
- def self.method_defined_at_any_visibility?(klass, method_name); end
711
- def self.method_visibility_for(object, method_name); end
712
- def unimplemented?; end
713
- def visibility; end
714
- def with_signature; end
715
- end
716
- class RSpec::Mocks::InstanceMethodReference < RSpec::Mocks::MethodReference
717
- def find_method(mod); end
718
- def method_defined?(mod); end
719
- def method_implemented?(mod); end
720
- def visibility_from(mod); end
721
- end
722
- class RSpec::Mocks::ObjectMethodReference < RSpec::Mocks::MethodReference
723
- def find_method(object); end
724
- def method_defined?(object); end
725
- def method_implemented?(object); end
726
- def self.for(object_reference, method_name); end
727
- def visibility_from(object); end
728
- end
729
- class RSpec::Mocks::ClassNewMethodReference < RSpec::Mocks::ObjectMethodReference
730
- def self.applies_to?(method_name); end
731
- def with_signature; end
732
- end
733
- class RSpec::Mocks::CallbackInvocationStrategy
734
- def call(doubled_module); end
735
- end
736
- class RSpec::Mocks::NoCallbackInvocationStrategy
737
- def call(_doubled_module); end
738
- end
739
- module RSpec::Mocks::VerifyingProxyMethods
740
- def add_message_expectation(method_name, opts = nil, &block); end
741
- def add_simple_stub(method_name, *args); end
742
- def add_stub(method_name, opts = nil, &implementation); end
743
- def ensure_implemented(method_name); end
744
- def ensure_publicly_implemented(method_name, _object); end
745
- end
746
- class RSpec::Mocks::VerifyingProxy < RSpec::Mocks::TestDoubleProxy
747
- def initialize(object, order_group, doubled_module, method_reference_class); end
748
- def method_reference; end
749
- def validate_arguments!(method_name, args); end
750
- def visibility_for(method_name); end
751
- include RSpec::Mocks::VerifyingProxyMethods
752
- end
753
- class RSpec::Mocks::VerifyingPartialDoubleProxy < RSpec::Mocks::PartialDoubleProxy
754
- def ensure_implemented(_method_name); end
755
- def initialize(object, expectation_ordering, optional_callback_invocation_strategy = nil); end
756
- def method_reference; end
757
- include RSpec::Mocks::VerifyingProxyMethods
758
- end
759
- class RSpec::Mocks::VerifyingPartialClassDoubleProxy < RSpec::Mocks::VerifyingPartialDoubleProxy
760
- include RSpec::Mocks::PartialClassDoubleProxyMethods
761
- end
762
- class RSpec::Mocks::VerifyingMethodDouble < RSpec::Mocks::MethodDouble
763
- def add_expectation(*args, &block); end
764
- def add_stub(*args, &block); end
765
- def initialize(object, method_name, proxy, method_reference); end
766
- def message_expectation_class; end
767
- def proxy_method_invoked(obj, *args, &block); end
768
- def validate_arguments!(actual_args); end
769
- end
770
- class RSpec::Mocks::VerifyingExistingMethodDouble < RSpec::Mocks::VerifyingMethodDouble
771
- def initialize(object, method_name, proxy); end
772
- def self.for(object, method_name, proxy); end
773
- def unimplemented?; end
774
- def with_signature; end
775
- end
776
- class RSpec::Mocks::VerifyingExistingClassNewMethodDouble < RSpec::Mocks::VerifyingExistingMethodDouble
777
- def with_signature; end
778
- end
779
- module RSpec::Mocks::VerifyingDouble
780
- def __send__(name, *args, &block); end
781
- def initialize(doubled_module, *args); end
782
- def method_missing(message, *args, &block); end
783
- def respond_to?(message, include_private = nil); end
784
- def send(name, *args, &block); end
785
- end
786
- module RSpec::Mocks::VerifyingDouble::SilentIO
787
- def self.method_missing(*arg0); end
788
- def self.respond_to?(*arg0); end
789
- end
790
- class RSpec::Mocks::InstanceVerifyingDouble
791
- def __build_mock_proxy(order_group); end
792
- include RSpec::Mocks::TestDouble
793
- include RSpec::Mocks::VerifyingDouble
794
- end
795
- module RSpec::Mocks::ObjectVerifyingDoubleMethods
796
- def __build_mock_proxy(order_group); end
797
- def as_stubbed_const(options = nil); end
798
- include RSpec::Mocks::TestDouble
799
- include RSpec::Mocks::VerifyingDouble
800
- end
801
- class RSpec::Mocks::ObjectVerifyingDouble
802
- include RSpec::Mocks::ObjectVerifyingDoubleMethods
803
- end
804
- class RSpec::Mocks::ClassVerifyingDouble < Module
805
- include RSpec::Mocks::ObjectVerifyingDoubleMethods
806
- end
807
- module RSpec::Mocks::Version
808
- end
809
- module RSpec::Support
810
- def self.require_rspec_mocks(f); end
811
- end
812
- module RSpec::Mocks::Matchers
813
- end
814
- module RSpec::Mocks::Matchers::Matcher
815
- end
816
- class RSpec::Mocks::MarshalExtension
817
- def self.patch!; end
818
- def self.unpatch!; end
819
- end