yard-sorbet 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.editorconfig +9 -0
- data/.gitignore +40 -0
- data/.rspec +1 -0
- data/.rubocop.yml +47 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile +14 -0
- data/LICENSE +201 -0
- data/README.md +17 -0
- data/Rakefile +11 -0
- data/lib/yard-sorbet.rb +12 -0
- data/lib/yard-sorbet/directives.rb +24 -0
- data/lib/yard-sorbet/sig_handler.rb +131 -0
- data/lib/yard-sorbet/sig_to_yard.rb +91 -0
- data/lib/yard-sorbet/struct_handler.rb +94 -0
- data/lib/yard-sorbet/version.rb +6 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/ast.rbi +47 -0
- data/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/sorbet/rbi/gems/codecov.rbi +19 -0
- data/sorbet/rbi/gems/coderay.rbi +91 -0
- data/sorbet/rbi/gems/docile.rbi +31 -0
- data/sorbet/rbi/gems/jaro_winkler.rbi +14 -0
- data/sorbet/rbi/gems/method_source.rbi +63 -0
- data/sorbet/rbi/gems/parallel.rbi +81 -0
- data/sorbet/rbi/gems/parser.rbi +920 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +149 -0
- data/sorbet/rbi/gems/pry.rbi +1964 -0
- data/sorbet/rbi/gems/rainbow.rbi +117 -0
- data/sorbet/rbi/gems/rake.rbi +635 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1686 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +387 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +819 -0
- data/sorbet/rbi/gems/rspec-support.rbi +270 -0
- data/sorbet/rbi/gems/rspec.rbi +14 -0
- data/sorbet/rbi/gems/rubocop-rspec.rbi +889 -0
- data/sorbet/rbi/gems/rubocop.rbi +7139 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +30 -0
- data/sorbet/rbi/gems/simplecov.rbi +225 -0
- data/sorbet/rbi/gems/site_ruby.rbi +114 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +16 -0
- data/sorbet/rbi/gems/yard.rbi +1181 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +3045 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +4469 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/data/sig_handler.rb.txt +196 -0
- data/spec/data/struct_handler.rb.txt +25 -0
- data/spec/spec_helper.rb +111 -0
- data/spec/yard_sorbet/sig_handler_spec.rb +233 -0
- data/spec/yard_sorbet/struct_handler_spec.rb +48 -0
- data/yard-sorbet.gemspec +27 -0
- metadata +159 -6
@@ -0,0 +1,4469 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi hidden-definitions
|
3
|
+
|
4
|
+
# typed: autogenerated
|
5
|
+
|
6
|
+
class Array
|
7
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Array
|
8
|
+
def bsearch(); end
|
9
|
+
|
10
|
+
def bsearch_index(); end
|
11
|
+
|
12
|
+
def collect!(); end
|
13
|
+
|
14
|
+
def deconstruct(); end
|
15
|
+
|
16
|
+
def dig(*_); end
|
17
|
+
|
18
|
+
def flatten!(*_); end
|
19
|
+
|
20
|
+
def intersection(*_); end
|
21
|
+
|
22
|
+
def pack(fmt, buffer: T.unsafe(nil)); end
|
23
|
+
|
24
|
+
def replace(_); end
|
25
|
+
|
26
|
+
def shelljoin(); end
|
27
|
+
|
28
|
+
def to_h(); end
|
29
|
+
end
|
30
|
+
|
31
|
+
class Array
|
32
|
+
def self.try_convert(_); end
|
33
|
+
end
|
34
|
+
|
35
|
+
BasicObject::BasicObject = BasicObject
|
36
|
+
|
37
|
+
class BigDecimal
|
38
|
+
def clone(); end
|
39
|
+
EXCEPTION_NaN = ::T.let(nil, ::T.untyped)
|
40
|
+
SIGN_NaN = ::T.let(nil, ::T.untyped)
|
41
|
+
VERSION = ::T.let(nil, ::T.untyped)
|
42
|
+
end
|
43
|
+
|
44
|
+
class BigDecimal
|
45
|
+
def self.interpret_loosely(_); end
|
46
|
+
end
|
47
|
+
|
48
|
+
class Binding
|
49
|
+
def clone(); end
|
50
|
+
|
51
|
+
def irb(); end
|
52
|
+
end
|
53
|
+
|
54
|
+
class Bundler::Dependency
|
55
|
+
def branch(); end
|
56
|
+
|
57
|
+
def expanded_platforms(); end
|
58
|
+
|
59
|
+
def git(); end
|
60
|
+
end
|
61
|
+
|
62
|
+
Bundler::Deprecate = Gem::Deprecate
|
63
|
+
|
64
|
+
class Bundler::Env
|
65
|
+
end
|
66
|
+
|
67
|
+
class Bundler::Env
|
68
|
+
def self.environment(); end
|
69
|
+
|
70
|
+
def self.report(options=T.unsafe(nil)); end
|
71
|
+
|
72
|
+
def self.write(io); end
|
73
|
+
end
|
74
|
+
|
75
|
+
class Bundler::Fetcher
|
76
|
+
def fetch_spec(spec); end
|
77
|
+
|
78
|
+
def fetchers(); end
|
79
|
+
|
80
|
+
def http_proxy(); end
|
81
|
+
|
82
|
+
def initialize(remote); end
|
83
|
+
|
84
|
+
def specs(gem_names, source); end
|
85
|
+
|
86
|
+
def specs_with_retry(gem_names, source); end
|
87
|
+
|
88
|
+
def uri(); end
|
89
|
+
|
90
|
+
def use_api(); end
|
91
|
+
|
92
|
+
def user_agent(); end
|
93
|
+
FAIL_ERRORS = ::T.let(nil, ::T.untyped)
|
94
|
+
FETCHERS = ::T.let(nil, ::T.untyped)
|
95
|
+
HTTP_ERRORS = ::T.let(nil, ::T.untyped)
|
96
|
+
NET_ERRORS = ::T.let(nil, ::T.untyped)
|
97
|
+
end
|
98
|
+
|
99
|
+
class Bundler::Fetcher::AuthenticationRequiredError
|
100
|
+
def initialize(remote_uri); end
|
101
|
+
end
|
102
|
+
|
103
|
+
class Bundler::Fetcher::BadAuthenticationError
|
104
|
+
def initialize(remote_uri); end
|
105
|
+
end
|
106
|
+
|
107
|
+
class Bundler::Fetcher::Base
|
108
|
+
def api_fetcher?(); end
|
109
|
+
|
110
|
+
def available?(); end
|
111
|
+
|
112
|
+
def display_uri(); end
|
113
|
+
|
114
|
+
def downloader(); end
|
115
|
+
|
116
|
+
def fetch_uri(); end
|
117
|
+
|
118
|
+
def initialize(downloader, remote, display_uri); end
|
119
|
+
|
120
|
+
def remote(); end
|
121
|
+
|
122
|
+
def remote_uri(); end
|
123
|
+
end
|
124
|
+
|
125
|
+
class Bundler::Fetcher::Base
|
126
|
+
end
|
127
|
+
|
128
|
+
class Bundler::Fetcher::CertificateFailureError
|
129
|
+
def initialize(remote_uri); end
|
130
|
+
end
|
131
|
+
|
132
|
+
class Bundler::Fetcher::CompactIndex
|
133
|
+
def available?(*args, &blk); end
|
134
|
+
|
135
|
+
def fetch_spec(*args, &blk); end
|
136
|
+
|
137
|
+
def specs(*args, &blk); end
|
138
|
+
|
139
|
+
def specs_for_names(gem_names); end
|
140
|
+
end
|
141
|
+
|
142
|
+
class Bundler::Fetcher::CompactIndex::ClientFetcher
|
143
|
+
def call(path, headers); end
|
144
|
+
|
145
|
+
def fetcher(); end
|
146
|
+
|
147
|
+
def fetcher=(_); end
|
148
|
+
|
149
|
+
def ui(); end
|
150
|
+
|
151
|
+
def ui=(_); end
|
152
|
+
end
|
153
|
+
|
154
|
+
class Bundler::Fetcher::CompactIndex::ClientFetcher
|
155
|
+
def self.[](*_); end
|
156
|
+
|
157
|
+
def self.members(); end
|
158
|
+
end
|
159
|
+
|
160
|
+
class Bundler::Fetcher::CompactIndex
|
161
|
+
def self.compact_index_request(method_name); end
|
162
|
+
end
|
163
|
+
|
164
|
+
class Bundler::Fetcher::Dependency
|
165
|
+
def dependency_api_uri(gem_names=T.unsafe(nil)); end
|
166
|
+
|
167
|
+
def dependency_specs(gem_names); end
|
168
|
+
|
169
|
+
def get_formatted_specs_and_deps(gem_list); end
|
170
|
+
|
171
|
+
def specs(gem_names, full_dependency_list=T.unsafe(nil), last_spec_list=T.unsafe(nil)); end
|
172
|
+
|
173
|
+
def unmarshalled_dep_gems(gem_names); end
|
174
|
+
end
|
175
|
+
|
176
|
+
class Bundler::Fetcher::Dependency
|
177
|
+
end
|
178
|
+
|
179
|
+
class Bundler::Fetcher::Downloader
|
180
|
+
def connection(); end
|
181
|
+
|
182
|
+
def fetch(uri, headers=T.unsafe(nil), counter=T.unsafe(nil)); end
|
183
|
+
|
184
|
+
def initialize(connection, redirect_limit); end
|
185
|
+
|
186
|
+
def redirect_limit(); end
|
187
|
+
|
188
|
+
def request(uri, headers); end
|
189
|
+
end
|
190
|
+
|
191
|
+
class Bundler::Fetcher::Downloader
|
192
|
+
end
|
193
|
+
|
194
|
+
class Bundler::Fetcher::Index
|
195
|
+
def fetch_spec(spec); end
|
196
|
+
|
197
|
+
def specs(_gem_names); end
|
198
|
+
end
|
199
|
+
|
200
|
+
class Bundler::Fetcher::Index
|
201
|
+
end
|
202
|
+
|
203
|
+
class Bundler::Fetcher::SSLError
|
204
|
+
def initialize(msg=T.unsafe(nil)); end
|
205
|
+
end
|
206
|
+
|
207
|
+
class Bundler::Fetcher::TooManyRequestsError
|
208
|
+
end
|
209
|
+
|
210
|
+
class Bundler::Fetcher::TooManyRequestsError
|
211
|
+
end
|
212
|
+
|
213
|
+
class Bundler::Fetcher
|
214
|
+
def self.api_timeout(); end
|
215
|
+
|
216
|
+
def self.api_timeout=(api_timeout); end
|
217
|
+
|
218
|
+
def self.disable_endpoint(); end
|
219
|
+
|
220
|
+
def self.disable_endpoint=(disable_endpoint); end
|
221
|
+
|
222
|
+
def self.max_retries(); end
|
223
|
+
|
224
|
+
def self.max_retries=(max_retries); end
|
225
|
+
|
226
|
+
def self.redirect_limit(); end
|
227
|
+
|
228
|
+
def self.redirect_limit=(redirect_limit); end
|
229
|
+
end
|
230
|
+
|
231
|
+
module Bundler::FileUtils
|
232
|
+
VERSION = ::T.let(nil, ::T.untyped)
|
233
|
+
end
|
234
|
+
|
235
|
+
class Bundler::FileUtils::Entry_
|
236
|
+
def link(dest); end
|
237
|
+
end
|
238
|
+
|
239
|
+
module Bundler::FileUtils
|
240
|
+
def self.cp_lr(src, dest, noop: T.unsafe(nil), verbose: T.unsafe(nil), dereference_root: T.unsafe(nil), remove_destination: T.unsafe(nil)); end
|
241
|
+
|
242
|
+
def self.link_entry(src, dest, dereference_root=T.unsafe(nil), remove_destination=T.unsafe(nil)); end
|
243
|
+
end
|
244
|
+
|
245
|
+
class Bundler::GemHelper
|
246
|
+
def allowed_push_host(); end
|
247
|
+
|
248
|
+
def already_tagged?(); end
|
249
|
+
|
250
|
+
def base(); end
|
251
|
+
|
252
|
+
def build_gem(); end
|
253
|
+
|
254
|
+
def built_gem_path(); end
|
255
|
+
|
256
|
+
def clean?(); end
|
257
|
+
|
258
|
+
def committed?(); end
|
259
|
+
|
260
|
+
def gem_command(); end
|
261
|
+
|
262
|
+
def gem_key(); end
|
263
|
+
|
264
|
+
def gem_push?(); end
|
265
|
+
|
266
|
+
def gem_push_host(); end
|
267
|
+
|
268
|
+
def gemspec(); end
|
269
|
+
|
270
|
+
def git_push(remote=T.unsafe(nil)); end
|
271
|
+
|
272
|
+
def guard_clean(); end
|
273
|
+
|
274
|
+
def initialize(base=T.unsafe(nil), name=T.unsafe(nil)); end
|
275
|
+
|
276
|
+
def install(); end
|
277
|
+
|
278
|
+
def install_gem(built_gem_path=T.unsafe(nil), local=T.unsafe(nil)); end
|
279
|
+
|
280
|
+
def name(); end
|
281
|
+
|
282
|
+
def perform_git_push(options=T.unsafe(nil)); end
|
283
|
+
|
284
|
+
def rubygem_push(path); end
|
285
|
+
|
286
|
+
def sh(cmd, &block); end
|
287
|
+
|
288
|
+
def sh_with_input(cmd); end
|
289
|
+
|
290
|
+
def sh_with_status(cmd, &block); end
|
291
|
+
|
292
|
+
def spec_path(); end
|
293
|
+
|
294
|
+
def tag_version(); end
|
295
|
+
|
296
|
+
def version(); end
|
297
|
+
|
298
|
+
def version_tag(); end
|
299
|
+
end
|
300
|
+
|
301
|
+
class Bundler::GemHelper
|
302
|
+
def self.gemspec(&block); end
|
303
|
+
|
304
|
+
def self.install_tasks(opts=T.unsafe(nil)); end
|
305
|
+
|
306
|
+
def self.instance(); end
|
307
|
+
|
308
|
+
def self.instance=(instance); end
|
309
|
+
end
|
310
|
+
|
311
|
+
class Bundler::GemVersionPromoter
|
312
|
+
def initialize(locked_specs=T.unsafe(nil), unlock_gems=T.unsafe(nil)); end
|
313
|
+
|
314
|
+
def level(); end
|
315
|
+
|
316
|
+
def level=(value); end
|
317
|
+
|
318
|
+
def locked_specs(); end
|
319
|
+
|
320
|
+
def major?(); end
|
321
|
+
|
322
|
+
def minor?(); end
|
323
|
+
|
324
|
+
def prerelease_specified(); end
|
325
|
+
|
326
|
+
def prerelease_specified=(prerelease_specified); end
|
327
|
+
|
328
|
+
def sort_versions(dep, spec_groups); end
|
329
|
+
|
330
|
+
def strict(); end
|
331
|
+
|
332
|
+
def strict=(strict); end
|
333
|
+
|
334
|
+
def unlock_gems(); end
|
335
|
+
DEBUG = ::T.let(nil, ::T.untyped)
|
336
|
+
end
|
337
|
+
|
338
|
+
class Bundler::GemVersionPromoter
|
339
|
+
end
|
340
|
+
|
341
|
+
class Bundler::Graph
|
342
|
+
def edge_options(); end
|
343
|
+
|
344
|
+
def groups(); end
|
345
|
+
|
346
|
+
def initialize(env, output_file, show_version=T.unsafe(nil), show_requirements=T.unsafe(nil), output_format=T.unsafe(nil), without=T.unsafe(nil)); end
|
347
|
+
|
348
|
+
def node_options(); end
|
349
|
+
|
350
|
+
def output_file(); end
|
351
|
+
|
352
|
+
def output_format(); end
|
353
|
+
|
354
|
+
def relations(); end
|
355
|
+
|
356
|
+
def viz(); end
|
357
|
+
GRAPH_NAME = ::T.let(nil, ::T.untyped)
|
358
|
+
end
|
359
|
+
|
360
|
+
class Bundler::Graph::GraphVizClient
|
361
|
+
def g(); end
|
362
|
+
|
363
|
+
def initialize(graph_instance); end
|
364
|
+
|
365
|
+
def run(); end
|
366
|
+
end
|
367
|
+
|
368
|
+
class Bundler::Graph::GraphVizClient
|
369
|
+
end
|
370
|
+
|
371
|
+
class Bundler::Graph
|
372
|
+
end
|
373
|
+
|
374
|
+
class Bundler::Index
|
375
|
+
include ::Enumerable
|
376
|
+
end
|
377
|
+
|
378
|
+
class Bundler::Injector
|
379
|
+
def initialize(deps, options=T.unsafe(nil)); end
|
380
|
+
|
381
|
+
def inject(gemfile_path, lockfile_path); end
|
382
|
+
|
383
|
+
def remove(gemfile_path, lockfile_path); end
|
384
|
+
INJECTED_GEMS = ::T.let(nil, ::T.untyped)
|
385
|
+
end
|
386
|
+
|
387
|
+
class Bundler::Injector
|
388
|
+
def self.inject(new_deps, options=T.unsafe(nil)); end
|
389
|
+
|
390
|
+
def self.remove(gems, options=T.unsafe(nil)); end
|
391
|
+
end
|
392
|
+
|
393
|
+
class Bundler::Installer
|
394
|
+
def generate_bundler_executable_stubs(spec, options=T.unsafe(nil)); end
|
395
|
+
|
396
|
+
def generate_standalone_bundler_executable_stubs(spec); end
|
397
|
+
|
398
|
+
def initialize(root, definition); end
|
399
|
+
|
400
|
+
def post_install_messages(); end
|
401
|
+
|
402
|
+
def run(options); end
|
403
|
+
end
|
404
|
+
|
405
|
+
class Bundler::Installer
|
406
|
+
def self.ambiguous_gems(); end
|
407
|
+
|
408
|
+
def self.ambiguous_gems=(ambiguous_gems); end
|
409
|
+
|
410
|
+
def self.install(root, definition, options=T.unsafe(nil)); end
|
411
|
+
end
|
412
|
+
|
413
|
+
class Bundler::Molinillo::DependencyGraph
|
414
|
+
include ::Enumerable
|
415
|
+
end
|
416
|
+
|
417
|
+
class Bundler::Molinillo::DependencyGraph::Log
|
418
|
+
extend ::Enumerable
|
419
|
+
end
|
420
|
+
|
421
|
+
class Bundler::Molinillo::DependencyGraph::Vertex
|
422
|
+
def _recursive_predecessors(vertices=T.unsafe(nil)); end
|
423
|
+
|
424
|
+
def _recursive_successors(vertices=T.unsafe(nil)); end
|
425
|
+
end
|
426
|
+
|
427
|
+
module Bundler::Plugin::API::Source
|
428
|
+
def ==(other); end
|
429
|
+
|
430
|
+
def app_cache_dirname(); end
|
431
|
+
|
432
|
+
def app_cache_path(custom_path=T.unsafe(nil)); end
|
433
|
+
|
434
|
+
def bundler_plugin_api_source?(); end
|
435
|
+
|
436
|
+
def cache(spec, custom_path=T.unsafe(nil)); end
|
437
|
+
|
438
|
+
def cached!(); end
|
439
|
+
|
440
|
+
def can_lock?(spec); end
|
441
|
+
|
442
|
+
def dependency_names(); end
|
443
|
+
|
444
|
+
def dependency_names=(dependency_names); end
|
445
|
+
|
446
|
+
def double_check_for(*_); end
|
447
|
+
|
448
|
+
def eql?(other); end
|
449
|
+
|
450
|
+
def fetch_gemspec_files(); end
|
451
|
+
|
452
|
+
def gem_install_dir(); end
|
453
|
+
|
454
|
+
def hash(); end
|
455
|
+
|
456
|
+
def include?(other); end
|
457
|
+
|
458
|
+
def initialize(opts); end
|
459
|
+
|
460
|
+
def install(spec, opts); end
|
461
|
+
|
462
|
+
def install_path(); end
|
463
|
+
|
464
|
+
def installed?(); end
|
465
|
+
|
466
|
+
def name(); end
|
467
|
+
|
468
|
+
def options(); end
|
469
|
+
|
470
|
+
def options_to_lock(); end
|
471
|
+
|
472
|
+
def post_install(spec, disable_exts=T.unsafe(nil)); end
|
473
|
+
|
474
|
+
def remote!(); end
|
475
|
+
|
476
|
+
def root(); end
|
477
|
+
|
478
|
+
def specs(); end
|
479
|
+
|
480
|
+
def to_lock(); end
|
481
|
+
|
482
|
+
def to_s(); end
|
483
|
+
|
484
|
+
def unlock!(); end
|
485
|
+
|
486
|
+
def unmet_deps(); end
|
487
|
+
|
488
|
+
def uri(); end
|
489
|
+
|
490
|
+
def uri_hash(); end
|
491
|
+
end
|
492
|
+
|
493
|
+
module Bundler::Plugin::API::Source
|
494
|
+
end
|
495
|
+
|
496
|
+
module Bundler::Plugin::Events
|
497
|
+
GEM_AFTER_INSTALL = ::T.let(nil, ::T.untyped)
|
498
|
+
GEM_AFTER_INSTALL_ALL = ::T.let(nil, ::T.untyped)
|
499
|
+
GEM_BEFORE_INSTALL = ::T.let(nil, ::T.untyped)
|
500
|
+
GEM_BEFORE_INSTALL_ALL = ::T.let(nil, ::T.untyped)
|
501
|
+
end
|
502
|
+
|
503
|
+
class Bundler::Plugin::Index
|
504
|
+
def installed_plugins(); end
|
505
|
+
|
506
|
+
def plugin_commands(plugin); end
|
507
|
+
end
|
508
|
+
|
509
|
+
class Bundler::Plugin::Index::CommandConflict
|
510
|
+
def initialize(plugin, commands); end
|
511
|
+
end
|
512
|
+
|
513
|
+
class Bundler::Plugin::Index::CommandConflict
|
514
|
+
end
|
515
|
+
|
516
|
+
class Bundler::Plugin::Index::SourceConflict
|
517
|
+
def initialize(plugin, sources); end
|
518
|
+
end
|
519
|
+
|
520
|
+
class Bundler::Plugin::Index::SourceConflict
|
521
|
+
end
|
522
|
+
|
523
|
+
class Bundler::Plugin::Installer
|
524
|
+
def install(names, options); end
|
525
|
+
|
526
|
+
def install_definition(definition); end
|
527
|
+
end
|
528
|
+
|
529
|
+
class Bundler::Plugin::Installer::Git
|
530
|
+
def generate_bin(spec, disable_extensions=T.unsafe(nil)); end
|
531
|
+
end
|
532
|
+
|
533
|
+
class Bundler::Plugin::Installer::Git
|
534
|
+
end
|
535
|
+
|
536
|
+
class Bundler::Plugin::Installer::Rubygems
|
537
|
+
end
|
538
|
+
|
539
|
+
class Bundler::Plugin::Installer::Rubygems
|
540
|
+
end
|
541
|
+
|
542
|
+
class Bundler::Plugin::Installer
|
543
|
+
end
|
544
|
+
|
545
|
+
class Bundler::Plugin::SourceList
|
546
|
+
end
|
547
|
+
|
548
|
+
class Bundler::Plugin::SourceList
|
549
|
+
end
|
550
|
+
|
551
|
+
module Bundler::Plugin
|
552
|
+
def self.list(); end
|
553
|
+
end
|
554
|
+
|
555
|
+
class Bundler::ProcessLock
|
556
|
+
end
|
557
|
+
|
558
|
+
class Bundler::ProcessLock
|
559
|
+
def self.lock(bundle_path=T.unsafe(nil)); end
|
560
|
+
end
|
561
|
+
|
562
|
+
class Bundler::Retry
|
563
|
+
def attempt(&block); end
|
564
|
+
|
565
|
+
def attempts(&block); end
|
566
|
+
|
567
|
+
def current_run(); end
|
568
|
+
|
569
|
+
def current_run=(current_run); end
|
570
|
+
|
571
|
+
def initialize(name, exceptions=T.unsafe(nil), retries=T.unsafe(nil)); end
|
572
|
+
|
573
|
+
def name(); end
|
574
|
+
|
575
|
+
def name=(name); end
|
576
|
+
|
577
|
+
def total_runs(); end
|
578
|
+
|
579
|
+
def total_runs=(total_runs); end
|
580
|
+
end
|
581
|
+
|
582
|
+
class Bundler::Retry
|
583
|
+
def self.attempts(); end
|
584
|
+
|
585
|
+
def self.default_attempts(); end
|
586
|
+
|
587
|
+
def self.default_retries(); end
|
588
|
+
end
|
589
|
+
|
590
|
+
class Bundler::RubyGemsGemInstaller
|
591
|
+
end
|
592
|
+
|
593
|
+
class Bundler::RubyGemsGemInstaller
|
594
|
+
end
|
595
|
+
|
596
|
+
class Bundler::RubygemsIntegration
|
597
|
+
def add_to_load_path(paths); end
|
598
|
+
|
599
|
+
def all_specs(); end
|
600
|
+
|
601
|
+
def backport_ext_builder_monitor(); end
|
602
|
+
|
603
|
+
def correct_for_windows_path(path); end
|
604
|
+
|
605
|
+
def default_stubs(); end
|
606
|
+
|
607
|
+
def find_name(name); end
|
608
|
+
|
609
|
+
def gem_remote_fetcher(); end
|
610
|
+
|
611
|
+
def plain_specs(); end
|
612
|
+
|
613
|
+
def plain_specs=(specs); end
|
614
|
+
|
615
|
+
def stub_rubygems(specs); end
|
616
|
+
|
617
|
+
def use_gemdeps(gemfile); end
|
618
|
+
end
|
619
|
+
|
620
|
+
class Bundler::Settings::Mirror
|
621
|
+
def ==(other); end
|
622
|
+
|
623
|
+
def fallback_timeout(); end
|
624
|
+
|
625
|
+
def fallback_timeout=(timeout); end
|
626
|
+
|
627
|
+
def initialize(uri=T.unsafe(nil), fallback_timeout=T.unsafe(nil)); end
|
628
|
+
|
629
|
+
def uri(); end
|
630
|
+
|
631
|
+
def uri=(uri); end
|
632
|
+
|
633
|
+
def valid?(); end
|
634
|
+
|
635
|
+
def validate!(probe=T.unsafe(nil)); end
|
636
|
+
DEFAULT_FALLBACK_TIMEOUT = ::T.let(nil, ::T.untyped)
|
637
|
+
end
|
638
|
+
|
639
|
+
class Bundler::Settings::Mirror
|
640
|
+
end
|
641
|
+
|
642
|
+
class Bundler::Settings::Mirrors
|
643
|
+
def each(&blk); end
|
644
|
+
|
645
|
+
def for(uri); end
|
646
|
+
|
647
|
+
def initialize(prober=T.unsafe(nil)); end
|
648
|
+
|
649
|
+
def parse(key, value); end
|
650
|
+
end
|
651
|
+
|
652
|
+
class Bundler::Settings::Mirrors
|
653
|
+
end
|
654
|
+
|
655
|
+
class Bundler::Settings::Validator
|
656
|
+
end
|
657
|
+
|
658
|
+
class Bundler::Settings::Validator::Rule
|
659
|
+
def description(); end
|
660
|
+
|
661
|
+
def fail!(key, value, *reasons); end
|
662
|
+
|
663
|
+
def initialize(keys, description, &validate); end
|
664
|
+
|
665
|
+
def k(key); end
|
666
|
+
|
667
|
+
def set(settings, key, value, *reasons); end
|
668
|
+
|
669
|
+
def validate!(key, value, settings); end
|
670
|
+
end
|
671
|
+
|
672
|
+
class Bundler::Settings::Validator::Rule
|
673
|
+
end
|
674
|
+
|
675
|
+
class Bundler::Settings::Validator
|
676
|
+
def self.validate!(key, value, settings); end
|
677
|
+
end
|
678
|
+
|
679
|
+
class Bundler::Source::Git
|
680
|
+
def glob(); end
|
681
|
+
end
|
682
|
+
|
683
|
+
class Bundler::SpecSet
|
684
|
+
include ::Enumerable
|
685
|
+
end
|
686
|
+
|
687
|
+
class Bundler::Thor
|
688
|
+
include ::Bundler::Thor::Base
|
689
|
+
include ::Bundler::Thor::Invocation
|
690
|
+
include ::Bundler::Thor::Shell
|
691
|
+
def help(command=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
692
|
+
HELP_MAPPINGS = ::T.let(nil, ::T.untyped)
|
693
|
+
TEMPLATE_EXTNAME = ::T.let(nil, ::T.untyped)
|
694
|
+
THOR_RESERVED_WORDS = ::T.let(nil, ::T.untyped)
|
695
|
+
end
|
696
|
+
|
697
|
+
module Bundler::Thor::Actions
|
698
|
+
def _cleanup_options_and_set(options, key); end
|
699
|
+
|
700
|
+
def _shared_configuration(); end
|
701
|
+
|
702
|
+
def action(instance); end
|
703
|
+
|
704
|
+
def add_file(destination, *args, &block); end
|
705
|
+
|
706
|
+
def add_link(destination, *args); end
|
707
|
+
|
708
|
+
def append_file(path, *args, &block); end
|
709
|
+
|
710
|
+
def append_to_file(path, *args, &block); end
|
711
|
+
|
712
|
+
def apply(path, config=T.unsafe(nil)); end
|
713
|
+
|
714
|
+
def behavior(); end
|
715
|
+
|
716
|
+
def behavior=(behavior); end
|
717
|
+
|
718
|
+
def chmod(path, mode, config=T.unsafe(nil)); end
|
719
|
+
|
720
|
+
def comment_lines(path, flag, *args); end
|
721
|
+
|
722
|
+
def copy_file(source, *args, &block); end
|
723
|
+
|
724
|
+
def create_file(destination, *args, &block); end
|
725
|
+
|
726
|
+
def create_link(destination, *args); end
|
727
|
+
|
728
|
+
def destination_root(); end
|
729
|
+
|
730
|
+
def destination_root=(root); end
|
731
|
+
|
732
|
+
def directory(source, *args, &block); end
|
733
|
+
|
734
|
+
def empty_directory(destination, config=T.unsafe(nil)); end
|
735
|
+
|
736
|
+
def find_in_source_paths(file); end
|
737
|
+
|
738
|
+
def get(source, *args, &block); end
|
739
|
+
|
740
|
+
def gsub_file(path, flag, *args, &block); end
|
741
|
+
|
742
|
+
def in_root(); end
|
743
|
+
|
744
|
+
def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil)); end
|
745
|
+
|
746
|
+
def inject_into_class(path, klass, *args, &block); end
|
747
|
+
|
748
|
+
def inject_into_file(destination, *args, &block); end
|
749
|
+
|
750
|
+
def inject_into_module(path, module_name, *args, &block); end
|
751
|
+
|
752
|
+
def insert_into_file(destination, *args, &block); end
|
753
|
+
|
754
|
+
def inside(dir=T.unsafe(nil), config=T.unsafe(nil), &block); end
|
755
|
+
|
756
|
+
def link_file(source, *args); end
|
757
|
+
|
758
|
+
def prepend_file(path, *args, &block); end
|
759
|
+
|
760
|
+
def prepend_to_file(path, *args, &block); end
|
761
|
+
|
762
|
+
def relative_to_original_destination_root(path, remove_dot=T.unsafe(nil)); end
|
763
|
+
|
764
|
+
def remove_dir(path, config=T.unsafe(nil)); end
|
765
|
+
|
766
|
+
def remove_file(path, config=T.unsafe(nil)); end
|
767
|
+
|
768
|
+
def run(command, config=T.unsafe(nil)); end
|
769
|
+
|
770
|
+
def run_ruby_script(command, config=T.unsafe(nil)); end
|
771
|
+
|
772
|
+
def source_paths(); end
|
773
|
+
|
774
|
+
def template(source, *args, &block); end
|
775
|
+
|
776
|
+
def thor(command, *args); end
|
777
|
+
|
778
|
+
def uncomment_lines(path, flag, *args); end
|
779
|
+
WARNINGS = ::T.let(nil, ::T.untyped)
|
780
|
+
end
|
781
|
+
|
782
|
+
class Bundler::Thor::Actions::CapturableERB
|
783
|
+
end
|
784
|
+
|
785
|
+
class Bundler::Thor::Actions::CapturableERB
|
786
|
+
end
|
787
|
+
|
788
|
+
module Bundler::Thor::Actions::ClassMethods
|
789
|
+
def add_runtime_options!(); end
|
790
|
+
|
791
|
+
def source_paths(); end
|
792
|
+
|
793
|
+
def source_paths_for_search(); end
|
794
|
+
|
795
|
+
def source_root(path=T.unsafe(nil)); end
|
796
|
+
end
|
797
|
+
|
798
|
+
module Bundler::Thor::Actions::ClassMethods
|
799
|
+
end
|
800
|
+
|
801
|
+
class Bundler::Thor::Actions::CreateFile
|
802
|
+
def data(); end
|
803
|
+
|
804
|
+
def force_on_collision?(); end
|
805
|
+
|
806
|
+
def force_or_skip_or_conflict(force, skip, &block); end
|
807
|
+
|
808
|
+
def identical?(); end
|
809
|
+
|
810
|
+
def initialize(base, destination, data, config=T.unsafe(nil)); end
|
811
|
+
|
812
|
+
def on_conflict_behavior(&block); end
|
813
|
+
|
814
|
+
def render(); end
|
815
|
+
end
|
816
|
+
|
817
|
+
class Bundler::Thor::Actions::CreateFile
|
818
|
+
end
|
819
|
+
|
820
|
+
class Bundler::Thor::Actions::CreateLink
|
821
|
+
end
|
822
|
+
|
823
|
+
class Bundler::Thor::Actions::CreateLink
|
824
|
+
end
|
825
|
+
|
826
|
+
class Bundler::Thor::Actions::Directory
|
827
|
+
def execute!(); end
|
828
|
+
|
829
|
+
def file_level_lookup(previous_lookup); end
|
830
|
+
|
831
|
+
def files(lookup); end
|
832
|
+
|
833
|
+
def initialize(base, source, destination=T.unsafe(nil), config=T.unsafe(nil), &block); end
|
834
|
+
|
835
|
+
def source(); end
|
836
|
+
end
|
837
|
+
|
838
|
+
class Bundler::Thor::Actions::Directory
|
839
|
+
end
|
840
|
+
|
841
|
+
class Bundler::Thor::Actions::EmptyDirectory
|
842
|
+
def base(); end
|
843
|
+
|
844
|
+
def config(); end
|
845
|
+
|
846
|
+
def convert_encoded_instructions(filename); end
|
847
|
+
|
848
|
+
def destination(); end
|
849
|
+
|
850
|
+
def destination=(destination); end
|
851
|
+
|
852
|
+
def exists?(); end
|
853
|
+
|
854
|
+
def given_destination(); end
|
855
|
+
|
856
|
+
def initialize(base, destination, config=T.unsafe(nil)); end
|
857
|
+
|
858
|
+
def invoke!(); end
|
859
|
+
|
860
|
+
def invoke_with_conflict_check(&block); end
|
861
|
+
|
862
|
+
def on_conflict_behavior(); end
|
863
|
+
|
864
|
+
def on_file_clash_behavior(); end
|
865
|
+
|
866
|
+
def pretend?(); end
|
867
|
+
|
868
|
+
def relative_destination(); end
|
869
|
+
|
870
|
+
def revoke!(); end
|
871
|
+
|
872
|
+
def say_status(status, color); end
|
873
|
+
end
|
874
|
+
|
875
|
+
class Bundler::Thor::Actions::EmptyDirectory
|
876
|
+
end
|
877
|
+
|
878
|
+
class Bundler::Thor::Actions::InjectIntoFile
|
879
|
+
def behavior(); end
|
880
|
+
|
881
|
+
def flag(); end
|
882
|
+
|
883
|
+
def initialize(base, destination, data, config); end
|
884
|
+
|
885
|
+
def replace!(regexp, string, force); end
|
886
|
+
|
887
|
+
def replacement(); end
|
888
|
+
|
889
|
+
def say_status(behavior, warning: T.unsafe(nil), color: T.unsafe(nil)); end
|
890
|
+
end
|
891
|
+
|
892
|
+
class Bundler::Thor::Actions::InjectIntoFile
|
893
|
+
end
|
894
|
+
|
895
|
+
module Bundler::Thor::Actions
|
896
|
+
def self.included(base); end
|
897
|
+
end
|
898
|
+
|
899
|
+
class Bundler::Thor::AmbiguousCommandError
|
900
|
+
end
|
901
|
+
|
902
|
+
class Bundler::Thor::AmbiguousCommandError
|
903
|
+
end
|
904
|
+
|
905
|
+
Bundler::Thor::AmbiguousTaskError = Bundler::Thor::AmbiguousCommandError
|
906
|
+
|
907
|
+
class Bundler::Thor::Argument
|
908
|
+
def banner(); end
|
909
|
+
|
910
|
+
def default(); end
|
911
|
+
|
912
|
+
def default_banner(); end
|
913
|
+
|
914
|
+
def description(); end
|
915
|
+
|
916
|
+
def enum(); end
|
917
|
+
|
918
|
+
def human_name(); end
|
919
|
+
|
920
|
+
def initialize(name, options=T.unsafe(nil)); end
|
921
|
+
|
922
|
+
def name(); end
|
923
|
+
|
924
|
+
def required(); end
|
925
|
+
|
926
|
+
def required?(); end
|
927
|
+
|
928
|
+
def show_default?(); end
|
929
|
+
|
930
|
+
def type(); end
|
931
|
+
|
932
|
+
def usage(); end
|
933
|
+
|
934
|
+
def valid_type?(type); end
|
935
|
+
|
936
|
+
def validate!(); end
|
937
|
+
VALID_TYPES = ::T.let(nil, ::T.untyped)
|
938
|
+
end
|
939
|
+
|
940
|
+
class Bundler::Thor::Argument
|
941
|
+
end
|
942
|
+
|
943
|
+
class Bundler::Thor::Arguments
|
944
|
+
def initialize(arguments=T.unsafe(nil)); end
|
945
|
+
|
946
|
+
def parse(args); end
|
947
|
+
|
948
|
+
def remaining(); end
|
949
|
+
NUMERIC = ::T.let(nil, ::T.untyped)
|
950
|
+
end
|
951
|
+
|
952
|
+
class Bundler::Thor::Arguments
|
953
|
+
def self.parse(*args); end
|
954
|
+
|
955
|
+
def self.split(args); end
|
956
|
+
end
|
957
|
+
|
958
|
+
module Bundler::Thor::Base
|
959
|
+
def args(); end
|
960
|
+
|
961
|
+
def args=(args); end
|
962
|
+
|
963
|
+
def initialize(args=T.unsafe(nil), local_options=T.unsafe(nil), config=T.unsafe(nil)); end
|
964
|
+
|
965
|
+
def options(); end
|
966
|
+
|
967
|
+
def options=(options); end
|
968
|
+
|
969
|
+
def parent_options(); end
|
970
|
+
|
971
|
+
def parent_options=(parent_options); end
|
972
|
+
end
|
973
|
+
|
974
|
+
module Bundler::Thor::Base::ClassMethods
|
975
|
+
def all_commands(); end
|
976
|
+
|
977
|
+
def all_tasks(); end
|
978
|
+
|
979
|
+
def allow_incompatible_default_type!(); end
|
980
|
+
|
981
|
+
def argument(name, options=T.unsafe(nil)); end
|
982
|
+
|
983
|
+
def arguments(); end
|
984
|
+
|
985
|
+
def attr_accessor(*_); end
|
986
|
+
|
987
|
+
def attr_reader(*_); end
|
988
|
+
|
989
|
+
def attr_writer(*_); end
|
990
|
+
|
991
|
+
def baseclass(); end
|
992
|
+
|
993
|
+
def basename(); end
|
994
|
+
|
995
|
+
def build_option(name, options, scope); end
|
996
|
+
|
997
|
+
def build_options(options, scope); end
|
998
|
+
|
999
|
+
def check_default_type(); end
|
1000
|
+
|
1001
|
+
def check_default_type!(); end
|
1002
|
+
|
1003
|
+
def check_unknown_options(); end
|
1004
|
+
|
1005
|
+
def check_unknown_options!(); end
|
1006
|
+
|
1007
|
+
def check_unknown_options?(config); end
|
1008
|
+
|
1009
|
+
def class_option(name, options=T.unsafe(nil)); end
|
1010
|
+
|
1011
|
+
def class_options(options=T.unsafe(nil)); end
|
1012
|
+
|
1013
|
+
def class_options_help(shell, groups=T.unsafe(nil)); end
|
1014
|
+
|
1015
|
+
def commands(); end
|
1016
|
+
|
1017
|
+
def create_command(meth); end
|
1018
|
+
|
1019
|
+
def create_task(meth); end
|
1020
|
+
|
1021
|
+
def disable_required_check?(command_name); end
|
1022
|
+
|
1023
|
+
def dispatch(command, given_args, given_opts, config); end
|
1024
|
+
|
1025
|
+
def exit_on_failure?(); end
|
1026
|
+
|
1027
|
+
def find_and_refresh_command(name); end
|
1028
|
+
|
1029
|
+
def find_and_refresh_task(name); end
|
1030
|
+
|
1031
|
+
def from_superclass(method, default=T.unsafe(nil)); end
|
1032
|
+
|
1033
|
+
def group(name=T.unsafe(nil)); end
|
1034
|
+
|
1035
|
+
def handle_argument_error(command, error, args, arity); end
|
1036
|
+
|
1037
|
+
def handle_no_command_error(command, has_namespace=T.unsafe(nil)); end
|
1038
|
+
|
1039
|
+
def handle_no_task_error(command, has_namespace=T.unsafe(nil)); end
|
1040
|
+
|
1041
|
+
def inherited(klass); end
|
1042
|
+
|
1043
|
+
def initialize_added(); end
|
1044
|
+
|
1045
|
+
def is_thor_reserved_word?(word, type); end
|
1046
|
+
|
1047
|
+
def method_added(meth); end
|
1048
|
+
|
1049
|
+
def namespace(name=T.unsafe(nil)); end
|
1050
|
+
|
1051
|
+
def no_commands(&block); end
|
1052
|
+
|
1053
|
+
def no_commands?(); end
|
1054
|
+
|
1055
|
+
def no_commands_context(); end
|
1056
|
+
|
1057
|
+
def no_tasks(&block); end
|
1058
|
+
|
1059
|
+
def print_options(shell, options, group_name=T.unsafe(nil)); end
|
1060
|
+
|
1061
|
+
def public_command(*names); end
|
1062
|
+
|
1063
|
+
def public_task(*names); end
|
1064
|
+
|
1065
|
+
def remove_argument(*names); end
|
1066
|
+
|
1067
|
+
def remove_class_option(*names); end
|
1068
|
+
|
1069
|
+
def remove_command(*names); end
|
1070
|
+
|
1071
|
+
def remove_task(*names); end
|
1072
|
+
|
1073
|
+
def start(given_args=T.unsafe(nil), config=T.unsafe(nil)); end
|
1074
|
+
|
1075
|
+
def stop_on_unknown_option?(command_name); end
|
1076
|
+
|
1077
|
+
def strict_args_position(); end
|
1078
|
+
|
1079
|
+
def strict_args_position!(); end
|
1080
|
+
|
1081
|
+
def strict_args_position?(config); end
|
1082
|
+
|
1083
|
+
def tasks(); end
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
module Bundler::Thor::Base::ClassMethods
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
module Bundler::Thor::Base
|
1090
|
+
def self.included(base); end
|
1091
|
+
|
1092
|
+
def self.register_klass_file(klass); end
|
1093
|
+
|
1094
|
+
def self.shell(); end
|
1095
|
+
|
1096
|
+
def self.shell=(shell); end
|
1097
|
+
|
1098
|
+
def self.subclass_files(); end
|
1099
|
+
|
1100
|
+
def self.subclasses(); end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
class Bundler::Thor::Command
|
1104
|
+
def formatted_usage(klass, namespace=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
1105
|
+
|
1106
|
+
def handle_argument_error?(instance, error, caller); end
|
1107
|
+
|
1108
|
+
def handle_no_method_error?(instance, error, caller); end
|
1109
|
+
|
1110
|
+
def hidden?(); end
|
1111
|
+
|
1112
|
+
def initialize(name, description, long_description, usage, options=T.unsafe(nil)); end
|
1113
|
+
|
1114
|
+
def local_method?(instance, name); end
|
1115
|
+
|
1116
|
+
def not_debugging?(instance); end
|
1117
|
+
|
1118
|
+
def private_method?(instance); end
|
1119
|
+
|
1120
|
+
def public_method?(instance); end
|
1121
|
+
|
1122
|
+
def required_arguments_for(klass, usage); end
|
1123
|
+
|
1124
|
+
def required_options(); end
|
1125
|
+
|
1126
|
+
def run(instance, args=T.unsafe(nil)); end
|
1127
|
+
|
1128
|
+
def sans_backtrace(backtrace, caller); end
|
1129
|
+
FILE_REGEXP = ::T.let(nil, ::T.untyped)
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
class Bundler::Thor::Command
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
module Bundler::Thor::CoreExt
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
class Bundler::Thor::CoreExt::HashWithIndifferentAccess
|
1139
|
+
def [](key); end
|
1140
|
+
|
1141
|
+
def []=(key, value); end
|
1142
|
+
|
1143
|
+
def convert_key(key); end
|
1144
|
+
|
1145
|
+
def delete(key); end
|
1146
|
+
|
1147
|
+
def fetch(key, *args); end
|
1148
|
+
|
1149
|
+
def initialize(hash=T.unsafe(nil)); end
|
1150
|
+
|
1151
|
+
def key?(key); end
|
1152
|
+
|
1153
|
+
def merge(other); end
|
1154
|
+
|
1155
|
+
def merge!(other); end
|
1156
|
+
|
1157
|
+
def method_missing(method, *args); end
|
1158
|
+
|
1159
|
+
def replace(other_hash); end
|
1160
|
+
|
1161
|
+
def reverse_merge(other); end
|
1162
|
+
|
1163
|
+
def reverse_merge!(other_hash); end
|
1164
|
+
|
1165
|
+
def values_at(*indices); end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
class Bundler::Thor::CoreExt::HashWithIndifferentAccess
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
module Bundler::Thor::CoreExt
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
Bundler::Thor::Correctable = DidYouMean::Correctable
|
1175
|
+
|
1176
|
+
class Bundler::Thor::DynamicCommand
|
1177
|
+
def initialize(name, options=T.unsafe(nil)); end
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
class Bundler::Thor::DynamicCommand
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
Bundler::Thor::DynamicTask = Bundler::Thor::DynamicCommand
|
1184
|
+
|
1185
|
+
class Bundler::Thor::Error
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
class Bundler::Thor::Error
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
class Bundler::Thor::Group
|
1192
|
+
include ::Bundler::Thor::Base
|
1193
|
+
include ::Bundler::Thor::Invocation
|
1194
|
+
include ::Bundler::Thor::Shell
|
1195
|
+
def _invoke_for_class_method(klass, command=T.unsafe(nil), *args, &block); end
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
class Bundler::Thor::Group
|
1199
|
+
extend ::Bundler::Thor::Base::ClassMethods
|
1200
|
+
extend ::Bundler::Thor::Invocation::ClassMethods
|
1201
|
+
def self.banner(); end
|
1202
|
+
|
1203
|
+
def self.desc(description=T.unsafe(nil)); end
|
1204
|
+
|
1205
|
+
def self.get_options_from_invocations(group_options, base_options); end
|
1206
|
+
|
1207
|
+
def self.handle_argument_error(command, error, _args, arity); end
|
1208
|
+
|
1209
|
+
def self.help(shell); end
|
1210
|
+
|
1211
|
+
def self.invocation_blocks(); end
|
1212
|
+
|
1213
|
+
def self.invocations(); end
|
1214
|
+
|
1215
|
+
def self.invoke(*names, &block); end
|
1216
|
+
|
1217
|
+
def self.invoke_from_option(*names, &block); end
|
1218
|
+
|
1219
|
+
def self.printable_commands(*_); end
|
1220
|
+
|
1221
|
+
def self.printable_tasks(*_); end
|
1222
|
+
|
1223
|
+
def self.remove_invocation(*names); end
|
1224
|
+
|
1225
|
+
def self.self_command(); end
|
1226
|
+
|
1227
|
+
def self.self_task(); end
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
class Bundler::Thor::HiddenCommand
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
class Bundler::Thor::HiddenCommand
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
Bundler::Thor::HiddenTask = Bundler::Thor::HiddenCommand
|
1237
|
+
|
1238
|
+
module Bundler::Thor::Invocation
|
1239
|
+
def _parse_initialization_options(args, opts, config); end
|
1240
|
+
|
1241
|
+
def _retrieve_class_and_command(name, sent_command=T.unsafe(nil)); end
|
1242
|
+
|
1243
|
+
def _retrieve_class_and_task(name, sent_command=T.unsafe(nil)); end
|
1244
|
+
|
1245
|
+
def _shared_configuration(); end
|
1246
|
+
|
1247
|
+
def current_command_chain(); end
|
1248
|
+
|
1249
|
+
def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil), &block); end
|
1250
|
+
|
1251
|
+
def invoke(name=T.unsafe(nil), *args); end
|
1252
|
+
|
1253
|
+
def invoke_all(); end
|
1254
|
+
|
1255
|
+
def invoke_command(command, *args); end
|
1256
|
+
|
1257
|
+
def invoke_task(command, *args); end
|
1258
|
+
|
1259
|
+
def invoke_with_padding(*args); end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
module Bundler::Thor::Invocation::ClassMethods
|
1263
|
+
def prepare_for_invocation(key, name); end
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
module Bundler::Thor::Invocation::ClassMethods
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
module Bundler::Thor::Invocation
|
1270
|
+
def self.included(base); end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
class Bundler::Thor::InvocationError
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class Bundler::Thor::InvocationError
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
module Bundler::Thor::LineEditor
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
class Bundler::Thor::LineEditor::Basic
|
1283
|
+
def initialize(prompt, options); end
|
1284
|
+
|
1285
|
+
def options(); end
|
1286
|
+
|
1287
|
+
def prompt(); end
|
1288
|
+
|
1289
|
+
def readline(); end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
class Bundler::Thor::LineEditor::Basic
|
1293
|
+
def self.available?(); end
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
class Bundler::Thor::LineEditor::Readline
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
class Bundler::Thor::LineEditor::Readline::PathCompletion
|
1300
|
+
def initialize(text); end
|
1301
|
+
|
1302
|
+
def matches(); end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
class Bundler::Thor::LineEditor::Readline::PathCompletion
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
class Bundler::Thor::LineEditor::Readline
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
module Bundler::Thor::LineEditor
|
1312
|
+
def self.best_available(); end
|
1313
|
+
|
1314
|
+
def self.readline(prompt, options=T.unsafe(nil)); end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
class Bundler::Thor::MalformattedArgumentError
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
class Bundler::Thor::MalformattedArgumentError
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
class Bundler::Thor::NestedContext
|
1324
|
+
def enter(); end
|
1325
|
+
|
1326
|
+
def entered?(); end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
class Bundler::Thor::NestedContext
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
class Bundler::Thor::NoKwargSpellChecker
|
1333
|
+
def initialize(dictionary); end
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
class Bundler::Thor::NoKwargSpellChecker
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
class Bundler::Thor::Option
|
1340
|
+
def aliases(); end
|
1341
|
+
|
1342
|
+
def array?(); end
|
1343
|
+
|
1344
|
+
def boolean?(); end
|
1345
|
+
|
1346
|
+
def dasherize(str); end
|
1347
|
+
|
1348
|
+
def dasherized?(); end
|
1349
|
+
|
1350
|
+
def group(); end
|
1351
|
+
|
1352
|
+
def hash?(); end
|
1353
|
+
|
1354
|
+
def hide(); end
|
1355
|
+
|
1356
|
+
def lazy_default(); end
|
1357
|
+
|
1358
|
+
def numeric?(); end
|
1359
|
+
|
1360
|
+
def repeatable(); end
|
1361
|
+
|
1362
|
+
def string?(); end
|
1363
|
+
|
1364
|
+
def switch_name(); end
|
1365
|
+
|
1366
|
+
def undasherize(str); end
|
1367
|
+
|
1368
|
+
def usage(padding=T.unsafe(nil)); end
|
1369
|
+
|
1370
|
+
def validate_default_type!(); end
|
1371
|
+
VALID_TYPES = ::T.let(nil, ::T.untyped)
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
class Bundler::Thor::Option
|
1375
|
+
def self.parse(key, value); end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
class Bundler::Thor::Options
|
1379
|
+
def assign_result!(option, result); end
|
1380
|
+
|
1381
|
+
def check_unknown!(); end
|
1382
|
+
|
1383
|
+
def current_is_switch?(); end
|
1384
|
+
|
1385
|
+
def current_is_switch_formatted?(); end
|
1386
|
+
|
1387
|
+
def initialize(hash_options=T.unsafe(nil), defaults=T.unsafe(nil), stop_on_unknown=T.unsafe(nil), disable_required_check=T.unsafe(nil)); end
|
1388
|
+
|
1389
|
+
def normalize_switch(arg); end
|
1390
|
+
|
1391
|
+
def parse_boolean(switch); end
|
1392
|
+
|
1393
|
+
def parse_peek(switch, option); end
|
1394
|
+
|
1395
|
+
def parsing_options?(); end
|
1396
|
+
|
1397
|
+
def switch?(arg); end
|
1398
|
+
|
1399
|
+
def switch_option(arg); end
|
1400
|
+
EQ_RE = ::T.let(nil, ::T.untyped)
|
1401
|
+
LONG_RE = ::T.let(nil, ::T.untyped)
|
1402
|
+
OPTS_END = ::T.let(nil, ::T.untyped)
|
1403
|
+
SHORT_NUM = ::T.let(nil, ::T.untyped)
|
1404
|
+
SHORT_RE = ::T.let(nil, ::T.untyped)
|
1405
|
+
SHORT_SQ_RE = ::T.let(nil, ::T.untyped)
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
class Bundler::Thor::Options
|
1409
|
+
def self.to_switches(options); end
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
class Bundler::Thor::RequiredArgumentMissingError
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
class Bundler::Thor::RequiredArgumentMissingError
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
module Bundler::Thor::Sandbox
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
module Bundler::Thor::Sandbox
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
module Bundler::Thor::Shell
|
1425
|
+
def _shared_configuration(); end
|
1426
|
+
|
1427
|
+
def ask(*args, &block); end
|
1428
|
+
|
1429
|
+
def error(*args, &block); end
|
1430
|
+
|
1431
|
+
def file_collision(*args, &block); end
|
1432
|
+
|
1433
|
+
def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil)); end
|
1434
|
+
|
1435
|
+
def no?(*args, &block); end
|
1436
|
+
|
1437
|
+
def print_in_columns(*args, &block); end
|
1438
|
+
|
1439
|
+
def print_table(*args, &block); end
|
1440
|
+
|
1441
|
+
def print_wrapped(*args, &block); end
|
1442
|
+
|
1443
|
+
def say(*args, &block); end
|
1444
|
+
|
1445
|
+
def say_status(*args, &block); end
|
1446
|
+
|
1447
|
+
def set_color(*args, &block); end
|
1448
|
+
|
1449
|
+
def shell(); end
|
1450
|
+
|
1451
|
+
def shell=(shell); end
|
1452
|
+
|
1453
|
+
def terminal_width(*args, &block); end
|
1454
|
+
|
1455
|
+
def with_padding(); end
|
1456
|
+
|
1457
|
+
def yes?(*args, &block); end
|
1458
|
+
SHELL_DELEGATED_METHODS = ::T.let(nil, ::T.untyped)
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
class Bundler::Thor::Shell::Basic
|
1462
|
+
def answer_match(possibilities, answer, case_insensitive); end
|
1463
|
+
|
1464
|
+
def as_unicode(); end
|
1465
|
+
|
1466
|
+
def ask(statement, *args); end
|
1467
|
+
|
1468
|
+
def ask_filtered(statement, color, options); end
|
1469
|
+
|
1470
|
+
def ask_simply(statement, color, options); end
|
1471
|
+
|
1472
|
+
def base(); end
|
1473
|
+
|
1474
|
+
def base=(base); end
|
1475
|
+
|
1476
|
+
def can_display_colors?(); end
|
1477
|
+
|
1478
|
+
def dynamic_width(); end
|
1479
|
+
|
1480
|
+
def dynamic_width_stty(); end
|
1481
|
+
|
1482
|
+
def dynamic_width_tput(); end
|
1483
|
+
|
1484
|
+
def error(statement); end
|
1485
|
+
|
1486
|
+
def file_collision(destination); end
|
1487
|
+
|
1488
|
+
def file_collision_help(); end
|
1489
|
+
|
1490
|
+
def git_merge_tool(); end
|
1491
|
+
|
1492
|
+
def indent(count=T.unsafe(nil)); end
|
1493
|
+
|
1494
|
+
def is?(value); end
|
1495
|
+
|
1496
|
+
def lookup_color(color); end
|
1497
|
+
|
1498
|
+
def merge(destination, content); end
|
1499
|
+
|
1500
|
+
def merge_tool(); end
|
1501
|
+
|
1502
|
+
def mute(); end
|
1503
|
+
|
1504
|
+
def mute?(); end
|
1505
|
+
|
1506
|
+
def no?(statement, color=T.unsafe(nil)); end
|
1507
|
+
|
1508
|
+
def padding(); end
|
1509
|
+
|
1510
|
+
def padding=(value); end
|
1511
|
+
|
1512
|
+
def prepare_message(message, *color); end
|
1513
|
+
|
1514
|
+
def print_in_columns(array); end
|
1515
|
+
|
1516
|
+
def print_table(array, options=T.unsafe(nil)); end
|
1517
|
+
|
1518
|
+
def print_wrapped(message, options=T.unsafe(nil)); end
|
1519
|
+
|
1520
|
+
def quiet?(); end
|
1521
|
+
|
1522
|
+
def say(message=T.unsafe(nil), color=T.unsafe(nil), force_new_line=T.unsafe(nil)); end
|
1523
|
+
|
1524
|
+
def say_status(status, message, log_status=T.unsafe(nil)); end
|
1525
|
+
|
1526
|
+
def set_color(string, *_); end
|
1527
|
+
|
1528
|
+
def show_diff(destination, content); end
|
1529
|
+
|
1530
|
+
def stderr(); end
|
1531
|
+
|
1532
|
+
def stdout(); end
|
1533
|
+
|
1534
|
+
def terminal_width(); end
|
1535
|
+
|
1536
|
+
def truncate(string, width); end
|
1537
|
+
|
1538
|
+
def unix?(); end
|
1539
|
+
|
1540
|
+
def yes?(statement, color=T.unsafe(nil)); end
|
1541
|
+
DEFAULT_TERMINAL_WIDTH = ::T.let(nil, ::T.untyped)
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
class Bundler::Thor::Shell::Basic
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
class Bundler::Thor::Shell::Color
|
1548
|
+
def are_colors_disabled?(); end
|
1549
|
+
|
1550
|
+
def diff_lcs_loaded?(); end
|
1551
|
+
|
1552
|
+
def output_diff_line(diff); end
|
1553
|
+
|
1554
|
+
def set_color(string, *colors); end
|
1555
|
+
BLACK = ::T.let(nil, ::T.untyped)
|
1556
|
+
BLUE = ::T.let(nil, ::T.untyped)
|
1557
|
+
BOLD = ::T.let(nil, ::T.untyped)
|
1558
|
+
CLEAR = ::T.let(nil, ::T.untyped)
|
1559
|
+
CYAN = ::T.let(nil, ::T.untyped)
|
1560
|
+
GREEN = ::T.let(nil, ::T.untyped)
|
1561
|
+
MAGENTA = ::T.let(nil, ::T.untyped)
|
1562
|
+
ON_BLACK = ::T.let(nil, ::T.untyped)
|
1563
|
+
ON_BLUE = ::T.let(nil, ::T.untyped)
|
1564
|
+
ON_CYAN = ::T.let(nil, ::T.untyped)
|
1565
|
+
ON_GREEN = ::T.let(nil, ::T.untyped)
|
1566
|
+
ON_MAGENTA = ::T.let(nil, ::T.untyped)
|
1567
|
+
ON_RED = ::T.let(nil, ::T.untyped)
|
1568
|
+
ON_WHITE = ::T.let(nil, ::T.untyped)
|
1569
|
+
ON_YELLOW = ::T.let(nil, ::T.untyped)
|
1570
|
+
RED = ::T.let(nil, ::T.untyped)
|
1571
|
+
WHITE = ::T.let(nil, ::T.untyped)
|
1572
|
+
YELLOW = ::T.let(nil, ::T.untyped)
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
class Bundler::Thor::Shell::Color
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
class Bundler::Thor::Shell::HTML
|
1579
|
+
def ask(statement, color=T.unsafe(nil)); end
|
1580
|
+
|
1581
|
+
def diff_lcs_loaded?(); end
|
1582
|
+
|
1583
|
+
def output_diff_line(diff); end
|
1584
|
+
|
1585
|
+
def set_color(string, *colors); end
|
1586
|
+
BLACK = ::T.let(nil, ::T.untyped)
|
1587
|
+
BLUE = ::T.let(nil, ::T.untyped)
|
1588
|
+
BOLD = ::T.let(nil, ::T.untyped)
|
1589
|
+
CYAN = ::T.let(nil, ::T.untyped)
|
1590
|
+
GREEN = ::T.let(nil, ::T.untyped)
|
1591
|
+
MAGENTA = ::T.let(nil, ::T.untyped)
|
1592
|
+
ON_BLACK = ::T.let(nil, ::T.untyped)
|
1593
|
+
ON_BLUE = ::T.let(nil, ::T.untyped)
|
1594
|
+
ON_CYAN = ::T.let(nil, ::T.untyped)
|
1595
|
+
ON_GREEN = ::T.let(nil, ::T.untyped)
|
1596
|
+
ON_MAGENTA = ::T.let(nil, ::T.untyped)
|
1597
|
+
ON_RED = ::T.let(nil, ::T.untyped)
|
1598
|
+
ON_WHITE = ::T.let(nil, ::T.untyped)
|
1599
|
+
ON_YELLOW = ::T.let(nil, ::T.untyped)
|
1600
|
+
RED = ::T.let(nil, ::T.untyped)
|
1601
|
+
WHITE = ::T.let(nil, ::T.untyped)
|
1602
|
+
YELLOW = ::T.let(nil, ::T.untyped)
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
class Bundler::Thor::Shell::HTML
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
module Bundler::Thor::Shell
|
1609
|
+
end
|
1610
|
+
|
1611
|
+
Bundler::Thor::Task = Bundler::Thor::Command
|
1612
|
+
|
1613
|
+
class Bundler::Thor::UndefinedCommandError
|
1614
|
+
include ::DidYouMean::Correctable
|
1615
|
+
def all_commands(); end
|
1616
|
+
|
1617
|
+
def command(); end
|
1618
|
+
|
1619
|
+
def initialize(command, all_commands, namespace); end
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
class Bundler::Thor::UndefinedCommandError::SpellChecker
|
1623
|
+
def corrections(); end
|
1624
|
+
|
1625
|
+
def error(); end
|
1626
|
+
|
1627
|
+
def initialize(error); end
|
1628
|
+
|
1629
|
+
def spell_checker(); end
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
class Bundler::Thor::UndefinedCommandError::SpellChecker
|
1633
|
+
end
|
1634
|
+
|
1635
|
+
class Bundler::Thor::UndefinedCommandError
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
Bundler::Thor::UndefinedTaskError = Bundler::Thor::UndefinedCommandError
|
1639
|
+
|
1640
|
+
class Bundler::Thor::UnknownArgumentError
|
1641
|
+
include ::DidYouMean::Correctable
|
1642
|
+
def initialize(switches, unknown); end
|
1643
|
+
|
1644
|
+
def switches(); end
|
1645
|
+
|
1646
|
+
def unknown(); end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
class Bundler::Thor::UnknownArgumentError::SpellChecker
|
1650
|
+
def corrections(); end
|
1651
|
+
|
1652
|
+
def error(); end
|
1653
|
+
|
1654
|
+
def initialize(error); end
|
1655
|
+
|
1656
|
+
def spell_checker(); end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
class Bundler::Thor::UnknownArgumentError::SpellChecker
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
class Bundler::Thor::UnknownArgumentError
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
module Bundler::Thor::Util
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
module Bundler::Thor::Util
|
1669
|
+
def self.camel_case(str); end
|
1670
|
+
|
1671
|
+
def self.escape_globs(path); end
|
1672
|
+
|
1673
|
+
def self.escape_html(string); end
|
1674
|
+
|
1675
|
+
def self.find_by_namespace(namespace); end
|
1676
|
+
|
1677
|
+
def self.find_class_and_command_by_namespace(namespace, fallback=T.unsafe(nil)); end
|
1678
|
+
|
1679
|
+
def self.find_class_and_task_by_namespace(namespace, fallback=T.unsafe(nil)); end
|
1680
|
+
|
1681
|
+
def self.globs_for(path); end
|
1682
|
+
|
1683
|
+
def self.load_thorfile(path, content=T.unsafe(nil), debug=T.unsafe(nil)); end
|
1684
|
+
|
1685
|
+
def self.namespace_from_thor_class(constant); end
|
1686
|
+
|
1687
|
+
def self.namespaces_in_content(contents, file=T.unsafe(nil)); end
|
1688
|
+
|
1689
|
+
def self.ruby_command(); end
|
1690
|
+
|
1691
|
+
def self.snake_case(str); end
|
1692
|
+
|
1693
|
+
def self.thor_classes_in(klass); end
|
1694
|
+
|
1695
|
+
def self.thor_root(); end
|
1696
|
+
|
1697
|
+
def self.thor_root_glob(); end
|
1698
|
+
|
1699
|
+
def self.user_home(); end
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
class Bundler::Thor
|
1703
|
+
extend ::Bundler::Thor::Base::ClassMethods
|
1704
|
+
extend ::Bundler::Thor::Invocation::ClassMethods
|
1705
|
+
def self.banner(command, namespace=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
1706
|
+
|
1707
|
+
def self.check_unknown_options!(options=T.unsafe(nil)); end
|
1708
|
+
|
1709
|
+
def self.command_help(shell, command_name); end
|
1710
|
+
|
1711
|
+
def self.default_command(meth=T.unsafe(nil)); end
|
1712
|
+
|
1713
|
+
def self.default_task(meth=T.unsafe(nil)); end
|
1714
|
+
|
1715
|
+
def self.deprecation_warning(message); end
|
1716
|
+
|
1717
|
+
def self.desc(usage, description, options=T.unsafe(nil)); end
|
1718
|
+
|
1719
|
+
def self.disable_required_check(); end
|
1720
|
+
|
1721
|
+
def self.disable_required_check!(*command_names); end
|
1722
|
+
|
1723
|
+
def self.disable_required_check?(command); end
|
1724
|
+
|
1725
|
+
def self.dispatch(meth, given_args, given_opts, config); end
|
1726
|
+
|
1727
|
+
def self.dynamic_command_class(); end
|
1728
|
+
|
1729
|
+
def self.find_command_possibilities(meth); end
|
1730
|
+
|
1731
|
+
def self.find_task_possibilities(meth); end
|
1732
|
+
|
1733
|
+
def self.help(shell, subcommand=T.unsafe(nil)); end
|
1734
|
+
|
1735
|
+
def self.long_desc(long_description, options=T.unsafe(nil)); end
|
1736
|
+
|
1737
|
+
def self.map(mappings=T.unsafe(nil), **kw); end
|
1738
|
+
|
1739
|
+
def self.method_option(name, options=T.unsafe(nil)); end
|
1740
|
+
|
1741
|
+
def self.method_options(options=T.unsafe(nil)); end
|
1742
|
+
|
1743
|
+
def self.normalize_command_name(meth); end
|
1744
|
+
|
1745
|
+
def self.normalize_task_name(meth); end
|
1746
|
+
|
1747
|
+
def self.option(name, options=T.unsafe(nil)); end
|
1748
|
+
|
1749
|
+
def self.options(options=T.unsafe(nil)); end
|
1750
|
+
|
1751
|
+
def self.package_name(name, _=T.unsafe(nil)); end
|
1752
|
+
|
1753
|
+
def self.printable_commands(all=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
1754
|
+
|
1755
|
+
def self.printable_tasks(all=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
1756
|
+
|
1757
|
+
def self.register(klass, subcommand_name, usage, description, options=T.unsafe(nil)); end
|
1758
|
+
|
1759
|
+
def self.retrieve_command_name(args); end
|
1760
|
+
|
1761
|
+
def self.retrieve_task_name(args); end
|
1762
|
+
|
1763
|
+
def self.stop_on_unknown_option(); end
|
1764
|
+
|
1765
|
+
def self.stop_on_unknown_option!(*command_names); end
|
1766
|
+
|
1767
|
+
def self.stop_on_unknown_option?(command); end
|
1768
|
+
|
1769
|
+
def self.subcommand(subcommand, subcommand_class); end
|
1770
|
+
|
1771
|
+
def self.subcommand_classes(); end
|
1772
|
+
|
1773
|
+
def self.subcommand_help(cmd); end
|
1774
|
+
|
1775
|
+
def self.subcommands(); end
|
1776
|
+
|
1777
|
+
def self.subtask(subcommand, subcommand_class); end
|
1778
|
+
|
1779
|
+
def self.subtask_help(cmd); end
|
1780
|
+
|
1781
|
+
def self.subtasks(); end
|
1782
|
+
|
1783
|
+
def self.task_help(shell, command_name); end
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
class Bundler::UI::Shell
|
1787
|
+
def add_color(string, *color); end
|
1788
|
+
|
1789
|
+
def ask(msg); end
|
1790
|
+
|
1791
|
+
def confirm(msg, newline=T.unsafe(nil)); end
|
1792
|
+
|
1793
|
+
def debug(msg, newline=T.unsafe(nil)); end
|
1794
|
+
|
1795
|
+
def debug?(); end
|
1796
|
+
|
1797
|
+
def error(msg, newline=T.unsafe(nil)); end
|
1798
|
+
|
1799
|
+
def info(msg, newline=T.unsafe(nil)); end
|
1800
|
+
|
1801
|
+
def initialize(options=T.unsafe(nil)); end
|
1802
|
+
|
1803
|
+
def level(name=T.unsafe(nil)); end
|
1804
|
+
|
1805
|
+
def level=(level); end
|
1806
|
+
|
1807
|
+
def no?(); end
|
1808
|
+
|
1809
|
+
def quiet?(); end
|
1810
|
+
|
1811
|
+
def shell=(shell); end
|
1812
|
+
|
1813
|
+
def silence(&blk); end
|
1814
|
+
|
1815
|
+
def trace(e, newline=T.unsafe(nil), force=T.unsafe(nil)); end
|
1816
|
+
|
1817
|
+
def unprinted_warnings(); end
|
1818
|
+
|
1819
|
+
def warn(msg, newline=T.unsafe(nil)); end
|
1820
|
+
|
1821
|
+
def yes?(msg); end
|
1822
|
+
LEVELS = ::T.let(nil, ::T.untyped)
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
class Bundler::UI::Shell
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
module Bundler::URI
|
1829
|
+
include ::Bundler::URI::RFC2396_REGEXP
|
1830
|
+
ABS_PATH = ::T.let(nil, ::T.untyped)
|
1831
|
+
ABS_URI = ::T.let(nil, ::T.untyped)
|
1832
|
+
ABS_URI_REF = ::T.let(nil, ::T.untyped)
|
1833
|
+
DEFAULT_PARSER = ::T.let(nil, ::T.untyped)
|
1834
|
+
ESCAPED = ::T.let(nil, ::T.untyped)
|
1835
|
+
FRAGMENT = ::T.let(nil, ::T.untyped)
|
1836
|
+
HOST = ::T.let(nil, ::T.untyped)
|
1837
|
+
OPAQUE = ::T.let(nil, ::T.untyped)
|
1838
|
+
PORT = ::T.let(nil, ::T.untyped)
|
1839
|
+
QUERY = ::T.let(nil, ::T.untyped)
|
1840
|
+
REGISTRY = ::T.let(nil, ::T.untyped)
|
1841
|
+
REL_PATH = ::T.let(nil, ::T.untyped)
|
1842
|
+
REL_URI = ::T.let(nil, ::T.untyped)
|
1843
|
+
REL_URI_REF = ::T.let(nil, ::T.untyped)
|
1844
|
+
RFC3986_PARSER = ::T.let(nil, ::T.untyped)
|
1845
|
+
SCHEME = ::T.let(nil, ::T.untyped)
|
1846
|
+
TBLDECWWWCOMP_ = ::T.let(nil, ::T.untyped)
|
1847
|
+
TBLENCWWWCOMP_ = ::T.let(nil, ::T.untyped)
|
1848
|
+
UNSAFE = ::T.let(nil, ::T.untyped)
|
1849
|
+
URI_REF = ::T.let(nil, ::T.untyped)
|
1850
|
+
USERINFO = ::T.let(nil, ::T.untyped)
|
1851
|
+
VERSION = ::T.let(nil, ::T.untyped)
|
1852
|
+
VERSION_CODE = ::T.let(nil, ::T.untyped)
|
1853
|
+
WEB_ENCODINGS_ = ::T.let(nil, ::T.untyped)
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
class Bundler::URI::BadURIError
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
class Bundler::URI::BadURIError
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
class Bundler::URI::Error
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
class Bundler::URI::Error
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
module Bundler::URI::Escape
|
1869
|
+
def decode(*arg); end
|
1870
|
+
|
1871
|
+
def encode(*arg); end
|
1872
|
+
|
1873
|
+
def escape(*arg); end
|
1874
|
+
|
1875
|
+
def unescape(*arg); end
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
module Bundler::URI::Escape
|
1879
|
+
end
|
1880
|
+
|
1881
|
+
class Bundler::URI::FTP
|
1882
|
+
def set_typecode(v); end
|
1883
|
+
|
1884
|
+
def typecode(); end
|
1885
|
+
|
1886
|
+
def typecode=(typecode); end
|
1887
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
1888
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
1889
|
+
TYPECODE = ::T.let(nil, ::T.untyped)
|
1890
|
+
TYPECODE_PREFIX = ::T.let(nil, ::T.untyped)
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
class Bundler::URI::FTP
|
1894
|
+
def self.new2(user, password, host, port, path, typecode=T.unsafe(nil), arg_check=T.unsafe(nil)); end
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
class Bundler::URI::File
|
1898
|
+
def check_password(user); end
|
1899
|
+
|
1900
|
+
def check_user(user); end
|
1901
|
+
|
1902
|
+
def check_userinfo(user); end
|
1903
|
+
|
1904
|
+
def set_userinfo(v); end
|
1905
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
1906
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
class Bundler::URI::File
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
class Bundler::URI::Generic
|
1913
|
+
include ::Bundler::URI
|
1914
|
+
include ::Bundler::URI::RFC2396_REGEXP
|
1915
|
+
def +(oth); end
|
1916
|
+
|
1917
|
+
def -(oth); end
|
1918
|
+
|
1919
|
+
def ==(oth); end
|
1920
|
+
|
1921
|
+
def absolute(); end
|
1922
|
+
|
1923
|
+
def absolute?(); end
|
1924
|
+
|
1925
|
+
def coerce(oth); end
|
1926
|
+
|
1927
|
+
def component(); end
|
1928
|
+
|
1929
|
+
def component_ary(); end
|
1930
|
+
|
1931
|
+
def default_port(); end
|
1932
|
+
|
1933
|
+
def eql?(oth); end
|
1934
|
+
|
1935
|
+
def find_proxy(env=T.unsafe(nil)); end
|
1936
|
+
|
1937
|
+
def fragment(); end
|
1938
|
+
|
1939
|
+
def fragment=(v); end
|
1940
|
+
|
1941
|
+
def hierarchical?(); end
|
1942
|
+
|
1943
|
+
def host(); end
|
1944
|
+
|
1945
|
+
def host=(v); end
|
1946
|
+
|
1947
|
+
def hostname(); end
|
1948
|
+
|
1949
|
+
def hostname=(v); end
|
1950
|
+
|
1951
|
+
def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser=T.unsafe(nil), arg_check=T.unsafe(nil)); end
|
1952
|
+
|
1953
|
+
def merge(oth); end
|
1954
|
+
|
1955
|
+
def merge!(oth); end
|
1956
|
+
|
1957
|
+
def normalize(); end
|
1958
|
+
|
1959
|
+
def normalize!(); end
|
1960
|
+
|
1961
|
+
def opaque(); end
|
1962
|
+
|
1963
|
+
def opaque=(v); end
|
1964
|
+
|
1965
|
+
def parser(); end
|
1966
|
+
|
1967
|
+
def password(); end
|
1968
|
+
|
1969
|
+
def password=(password); end
|
1970
|
+
|
1971
|
+
def path(); end
|
1972
|
+
|
1973
|
+
def path=(v); end
|
1974
|
+
|
1975
|
+
def port(); end
|
1976
|
+
|
1977
|
+
def port=(v); end
|
1978
|
+
|
1979
|
+
def query(); end
|
1980
|
+
|
1981
|
+
def query=(v); end
|
1982
|
+
|
1983
|
+
def registry(); end
|
1984
|
+
|
1985
|
+
def registry=(v); end
|
1986
|
+
|
1987
|
+
def relative?(); end
|
1988
|
+
|
1989
|
+
def route_from(oth); end
|
1990
|
+
|
1991
|
+
def route_to(oth); end
|
1992
|
+
|
1993
|
+
def scheme(); end
|
1994
|
+
|
1995
|
+
def scheme=(v); end
|
1996
|
+
|
1997
|
+
def select(*components); end
|
1998
|
+
|
1999
|
+
def set_host(v); end
|
2000
|
+
|
2001
|
+
def set_opaque(v); end
|
2002
|
+
|
2003
|
+
def set_password(v); end
|
2004
|
+
|
2005
|
+
def set_path(v); end
|
2006
|
+
|
2007
|
+
def set_port(v); end
|
2008
|
+
|
2009
|
+
def set_registry(v); end
|
2010
|
+
|
2011
|
+
def set_scheme(v); end
|
2012
|
+
|
2013
|
+
def set_user(v); end
|
2014
|
+
|
2015
|
+
def set_userinfo(user, password=T.unsafe(nil)); end
|
2016
|
+
|
2017
|
+
def user(); end
|
2018
|
+
|
2019
|
+
def user=(user); end
|
2020
|
+
|
2021
|
+
def userinfo(); end
|
2022
|
+
|
2023
|
+
def userinfo=(userinfo); end
|
2024
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
2025
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2026
|
+
USE_REGISTRY = ::T.let(nil, ::T.untyped)
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
class Bundler::URI::Generic
|
2030
|
+
def self.build(args); end
|
2031
|
+
|
2032
|
+
def self.build2(args); end
|
2033
|
+
|
2034
|
+
def self.component(); end
|
2035
|
+
|
2036
|
+
def self.default_port(); end
|
2037
|
+
|
2038
|
+
def self.use_proxy?(hostname, addr, port, no_proxy); end
|
2039
|
+
|
2040
|
+
def self.use_registry(); end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
class Bundler::URI::HTTP
|
2044
|
+
def request_uri(); end
|
2045
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
2046
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
class Bundler::URI::HTTP
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
class Bundler::URI::HTTPS
|
2053
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
class Bundler::URI::HTTPS
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
class Bundler::URI::InvalidComponentError
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
class Bundler::URI::InvalidComponentError
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
class Bundler::URI::InvalidURIError
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
class Bundler::URI::InvalidURIError
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
class Bundler::URI::LDAP
|
2072
|
+
def attributes(); end
|
2073
|
+
|
2074
|
+
def attributes=(val); end
|
2075
|
+
|
2076
|
+
def dn(); end
|
2077
|
+
|
2078
|
+
def dn=(val); end
|
2079
|
+
|
2080
|
+
def extensions(); end
|
2081
|
+
|
2082
|
+
def extensions=(val); end
|
2083
|
+
|
2084
|
+
def filter(); end
|
2085
|
+
|
2086
|
+
def filter=(val); end
|
2087
|
+
|
2088
|
+
def initialize(*arg); end
|
2089
|
+
|
2090
|
+
def scope(); end
|
2091
|
+
|
2092
|
+
def scope=(val); end
|
2093
|
+
|
2094
|
+
def set_attributes(val); end
|
2095
|
+
|
2096
|
+
def set_dn(val); end
|
2097
|
+
|
2098
|
+
def set_extensions(val); end
|
2099
|
+
|
2100
|
+
def set_filter(val); end
|
2101
|
+
|
2102
|
+
def set_scope(val); end
|
2103
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
2104
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2105
|
+
SCOPE = ::T.let(nil, ::T.untyped)
|
2106
|
+
SCOPE_BASE = ::T.let(nil, ::T.untyped)
|
2107
|
+
SCOPE_ONE = ::T.let(nil, ::T.untyped)
|
2108
|
+
SCOPE_SUB = ::T.let(nil, ::T.untyped)
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
class Bundler::URI::LDAP
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
class Bundler::URI::LDAPS
|
2115
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
class Bundler::URI::LDAPS
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
class Bundler::URI::MailTo
|
2122
|
+
def headers(); end
|
2123
|
+
|
2124
|
+
def headers=(v); end
|
2125
|
+
|
2126
|
+
def initialize(*arg); end
|
2127
|
+
|
2128
|
+
def set_headers(v); end
|
2129
|
+
|
2130
|
+
def set_to(v); end
|
2131
|
+
|
2132
|
+
def to(); end
|
2133
|
+
|
2134
|
+
def to=(v); end
|
2135
|
+
|
2136
|
+
def to_mailtext(); end
|
2137
|
+
|
2138
|
+
def to_rfc822text(); end
|
2139
|
+
COMPONENT = ::T.let(nil, ::T.untyped)
|
2140
|
+
DEFAULT_PORT = ::T.let(nil, ::T.untyped)
|
2141
|
+
EMAIL_REGEXP = ::T.let(nil, ::T.untyped)
|
2142
|
+
HEADER_REGEXP = ::T.let(nil, ::T.untyped)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
class Bundler::URI::MailTo
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
Bundler::URI::Parser = Bundler::URI::RFC2396_Parser
|
2149
|
+
|
2150
|
+
Bundler::URI::REGEXP = Bundler::URI::RFC2396_REGEXP
|
2151
|
+
|
2152
|
+
class Bundler::URI::RFC2396_Parser
|
2153
|
+
include ::Bundler::URI::RFC2396_REGEXP
|
2154
|
+
def escape(str, unsafe=T.unsafe(nil)); end
|
2155
|
+
|
2156
|
+
def extract(str, schemes=T.unsafe(nil)); end
|
2157
|
+
|
2158
|
+
def initialize(opts=T.unsafe(nil)); end
|
2159
|
+
|
2160
|
+
def join(*uris); end
|
2161
|
+
|
2162
|
+
def make_regexp(schemes=T.unsafe(nil)); end
|
2163
|
+
|
2164
|
+
def parse(uri); end
|
2165
|
+
|
2166
|
+
def pattern(); end
|
2167
|
+
|
2168
|
+
def regexp(); end
|
2169
|
+
|
2170
|
+
def split(uri); end
|
2171
|
+
|
2172
|
+
def unescape(str, escaped=T.unsafe(nil)); end
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
class Bundler::URI::RFC2396_Parser
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
module Bundler::URI::RFC2396_REGEXP
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
module Bundler::URI::RFC2396_REGEXP::PATTERN
|
2182
|
+
ABS_PATH = ::T.let(nil, ::T.untyped)
|
2183
|
+
ABS_URI = ::T.let(nil, ::T.untyped)
|
2184
|
+
ALNUM = ::T.let(nil, ::T.untyped)
|
2185
|
+
ALPHA = ::T.let(nil, ::T.untyped)
|
2186
|
+
DOMLABEL = ::T.let(nil, ::T.untyped)
|
2187
|
+
ESCAPED = ::T.let(nil, ::T.untyped)
|
2188
|
+
FRAGMENT = ::T.let(nil, ::T.untyped)
|
2189
|
+
HEX = ::T.let(nil, ::T.untyped)
|
2190
|
+
HIER_PART = ::T.let(nil, ::T.untyped)
|
2191
|
+
HOST = ::T.let(nil, ::T.untyped)
|
2192
|
+
HOSTNAME = ::T.let(nil, ::T.untyped)
|
2193
|
+
HOSTPORT = ::T.let(nil, ::T.untyped)
|
2194
|
+
IPV4ADDR = ::T.let(nil, ::T.untyped)
|
2195
|
+
IPV6ADDR = ::T.let(nil, ::T.untyped)
|
2196
|
+
IPV6REF = ::T.let(nil, ::T.untyped)
|
2197
|
+
NET_PATH = ::T.let(nil, ::T.untyped)
|
2198
|
+
OPAQUE_PART = ::T.let(nil, ::T.untyped)
|
2199
|
+
PATH_SEGMENTS = ::T.let(nil, ::T.untyped)
|
2200
|
+
PORT = ::T.let(nil, ::T.untyped)
|
2201
|
+
QUERY = ::T.let(nil, ::T.untyped)
|
2202
|
+
REG_NAME = ::T.let(nil, ::T.untyped)
|
2203
|
+
REL_PATH = ::T.let(nil, ::T.untyped)
|
2204
|
+
REL_SEGMENT = ::T.let(nil, ::T.untyped)
|
2205
|
+
REL_URI = ::T.let(nil, ::T.untyped)
|
2206
|
+
RESERVED = ::T.let(nil, ::T.untyped)
|
2207
|
+
SCHEME = ::T.let(nil, ::T.untyped)
|
2208
|
+
TOPLABEL = ::T.let(nil, ::T.untyped)
|
2209
|
+
UNRESERVED = ::T.let(nil, ::T.untyped)
|
2210
|
+
URIC = ::T.let(nil, ::T.untyped)
|
2211
|
+
URIC_NO_SLASH = ::T.let(nil, ::T.untyped)
|
2212
|
+
URI_REF = ::T.let(nil, ::T.untyped)
|
2213
|
+
USERINFO = ::T.let(nil, ::T.untyped)
|
2214
|
+
X_ABS_URI = ::T.let(nil, ::T.untyped)
|
2215
|
+
X_REL_URI = ::T.let(nil, ::T.untyped)
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
module Bundler::URI::RFC2396_REGEXP::PATTERN
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
module Bundler::URI::RFC2396_REGEXP
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
class Bundler::URI::RFC3986_Parser
|
2225
|
+
def join(*uris); end
|
2226
|
+
|
2227
|
+
def parse(uri); end
|
2228
|
+
|
2229
|
+
def regexp(); end
|
2230
|
+
|
2231
|
+
def split(uri); end
|
2232
|
+
RFC3986_URI = ::T.let(nil, ::T.untyped)
|
2233
|
+
RFC3986_relative_ref = ::T.let(nil, ::T.untyped)
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
class Bundler::URI::RFC3986_Parser
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
module Bundler::URI::Util
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
module Bundler::URI::Util
|
2243
|
+
def self.make_components_hash(klass, array_hash); end
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
module Bundler::URI
|
2247
|
+
extend ::Bundler::URI::Escape
|
2248
|
+
def self.decode_www_form(str, enc=T.unsafe(nil), separator: T.unsafe(nil), use__charset_: T.unsafe(nil), isindex: T.unsafe(nil)); end
|
2249
|
+
|
2250
|
+
def self.decode_www_form_component(str, enc=T.unsafe(nil)); end
|
2251
|
+
|
2252
|
+
def self.encode_www_form(enum, enc=T.unsafe(nil)); end
|
2253
|
+
|
2254
|
+
def self.encode_www_form_component(str, enc=T.unsafe(nil)); end
|
2255
|
+
|
2256
|
+
def self.extract(str, schemes=T.unsafe(nil), &block); end
|
2257
|
+
|
2258
|
+
def self.get_encoding(label); end
|
2259
|
+
|
2260
|
+
def self.join(*str); end
|
2261
|
+
|
2262
|
+
def self.parse(uri); end
|
2263
|
+
|
2264
|
+
def self.regexp(schemes=T.unsafe(nil)); end
|
2265
|
+
|
2266
|
+
def self.scheme_list(); end
|
2267
|
+
|
2268
|
+
def self.split(uri); end
|
2269
|
+
end
|
2270
|
+
|
2271
|
+
module Bundler::VersionRanges
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
class Bundler::VersionRanges::NEq
|
2275
|
+
def version(); end
|
2276
|
+
|
2277
|
+
def version=(_); end
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
class Bundler::VersionRanges::NEq
|
2281
|
+
def self.[](*_); end
|
2282
|
+
|
2283
|
+
def self.members(); end
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
class Bundler::VersionRanges::ReqR
|
2287
|
+
def cover?(v); end
|
2288
|
+
|
2289
|
+
def empty?(); end
|
2290
|
+
|
2291
|
+
def left(); end
|
2292
|
+
|
2293
|
+
def left=(_); end
|
2294
|
+
|
2295
|
+
def right(); end
|
2296
|
+
|
2297
|
+
def right=(_); end
|
2298
|
+
|
2299
|
+
def single?(); end
|
2300
|
+
INFINITY = ::T.let(nil, ::T.untyped)
|
2301
|
+
UNIVERSAL = ::T.let(nil, ::T.untyped)
|
2302
|
+
ZERO = ::T.let(nil, ::T.untyped)
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
class Bundler::VersionRanges::ReqR::Endpoint
|
2306
|
+
def inclusive(); end
|
2307
|
+
|
2308
|
+
def inclusive=(_); end
|
2309
|
+
|
2310
|
+
def version(); end
|
2311
|
+
|
2312
|
+
def version=(_); end
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
class Bundler::VersionRanges::ReqR::Endpoint
|
2316
|
+
def self.[](*_); end
|
2317
|
+
|
2318
|
+
def self.members(); end
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
class Bundler::VersionRanges::ReqR
|
2322
|
+
def self.[](*_); end
|
2323
|
+
|
2324
|
+
def self.members(); end
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
module Bundler::VersionRanges
|
2328
|
+
def self.empty?(ranges, neqs); end
|
2329
|
+
|
2330
|
+
def self.for(requirement); end
|
2331
|
+
|
2332
|
+
def self.for_many(requirements); end
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
module Bundler
|
2336
|
+
def self.original_exec(*args); end
|
2337
|
+
|
2338
|
+
def self.original_system(*args); end
|
2339
|
+
|
2340
|
+
def self.unbundled_env(); end
|
2341
|
+
|
2342
|
+
def self.unbundled_exec(*args); end
|
2343
|
+
|
2344
|
+
def self.unbundled_system(*args); end
|
2345
|
+
|
2346
|
+
def self.with_unbundled_env(); end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
class Class
|
2350
|
+
def json_creatable?(); end
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
class Complex
|
2354
|
+
def self.polar(*_); end
|
2355
|
+
|
2356
|
+
def self.rect(*_); end
|
2357
|
+
|
2358
|
+
def self.rectangular(*_); end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class Delegator
|
2362
|
+
def !=(obj); end
|
2363
|
+
|
2364
|
+
def ==(obj); end
|
2365
|
+
|
2366
|
+
def __getobj__(); end
|
2367
|
+
|
2368
|
+
def __setobj__(obj); end
|
2369
|
+
|
2370
|
+
def eql?(obj); end
|
2371
|
+
|
2372
|
+
def initialize(obj); end
|
2373
|
+
|
2374
|
+
def marshal_dump(); end
|
2375
|
+
|
2376
|
+
def marshal_load(data); end
|
2377
|
+
|
2378
|
+
def method_missing(m, *args, &block); end
|
2379
|
+
|
2380
|
+
def methods(all=T.unsafe(nil)); end
|
2381
|
+
|
2382
|
+
def protected_methods(all=T.unsafe(nil)); end
|
2383
|
+
|
2384
|
+
def public_methods(all=T.unsafe(nil)); end
|
2385
|
+
RUBYGEMS_ACTIVATION_MONITOR = ::T.let(nil, ::T.untyped)
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
class Delegator
|
2389
|
+
def self.const_missing(n); end
|
2390
|
+
|
2391
|
+
def self.delegating_block(mid); end
|
2392
|
+
|
2393
|
+
def self.public_api(); end
|
2394
|
+
end
|
2395
|
+
|
2396
|
+
class DidYouMean::ClassNameChecker
|
2397
|
+
def class_name(); end
|
2398
|
+
|
2399
|
+
def class_names(); end
|
2400
|
+
|
2401
|
+
def corrections(); end
|
2402
|
+
|
2403
|
+
def initialize(exception); end
|
2404
|
+
|
2405
|
+
def scopes(); end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
class DidYouMean::CorrectElement
|
2409
|
+
def call(names, element); end
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
class DidYouMean::CorrectElement
|
2413
|
+
end
|
2414
|
+
|
2415
|
+
module DidYouMean::Correctable
|
2416
|
+
def corrections(); end
|
2417
|
+
|
2418
|
+
def original_message(); end
|
2419
|
+
|
2420
|
+
def spell_checker(); end
|
2421
|
+
|
2422
|
+
def to_s(); end
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
module DidYouMean::Jaro
|
2426
|
+
def self.distance(str1, str2); end
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
module DidYouMean::JaroWinkler
|
2430
|
+
def self.distance(str1, str2); end
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
class DidYouMean::KeyErrorChecker
|
2434
|
+
def corrections(); end
|
2435
|
+
|
2436
|
+
def initialize(key_error); end
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
class DidYouMean::KeyErrorChecker
|
2440
|
+
end
|
2441
|
+
|
2442
|
+
module DidYouMean::Levenshtein
|
2443
|
+
def self.distance(str1, str2); end
|
2444
|
+
|
2445
|
+
def self.min3(a, b, c); end
|
2446
|
+
end
|
2447
|
+
|
2448
|
+
class DidYouMean::MethodNameChecker
|
2449
|
+
def corrections(); end
|
2450
|
+
|
2451
|
+
def initialize(exception); end
|
2452
|
+
|
2453
|
+
def method_name(); end
|
2454
|
+
|
2455
|
+
def method_names(); end
|
2456
|
+
|
2457
|
+
def names_to_exclude(); end
|
2458
|
+
|
2459
|
+
def receiver(); end
|
2460
|
+
RB_RESERVED_WORDS = ::T.let(nil, ::T.untyped)
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
class DidYouMean::NullChecker
|
2464
|
+
def corrections(); end
|
2465
|
+
|
2466
|
+
def initialize(*_); end
|
2467
|
+
end
|
2468
|
+
|
2469
|
+
class DidYouMean::ParseDimensions
|
2470
|
+
def call(); end
|
2471
|
+
|
2472
|
+
def initialize(dictionary, separator); end
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
class DidYouMean::ParseDimensions
|
2476
|
+
end
|
2477
|
+
|
2478
|
+
class DidYouMean::PlainFormatter
|
2479
|
+
def message_for(corrections); end
|
2480
|
+
end
|
2481
|
+
|
2482
|
+
class DidYouMean::PlainFormatter
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
class DidYouMean::SpellChecker
|
2486
|
+
def correct(input); end
|
2487
|
+
|
2488
|
+
def initialize(dictionary:); end
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
class DidYouMean::TreeSpellChecker
|
2492
|
+
def augment(); end
|
2493
|
+
|
2494
|
+
def correct(input); end
|
2495
|
+
|
2496
|
+
def dictionary(); end
|
2497
|
+
|
2498
|
+
def dimensions(); end
|
2499
|
+
|
2500
|
+
def initialize(dictionary:, separator: T.unsafe(nil), augment: T.unsafe(nil)); end
|
2501
|
+
|
2502
|
+
def separator(); end
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
class DidYouMean::TreeSpellChecker
|
2506
|
+
end
|
2507
|
+
|
2508
|
+
class DidYouMean::VariableNameChecker
|
2509
|
+
def corrections(); end
|
2510
|
+
|
2511
|
+
def cvar_names(); end
|
2512
|
+
|
2513
|
+
def initialize(exception); end
|
2514
|
+
|
2515
|
+
def ivar_names(); end
|
2516
|
+
|
2517
|
+
def lvar_names(); end
|
2518
|
+
|
2519
|
+
def method_names(); end
|
2520
|
+
|
2521
|
+
def name(); end
|
2522
|
+
RB_RESERVED_WORDS = ::T.let(nil, ::T.untyped)
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
module DidYouMean
|
2526
|
+
def self.correct_error(error_class, spell_checker); end
|
2527
|
+
|
2528
|
+
def self.formatter(); end
|
2529
|
+
|
2530
|
+
def self.formatter=(formatter); end
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
class Dir
|
2534
|
+
def children(); end
|
2535
|
+
|
2536
|
+
def each_child(); end
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
module Dir::Tmpname
|
2540
|
+
UNUSABLE_CHARS = ::T.let(nil, ::T.untyped)
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
class Dir
|
2544
|
+
def self.children(*_); end
|
2545
|
+
|
2546
|
+
def self.each_child(*_); end
|
2547
|
+
|
2548
|
+
def self.empty?(_); end
|
2549
|
+
|
2550
|
+
def self.exists?(_); end
|
2551
|
+
|
2552
|
+
def self.tmpdir(); end
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
class ERB
|
2556
|
+
def def_method(mod, methodname, fname=T.unsafe(nil)); end
|
2557
|
+
|
2558
|
+
def def_module(methodname=T.unsafe(nil)); end
|
2559
|
+
|
2560
|
+
def result_with_hash(hash); end
|
2561
|
+
end
|
2562
|
+
|
2563
|
+
class Encoding
|
2564
|
+
def _dump(*_); end
|
2565
|
+
CESU_8 = ::T.let(nil, ::T.untyped)
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
class Encoding::Converter
|
2569
|
+
def convert(_); end
|
2570
|
+
|
2571
|
+
def convpath(); end
|
2572
|
+
|
2573
|
+
def destination_encoding(); end
|
2574
|
+
|
2575
|
+
def finish(); end
|
2576
|
+
|
2577
|
+
def initialize(*_); end
|
2578
|
+
|
2579
|
+
def insert_output(_); end
|
2580
|
+
|
2581
|
+
def last_error(); end
|
2582
|
+
|
2583
|
+
def primitive_convert(*_); end
|
2584
|
+
|
2585
|
+
def primitive_errinfo(); end
|
2586
|
+
|
2587
|
+
def putback(*_); end
|
2588
|
+
|
2589
|
+
def replacement(); end
|
2590
|
+
|
2591
|
+
def replacement=(replacement); end
|
2592
|
+
|
2593
|
+
def source_encoding(); end
|
2594
|
+
end
|
2595
|
+
|
2596
|
+
class Encoding::Converter
|
2597
|
+
def self.asciicompat_encoding(_); end
|
2598
|
+
|
2599
|
+
def self.search_convpath(*_); end
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
class Encoding::InvalidByteSequenceError
|
2603
|
+
def destination_encoding(); end
|
2604
|
+
|
2605
|
+
def destination_encoding_name(); end
|
2606
|
+
|
2607
|
+
def error_bytes(); end
|
2608
|
+
|
2609
|
+
def incomplete_input?(); end
|
2610
|
+
|
2611
|
+
def readagain_bytes(); end
|
2612
|
+
|
2613
|
+
def source_encoding(); end
|
2614
|
+
|
2615
|
+
def source_encoding_name(); end
|
2616
|
+
end
|
2617
|
+
|
2618
|
+
class Encoding::UndefinedConversionError
|
2619
|
+
def destination_encoding(); end
|
2620
|
+
|
2621
|
+
def destination_encoding_name(); end
|
2622
|
+
|
2623
|
+
def error_char(); end
|
2624
|
+
|
2625
|
+
def source_encoding(); end
|
2626
|
+
|
2627
|
+
def source_encoding_name(); end
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
class Encoding
|
2631
|
+
def self._load(_); end
|
2632
|
+
|
2633
|
+
def self.locale_charmap(); end
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
module Enumerable
|
2637
|
+
def chain(*_); end
|
2638
|
+
|
2639
|
+
def chunk(); end
|
2640
|
+
|
2641
|
+
def chunk_while(); end
|
2642
|
+
|
2643
|
+
def each_entry(*_); end
|
2644
|
+
|
2645
|
+
def filter_map(); end
|
2646
|
+
|
2647
|
+
def grep_v(_); end
|
2648
|
+
|
2649
|
+
def slice_after(*_); end
|
2650
|
+
|
2651
|
+
def slice_before(*_); end
|
2652
|
+
|
2653
|
+
def slice_when(); end
|
2654
|
+
|
2655
|
+
def sum(*_); end
|
2656
|
+
|
2657
|
+
def tally(); end
|
2658
|
+
|
2659
|
+
def to_set(klass=T.unsafe(nil), *args, &block); end
|
2660
|
+
|
2661
|
+
def uniq(); end
|
2662
|
+
|
2663
|
+
def zip(*_); end
|
2664
|
+
end
|
2665
|
+
|
2666
|
+
class Enumerator
|
2667
|
+
def +(_); end
|
2668
|
+
|
2669
|
+
def each_with_index(); end
|
2670
|
+
end
|
2671
|
+
|
2672
|
+
class Enumerator::ArithmeticSequence
|
2673
|
+
def begin(); end
|
2674
|
+
|
2675
|
+
def each(&blk); end
|
2676
|
+
|
2677
|
+
def end(); end
|
2678
|
+
|
2679
|
+
def exclude_end?(); end
|
2680
|
+
|
2681
|
+
def last(*_); end
|
2682
|
+
|
2683
|
+
def step(); end
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
class Enumerator::ArithmeticSequence
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
class Enumerator::Chain
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
class Enumerator::Chain
|
2693
|
+
end
|
2694
|
+
|
2695
|
+
class Enumerator::Generator
|
2696
|
+
def each(*_, &blk); end
|
2697
|
+
|
2698
|
+
def initialize(*_); end
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
class Enumerator::Lazy
|
2702
|
+
def chunk(*_); end
|
2703
|
+
|
2704
|
+
def chunk_while(*_); end
|
2705
|
+
|
2706
|
+
def eager(); end
|
2707
|
+
|
2708
|
+
def force(*_); end
|
2709
|
+
|
2710
|
+
def slice_when(*_); end
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
class Enumerator::Producer
|
2714
|
+
def each(&blk); end
|
2715
|
+
end
|
2716
|
+
|
2717
|
+
class Enumerator::Producer
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
class Enumerator::Yielder
|
2721
|
+
def to_proc(); end
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
class Enumerator
|
2725
|
+
def self.produce(*_); end
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
class Errno::EAUTH
|
2729
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2730
|
+
end
|
2731
|
+
|
2732
|
+
class Errno::EAUTH
|
2733
|
+
end
|
2734
|
+
|
2735
|
+
class Errno::EBADARCH
|
2736
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
class Errno::EBADARCH
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
class Errno::EBADEXEC
|
2743
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2744
|
+
end
|
2745
|
+
|
2746
|
+
class Errno::EBADEXEC
|
2747
|
+
end
|
2748
|
+
|
2749
|
+
class Errno::EBADMACHO
|
2750
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2751
|
+
end
|
2752
|
+
|
2753
|
+
class Errno::EBADMACHO
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
class Errno::EBADRPC
|
2757
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
class Errno::EBADRPC
|
2761
|
+
end
|
2762
|
+
|
2763
|
+
Errno::ECAPMODE = Errno::NOERROR
|
2764
|
+
|
2765
|
+
Errno::EDEADLOCK = Errno::NOERROR
|
2766
|
+
|
2767
|
+
class Errno::EDEVERR
|
2768
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2769
|
+
end
|
2770
|
+
|
2771
|
+
class Errno::EDEVERR
|
2772
|
+
end
|
2773
|
+
|
2774
|
+
Errno::EDOOFUS = Errno::NOERROR
|
2775
|
+
|
2776
|
+
class Errno::EFTYPE
|
2777
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2778
|
+
end
|
2779
|
+
|
2780
|
+
class Errno::EFTYPE
|
2781
|
+
end
|
2782
|
+
|
2783
|
+
Errno::EIPSEC = Errno::NOERROR
|
2784
|
+
|
2785
|
+
class Errno::ELAST
|
2786
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
class Errno::ELAST
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
class Errno::ENEEDAUTH
|
2793
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
class Errno::ENEEDAUTH
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
class Errno::ENOATTR
|
2800
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2801
|
+
end
|
2802
|
+
|
2803
|
+
class Errno::ENOATTR
|
2804
|
+
end
|
2805
|
+
|
2806
|
+
class Errno::ENOPOLICY
|
2807
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2808
|
+
end
|
2809
|
+
|
2810
|
+
class Errno::ENOPOLICY
|
2811
|
+
end
|
2812
|
+
|
2813
|
+
Errno::ENOTCAPABLE = Errno::NOERROR
|
2814
|
+
|
2815
|
+
class Errno::ENOTSUP
|
2816
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
class Errno::ENOTSUP
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
class Errno::EPROCLIM
|
2823
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2824
|
+
end
|
2825
|
+
|
2826
|
+
class Errno::EPROCLIM
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
class Errno::EPROCUNAVAIL
|
2830
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
class Errno::EPROCUNAVAIL
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
class Errno::EPROGMISMATCH
|
2837
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2838
|
+
end
|
2839
|
+
|
2840
|
+
class Errno::EPROGMISMATCH
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
class Errno::EPROGUNAVAIL
|
2844
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2845
|
+
end
|
2846
|
+
|
2847
|
+
class Errno::EPROGUNAVAIL
|
2848
|
+
end
|
2849
|
+
|
2850
|
+
class Errno::EPWROFF
|
2851
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2852
|
+
end
|
2853
|
+
|
2854
|
+
class Errno::EPWROFF
|
2855
|
+
end
|
2856
|
+
|
2857
|
+
Errno::EQFULL = Errno::ELAST
|
2858
|
+
|
2859
|
+
class Errno::ERPCMISMATCH
|
2860
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
class Errno::ERPCMISMATCH
|
2864
|
+
end
|
2865
|
+
|
2866
|
+
class Errno::ESHLIBVERS
|
2867
|
+
Errno = ::T.let(nil, ::T.untyped)
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
class Errno::ESHLIBVERS
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
module Etc
|
2874
|
+
VERSION = ::T.let(nil, ::T.untyped)
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
class Etc::Group
|
2878
|
+
def gid(); end
|
2879
|
+
|
2880
|
+
def gid=(_); end
|
2881
|
+
|
2882
|
+
def mem(); end
|
2883
|
+
|
2884
|
+
def mem=(_); end
|
2885
|
+
|
2886
|
+
def name(); end
|
2887
|
+
|
2888
|
+
def name=(_); end
|
2889
|
+
|
2890
|
+
def passwd(); end
|
2891
|
+
|
2892
|
+
def passwd=(_); end
|
2893
|
+
end
|
2894
|
+
|
2895
|
+
class Etc::Group
|
2896
|
+
extend ::Enumerable
|
2897
|
+
def self.[](*_); end
|
2898
|
+
|
2899
|
+
def self.each(&blk); end
|
2900
|
+
|
2901
|
+
def self.members(); end
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
class Etc::Passwd
|
2905
|
+
def change(); end
|
2906
|
+
|
2907
|
+
def change=(_); end
|
2908
|
+
|
2909
|
+
def dir=(_); end
|
2910
|
+
|
2911
|
+
def expire(); end
|
2912
|
+
|
2913
|
+
def expire=(_); end
|
2914
|
+
|
2915
|
+
def gecos(); end
|
2916
|
+
|
2917
|
+
def gecos=(_); end
|
2918
|
+
|
2919
|
+
def gid=(_); end
|
2920
|
+
|
2921
|
+
def name=(_); end
|
2922
|
+
|
2923
|
+
def passwd=(_); end
|
2924
|
+
|
2925
|
+
def shell=(_); end
|
2926
|
+
|
2927
|
+
def uclass(); end
|
2928
|
+
|
2929
|
+
def uclass=(_); end
|
2930
|
+
|
2931
|
+
def uid=(_); end
|
2932
|
+
end
|
2933
|
+
|
2934
|
+
class Etc::Passwd
|
2935
|
+
extend ::Enumerable
|
2936
|
+
def self.[](*_); end
|
2937
|
+
|
2938
|
+
def self.each(&blk); end
|
2939
|
+
|
2940
|
+
def self.members(); end
|
2941
|
+
end
|
2942
|
+
|
2943
|
+
class Exception
|
2944
|
+
def full_message(*_); end
|
2945
|
+
end
|
2946
|
+
|
2947
|
+
class Exception
|
2948
|
+
def self.exception(*_); end
|
2949
|
+
|
2950
|
+
def self.to_tty?(); end
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
class ExitCalledError
|
2954
|
+
end
|
2955
|
+
|
2956
|
+
class ExitCalledError
|
2957
|
+
end
|
2958
|
+
|
2959
|
+
class FalseClass
|
2960
|
+
include ::JSON::Ext::Generator::GeneratorMethods::FalseClass
|
2961
|
+
end
|
2962
|
+
|
2963
|
+
class Fiber
|
2964
|
+
def initialize(*_); end
|
2965
|
+
|
2966
|
+
def resume(*_); end
|
2967
|
+
end
|
2968
|
+
|
2969
|
+
class Fiber
|
2970
|
+
def self.yield(*_); end
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
class File
|
2974
|
+
Separator = ::T.let(nil, ::T.untyped)
|
2975
|
+
end
|
2976
|
+
|
2977
|
+
class File::Stat
|
2978
|
+
def size?(); end
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
class File
|
2982
|
+
def self.absolute_path?(_); end
|
2983
|
+
|
2984
|
+
def self.empty?(_); end
|
2985
|
+
|
2986
|
+
def self.exists?(_); end
|
2987
|
+
|
2988
|
+
def self.lutime(*_); end
|
2989
|
+
|
2990
|
+
def self.mkfifo(*_); end
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
module FileUtils
|
2994
|
+
include ::FileUtils::StreamUtils_
|
2995
|
+
end
|
2996
|
+
|
2997
|
+
module FileUtils::DryRun
|
2998
|
+
include ::FileUtils
|
2999
|
+
include ::FileUtils::StreamUtils_
|
3000
|
+
include ::FileUtils::LowMethods
|
3001
|
+
end
|
3002
|
+
|
3003
|
+
module FileUtils::DryRun
|
3004
|
+
extend ::FileUtils::DryRun
|
3005
|
+
extend ::FileUtils
|
3006
|
+
extend ::FileUtils::StreamUtils_
|
3007
|
+
extend ::FileUtils::LowMethods
|
3008
|
+
end
|
3009
|
+
|
3010
|
+
module FileUtils::NoWrite
|
3011
|
+
include ::FileUtils
|
3012
|
+
include ::FileUtils::StreamUtils_
|
3013
|
+
include ::FileUtils::LowMethods
|
3014
|
+
end
|
3015
|
+
|
3016
|
+
module FileUtils::NoWrite
|
3017
|
+
extend ::FileUtils::NoWrite
|
3018
|
+
extend ::FileUtils
|
3019
|
+
extend ::FileUtils::StreamUtils_
|
3020
|
+
extend ::FileUtils::LowMethods
|
3021
|
+
end
|
3022
|
+
|
3023
|
+
module FileUtils::Verbose
|
3024
|
+
include ::FileUtils
|
3025
|
+
include ::FileUtils::StreamUtils_
|
3026
|
+
end
|
3027
|
+
|
3028
|
+
module FileUtils::Verbose
|
3029
|
+
extend ::FileUtils::Verbose
|
3030
|
+
extend ::FileUtils
|
3031
|
+
extend ::FileUtils::StreamUtils_
|
3032
|
+
end
|
3033
|
+
|
3034
|
+
module FileUtils
|
3035
|
+
extend ::FileUtils::StreamUtils_
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
class Float
|
3039
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Float
|
3040
|
+
end
|
3041
|
+
|
3042
|
+
class FrozenError
|
3043
|
+
def receiver(); end
|
3044
|
+
end
|
3045
|
+
|
3046
|
+
module GC
|
3047
|
+
def garbage_collect(full_mark: T.unsafe(nil), immediate_mark: T.unsafe(nil), immediate_sweep: T.unsafe(nil)); end
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
module GC
|
3051
|
+
def self.compact(); end
|
3052
|
+
|
3053
|
+
def self.latest_gc_info(hash_or_key=T.unsafe(nil)); end
|
3054
|
+
|
3055
|
+
def self.stress=(flag); end
|
3056
|
+
|
3057
|
+
def self.verify_compaction_references(*_); end
|
3058
|
+
|
3059
|
+
def self.verify_internal_consistency(); end
|
3060
|
+
|
3061
|
+
def self.verify_transient_heap_internal_consistency(); end
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
module Gem
|
3065
|
+
UNTAINT = ::T.let(nil, ::T.untyped)
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
class Gem::BasicSpecification
|
3069
|
+
def self._deprecated_default_specifications_dir(); end
|
3070
|
+
end
|
3071
|
+
|
3072
|
+
class Gem::Command
|
3073
|
+
def check_deprecated_options(options); end
|
3074
|
+
|
3075
|
+
def deprecate_option(name, version: T.unsafe(nil), extra_msg: T.unsafe(nil)); end
|
3076
|
+
|
3077
|
+
end
|
3078
|
+
|
3079
|
+
class Gem::Dependency
|
3080
|
+
def identity(); end
|
3081
|
+
end
|
3082
|
+
|
3083
|
+
class Gem::DependencyInstaller
|
3084
|
+
def _deprecated_available_set_for(dep_or_name, version); end
|
3085
|
+
|
3086
|
+
def _deprecated_find_gems_with_sources(dep, best_only=T.unsafe(nil)); end
|
3087
|
+
|
3088
|
+
def _deprecated_find_spec_by_name_and_version(gem_name, version=T.unsafe(nil), prerelease=T.unsafe(nil)); end
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
class Gem::Installer
|
3092
|
+
def _deprecated_unpack(directory); end
|
3093
|
+
|
3094
|
+
def package(); end
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
class Gem::Package
|
3098
|
+
def gem(); end
|
3099
|
+
end
|
3100
|
+
|
3101
|
+
class Gem::Package::TarHeader
|
3102
|
+
def self.oct_or_256based(str); end
|
3103
|
+
end
|
3104
|
+
|
3105
|
+
class Gem::Package
|
3106
|
+
def self.raw_spec(path, security_policy=T.unsafe(nil)); end
|
3107
|
+
end
|
3108
|
+
|
3109
|
+
class Gem::RemoteFetcher
|
3110
|
+
include ::Gem::UriParsing
|
3111
|
+
def _deprecated_fetch_size(uri); end
|
3112
|
+
|
3113
|
+
def s3_uri_signer(uri); end
|
3114
|
+
end
|
3115
|
+
|
3116
|
+
class Gem::RemoteFetcher::FetchError
|
3117
|
+
include ::Gem::UriParsing
|
3118
|
+
def initialize(message, uri); end
|
3119
|
+
|
3120
|
+
def uri(); end
|
3121
|
+
|
3122
|
+
def uri=(uri); end
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
class Gem::RemoteFetcher::FetchError
|
3126
|
+
end
|
3127
|
+
|
3128
|
+
class Gem::RemoteFetcher::UnknownHostError
|
3129
|
+
end
|
3130
|
+
|
3131
|
+
class Gem::RemoteFetcher::UnknownHostError
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
class Gem::RemoteFetcher
|
3135
|
+
extend ::Gem::Deprecate
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
class Gem::Requirement
|
3139
|
+
DefaultPrereleaseRequirement = ::T.let(nil, ::T.untyped)
|
3140
|
+
end
|
3141
|
+
|
3142
|
+
class Gem::Requirement
|
3143
|
+
def self.default_prerelease(); end
|
3144
|
+
end
|
3145
|
+
|
3146
|
+
class Gem::Resolver::ActivationRequest
|
3147
|
+
def platform(); end
|
3148
|
+
end
|
3149
|
+
|
3150
|
+
class Gem::Resolver::Molinillo::DependencyGraph::Log
|
3151
|
+
extend ::Enumerable
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
class Gem::S3URISigner
|
3155
|
+
def initialize(uri); end
|
3156
|
+
|
3157
|
+
def sign(expiration=T.unsafe(nil)); end
|
3158
|
+
|
3159
|
+
def uri(); end
|
3160
|
+
|
3161
|
+
def uri=(uri); end
|
3162
|
+
BASE64_URI_TRANSLATE = ::T.let(nil, ::T.untyped)
|
3163
|
+
EC2_IAM_INFO = ::T.let(nil, ::T.untyped)
|
3164
|
+
EC2_IAM_SECURITY_CREDENTIALS = ::T.let(nil, ::T.untyped)
|
3165
|
+
end
|
3166
|
+
|
3167
|
+
class Gem::S3URISigner::ConfigurationError
|
3168
|
+
def initialize(message); end
|
3169
|
+
end
|
3170
|
+
|
3171
|
+
class Gem::S3URISigner::ConfigurationError
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
class Gem::S3URISigner::InstanceProfileError
|
3175
|
+
def initialize(message); end
|
3176
|
+
end
|
3177
|
+
|
3178
|
+
class Gem::S3URISigner::InstanceProfileError
|
3179
|
+
end
|
3180
|
+
|
3181
|
+
class Gem::S3URISigner::S3Config
|
3182
|
+
def access_key_id(); end
|
3183
|
+
|
3184
|
+
def access_key_id=(_); end
|
3185
|
+
|
3186
|
+
def region(); end
|
3187
|
+
|
3188
|
+
def region=(_); end
|
3189
|
+
|
3190
|
+
def secret_access_key(); end
|
3191
|
+
|
3192
|
+
def secret_access_key=(_); end
|
3193
|
+
|
3194
|
+
def security_token(); end
|
3195
|
+
|
3196
|
+
def security_token=(_); end
|
3197
|
+
end
|
3198
|
+
|
3199
|
+
class Gem::S3URISigner::S3Config
|
3200
|
+
def self.[](*_); end
|
3201
|
+
|
3202
|
+
def self.members(); end
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
class Gem::S3URISigner
|
3206
|
+
end
|
3207
|
+
|
3208
|
+
class Gem::Source
|
3209
|
+
include ::Gem::Text
|
3210
|
+
def typo_squatting?(host, distance_threshold=T.unsafe(nil)); end
|
3211
|
+
end
|
3212
|
+
|
3213
|
+
class Gem::Specification
|
3214
|
+
def _deprecated_rubyforge_project=(_deprecated_rubyforge_project); end
|
3215
|
+
LOAD_CACHE_MUTEX = ::T.let(nil, ::T.untyped)
|
3216
|
+
end
|
3217
|
+
|
3218
|
+
class Gem::Specification
|
3219
|
+
extend ::Enumerable
|
3220
|
+
def self.default_stubs(pattern=T.unsafe(nil)); end
|
3221
|
+
end
|
3222
|
+
|
3223
|
+
class Gem::SpecificationPolicy
|
3224
|
+
include ::Gem::UserInteraction
|
3225
|
+
include ::Gem::DefaultUserInteraction
|
3226
|
+
include ::Gem::Text
|
3227
|
+
end
|
3228
|
+
|
3229
|
+
class Gem::UriParser
|
3230
|
+
def parse(uri); end
|
3231
|
+
|
3232
|
+
def parse!(uri); end
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
class Gem::UriParser
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
module Gem::UriParsing
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
module Gem::UriParsing
|
3242
|
+
end
|
3243
|
+
|
3244
|
+
module Gem::Util
|
3245
|
+
def self.correct_for_windows_path(path); end
|
3246
|
+
end
|
3247
|
+
|
3248
|
+
module Gem
|
3249
|
+
def self.add_to_load_path(*paths); end
|
3250
|
+
|
3251
|
+
def self.default_specifications_dir(); end
|
3252
|
+
|
3253
|
+
def self.java_platform?(); end
|
3254
|
+
|
3255
|
+
def self.source_date_epoch(); end
|
3256
|
+
|
3257
|
+
def self.suffix_regexp(); end
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
class Hash
|
3261
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Hash
|
3262
|
+
def <(_); end
|
3263
|
+
|
3264
|
+
def <=(_); end
|
3265
|
+
|
3266
|
+
def >(_); end
|
3267
|
+
|
3268
|
+
def >=(_); end
|
3269
|
+
|
3270
|
+
def compact(); end
|
3271
|
+
|
3272
|
+
def compact!(); end
|
3273
|
+
|
3274
|
+
def deconstruct_keys(_); end
|
3275
|
+
|
3276
|
+
def default_proc(); end
|
3277
|
+
|
3278
|
+
def default_proc=(default_proc); end
|
3279
|
+
|
3280
|
+
def fetch_values(*_); end
|
3281
|
+
|
3282
|
+
def flatten(*_); end
|
3283
|
+
|
3284
|
+
def index(_); end
|
3285
|
+
|
3286
|
+
def replace(_); end
|
3287
|
+
|
3288
|
+
def slice(*_); end
|
3289
|
+
|
3290
|
+
def to_h(); end
|
3291
|
+
|
3292
|
+
def to_proc(); end
|
3293
|
+
|
3294
|
+
def transform_keys(); end
|
3295
|
+
|
3296
|
+
def transform_keys!(); end
|
3297
|
+
|
3298
|
+
def transform_values(); end
|
3299
|
+
|
3300
|
+
def transform_values!(); end
|
3301
|
+
|
3302
|
+
def update(*_); end
|
3303
|
+
end
|
3304
|
+
|
3305
|
+
class Hash
|
3306
|
+
def self.try_convert(_); end
|
3307
|
+
end
|
3308
|
+
|
3309
|
+
class IO
|
3310
|
+
def external_encoding(); end
|
3311
|
+
|
3312
|
+
def nonblock(*_); end
|
3313
|
+
|
3314
|
+
def nonblock=(nonblock); end
|
3315
|
+
|
3316
|
+
def nonblock?(); end
|
3317
|
+
|
3318
|
+
def nread(); end
|
3319
|
+
|
3320
|
+
def pathconf(_); end
|
3321
|
+
|
3322
|
+
def pread(*_); end
|
3323
|
+
|
3324
|
+
def pwrite(_, _1); end
|
3325
|
+
|
3326
|
+
def ready?(); end
|
3327
|
+
|
3328
|
+
def set_encoding_by_bom(); end
|
3329
|
+
|
3330
|
+
def wait(*_); end
|
3331
|
+
|
3332
|
+
def wait_readable(*_); end
|
3333
|
+
|
3334
|
+
def wait_writable(*_); end
|
3335
|
+
|
3336
|
+
def write_nonblock(buf, exception: T.unsafe(nil)); end
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
IO::EWOULDBLOCKWaitReadable = IO::EAGAINWaitReadable
|
3340
|
+
|
3341
|
+
IO::EWOULDBLOCKWaitWritable = IO::EAGAINWaitWritable
|
3342
|
+
|
3343
|
+
class IO
|
3344
|
+
def self.foreach(*_); end
|
3345
|
+
end
|
3346
|
+
|
3347
|
+
class IPAddr
|
3348
|
+
include ::Comparable
|
3349
|
+
def &(other); end
|
3350
|
+
|
3351
|
+
def <<(num); end
|
3352
|
+
|
3353
|
+
def ==(other); end
|
3354
|
+
|
3355
|
+
def ===(other); end
|
3356
|
+
|
3357
|
+
def >>(num); end
|
3358
|
+
|
3359
|
+
def eql?(other); end
|
3360
|
+
|
3361
|
+
def family(); end
|
3362
|
+
|
3363
|
+
def hton(); end
|
3364
|
+
|
3365
|
+
def include?(other); end
|
3366
|
+
|
3367
|
+
def initialize(addr=T.unsafe(nil), family=T.unsafe(nil)); end
|
3368
|
+
|
3369
|
+
def ip6_arpa(); end
|
3370
|
+
|
3371
|
+
def ip6_int(); end
|
3372
|
+
|
3373
|
+
def ipv4?(); end
|
3374
|
+
|
3375
|
+
def ipv4_compat(); end
|
3376
|
+
|
3377
|
+
def ipv4_compat?(); end
|
3378
|
+
|
3379
|
+
def ipv4_mapped(); end
|
3380
|
+
|
3381
|
+
def ipv4_mapped?(); end
|
3382
|
+
|
3383
|
+
def ipv6?(); end
|
3384
|
+
|
3385
|
+
def link_local?(); end
|
3386
|
+
|
3387
|
+
def loopback?(); end
|
3388
|
+
|
3389
|
+
def mask(prefixlen); end
|
3390
|
+
|
3391
|
+
def mask!(mask); end
|
3392
|
+
|
3393
|
+
def native(); end
|
3394
|
+
|
3395
|
+
def prefix(); end
|
3396
|
+
|
3397
|
+
def prefix=(prefix); end
|
3398
|
+
|
3399
|
+
def private?(); end
|
3400
|
+
|
3401
|
+
def reverse(); end
|
3402
|
+
|
3403
|
+
def set(addr, *family); end
|
3404
|
+
|
3405
|
+
def succ(); end
|
3406
|
+
|
3407
|
+
def to_i(); end
|
3408
|
+
|
3409
|
+
def to_range(); end
|
3410
|
+
|
3411
|
+
def to_string(); end
|
3412
|
+
|
3413
|
+
def |(other); end
|
3414
|
+
|
3415
|
+
def ~(); end
|
3416
|
+
IN4MASK = ::T.let(nil, ::T.untyped)
|
3417
|
+
IN6FORMAT = ::T.let(nil, ::T.untyped)
|
3418
|
+
IN6MASK = ::T.let(nil, ::T.untyped)
|
3419
|
+
RE_IPV4ADDRLIKE = ::T.let(nil, ::T.untyped)
|
3420
|
+
RE_IPV6ADDRLIKE_COMPRESSED = ::T.let(nil, ::T.untyped)
|
3421
|
+
RE_IPV6ADDRLIKE_FULL = ::T.let(nil, ::T.untyped)
|
3422
|
+
end
|
3423
|
+
|
3424
|
+
class IPAddr::AddressFamilyError
|
3425
|
+
end
|
3426
|
+
|
3427
|
+
class IPAddr::AddressFamilyError
|
3428
|
+
end
|
3429
|
+
|
3430
|
+
class IPAddr::Error
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
class IPAddr::Error
|
3434
|
+
end
|
3435
|
+
|
3436
|
+
class IPAddr::InvalidAddressError
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
class IPAddr::InvalidAddressError
|
3440
|
+
end
|
3441
|
+
|
3442
|
+
class IPAddr::InvalidPrefixError
|
3443
|
+
end
|
3444
|
+
|
3445
|
+
class IPAddr::InvalidPrefixError
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
class IPAddr
|
3449
|
+
def self.new_ntoh(addr); end
|
3450
|
+
|
3451
|
+
def self.ntop(addr); end
|
3452
|
+
end
|
3453
|
+
|
3454
|
+
class Integer
|
3455
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Integer
|
3456
|
+
def allbits?(_); end
|
3457
|
+
|
3458
|
+
def anybits?(_); end
|
3459
|
+
|
3460
|
+
def digits(*_); end
|
3461
|
+
|
3462
|
+
def nobits?(_); end
|
3463
|
+
|
3464
|
+
def pow(*_); end
|
3465
|
+
|
3466
|
+
def to_bn(); end
|
3467
|
+
end
|
3468
|
+
|
3469
|
+
class Integer
|
3470
|
+
def self.sqrt(_); end
|
3471
|
+
end
|
3472
|
+
|
3473
|
+
class JSON::Ext::Generator::State
|
3474
|
+
def self.from_state(_); end
|
3475
|
+
end
|
3476
|
+
|
3477
|
+
class JSON::Ext::Parser
|
3478
|
+
def initialize(*_); end
|
3479
|
+
end
|
3480
|
+
|
3481
|
+
JSON::Parser = JSON::Ext::Parser
|
3482
|
+
|
3483
|
+
JSON::State = JSON::Ext::Generator::State
|
3484
|
+
|
3485
|
+
JSON::UnparserError = JSON::GeneratorError
|
3486
|
+
|
3487
|
+
module Kernel
|
3488
|
+
def gem(dep, *reqs); end
|
3489
|
+
|
3490
|
+
def itself(); end
|
3491
|
+
|
3492
|
+
def object_id(); end
|
3493
|
+
|
3494
|
+
def respond_to?(*_); end
|
3495
|
+
|
3496
|
+
def then(); end
|
3497
|
+
|
3498
|
+
def yield_self(); end
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
module Kernel
|
3502
|
+
def self.at_exit(); end
|
3503
|
+
end
|
3504
|
+
|
3505
|
+
class KeyError
|
3506
|
+
include ::DidYouMean::Correctable
|
3507
|
+
def key(); end
|
3508
|
+
|
3509
|
+
def receiver(); end
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
class LoadError
|
3513
|
+
def path(); end
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
class LocalJumpError
|
3517
|
+
def exit_value(); end
|
3518
|
+
|
3519
|
+
def reason(); end
|
3520
|
+
end
|
3521
|
+
|
3522
|
+
module Marshal
|
3523
|
+
def self.restore(*_); end
|
3524
|
+
end
|
3525
|
+
|
3526
|
+
class Module
|
3527
|
+
def const_source_location(*_); end
|
3528
|
+
|
3529
|
+
def deprecate_constant(*_); end
|
3530
|
+
|
3531
|
+
def undef_method(*_); end
|
3532
|
+
end
|
3533
|
+
|
3534
|
+
class Module
|
3535
|
+
def self.used_modules(); end
|
3536
|
+
end
|
3537
|
+
|
3538
|
+
class Monitor
|
3539
|
+
def enter(); end
|
3540
|
+
|
3541
|
+
def exit(); end
|
3542
|
+
|
3543
|
+
def mon_check_owner(); end
|
3544
|
+
|
3545
|
+
def mon_enter(); end
|
3546
|
+
|
3547
|
+
def mon_exit(); end
|
3548
|
+
|
3549
|
+
def mon_locked?(); end
|
3550
|
+
|
3551
|
+
def mon_owned?(); end
|
3552
|
+
|
3553
|
+
def mon_synchronize(); end
|
3554
|
+
|
3555
|
+
def mon_try_enter(); end
|
3556
|
+
|
3557
|
+
def new_cond(); end
|
3558
|
+
|
3559
|
+
def synchronize(); end
|
3560
|
+
|
3561
|
+
def try_enter(); end
|
3562
|
+
|
3563
|
+
def try_mon_enter(); end
|
3564
|
+
|
3565
|
+
def wait_for_cond(_, _1); end
|
3566
|
+
end
|
3567
|
+
|
3568
|
+
module MonitorMixin
|
3569
|
+
def initialize(*args); end
|
3570
|
+
|
3571
|
+
def mon_enter(); end
|
3572
|
+
|
3573
|
+
def mon_exit(); end
|
3574
|
+
|
3575
|
+
def mon_locked?(); end
|
3576
|
+
|
3577
|
+
def mon_owned?(); end
|
3578
|
+
|
3579
|
+
def mon_synchronize(&b); end
|
3580
|
+
|
3581
|
+
def mon_try_enter(); end
|
3582
|
+
|
3583
|
+
def new_cond(); end
|
3584
|
+
|
3585
|
+
def synchronize(&b); end
|
3586
|
+
|
3587
|
+
def try_mon_enter(); end
|
3588
|
+
end
|
3589
|
+
|
3590
|
+
class MonitorMixin::ConditionVariable
|
3591
|
+
def broadcast(); end
|
3592
|
+
|
3593
|
+
def initialize(monitor); end
|
3594
|
+
|
3595
|
+
def signal(); end
|
3596
|
+
|
3597
|
+
def wait(timeout=T.unsafe(nil)); end
|
3598
|
+
|
3599
|
+
def wait_until(); end
|
3600
|
+
|
3601
|
+
def wait_while(); end
|
3602
|
+
end
|
3603
|
+
|
3604
|
+
module MonitorMixin
|
3605
|
+
def self.extend_object(obj); end
|
3606
|
+
end
|
3607
|
+
|
3608
|
+
class NameError
|
3609
|
+
include ::DidYouMean::Correctable
|
3610
|
+
def name(); end
|
3611
|
+
|
3612
|
+
def receiver(); end
|
3613
|
+
end
|
3614
|
+
|
3615
|
+
class NilClass
|
3616
|
+
include ::JSON::Ext::Generator::GeneratorMethods::NilClass
|
3617
|
+
def to_i(); end
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
class NoMatchingPatternError
|
3621
|
+
end
|
3622
|
+
|
3623
|
+
class NoMatchingPatternError
|
3624
|
+
end
|
3625
|
+
|
3626
|
+
class NoMethodError
|
3627
|
+
def args(); end
|
3628
|
+
|
3629
|
+
def private_call?(); end
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
class Object
|
3633
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
3634
|
+
ARGF = ::T.let(nil, ::T.untyped)
|
3635
|
+
ARGV = ::T.let(nil, ::T.untyped)
|
3636
|
+
CROSS_COMPILING = ::T.let(nil, ::T.untyped)
|
3637
|
+
ENV = ::T.let(nil, ::T.untyped)
|
3638
|
+
RUBY_COPYRIGHT = ::T.let(nil, ::T.untyped)
|
3639
|
+
RUBY_DESCRIPTION = ::T.let(nil, ::T.untyped)
|
3640
|
+
RUBY_ENGINE = ::T.let(nil, ::T.untyped)
|
3641
|
+
RUBY_ENGINE_VERSION = ::T.let(nil, ::T.untyped)
|
3642
|
+
RUBY_PATCHLEVEL = ::T.let(nil, ::T.untyped)
|
3643
|
+
RUBY_PLATFORM = ::T.let(nil, ::T.untyped)
|
3644
|
+
RUBY_RELEASE_DATE = ::T.let(nil, ::T.untyped)
|
3645
|
+
RUBY_REVISION = ::T.let(nil, ::T.untyped)
|
3646
|
+
RUBY_VERSION = ::T.let(nil, ::T.untyped)
|
3647
|
+
STDERR = ::T.let(nil, ::T.untyped)
|
3648
|
+
STDIN = ::T.let(nil, ::T.untyped)
|
3649
|
+
STDOUT = ::T.let(nil, ::T.untyped)
|
3650
|
+
TOPLEVEL_BINDING = ::T.let(nil, ::T.untyped)
|
3651
|
+
end
|
3652
|
+
|
3653
|
+
class ObjectSpace::WeakMap
|
3654
|
+
def [](_); end
|
3655
|
+
|
3656
|
+
def []=(_, _1); end
|
3657
|
+
|
3658
|
+
def each(&blk); end
|
3659
|
+
|
3660
|
+
def each_key(); end
|
3661
|
+
|
3662
|
+
def each_pair(); end
|
3663
|
+
|
3664
|
+
def each_value(); end
|
3665
|
+
|
3666
|
+
def key?(_); end
|
3667
|
+
|
3668
|
+
def keys(); end
|
3669
|
+
|
3670
|
+
def length(); end
|
3671
|
+
|
3672
|
+
def size(); end
|
3673
|
+
|
3674
|
+
def values(); end
|
3675
|
+
end
|
3676
|
+
|
3677
|
+
module ObjectSpace
|
3678
|
+
def self.count_objects(*_); end
|
3679
|
+
|
3680
|
+
def self.define_finalizer(*_); end
|
3681
|
+
|
3682
|
+
def self.garbage_collect(full_mark: T.unsafe(nil), immediate_mark: T.unsafe(nil), immediate_sweep: T.unsafe(nil)); end
|
3683
|
+
|
3684
|
+
def self.undefine_finalizer(_); end
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
class OpenStruct
|
3688
|
+
VERSION = ::T.let(nil, ::T.untyped)
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
class Pathname
|
3692
|
+
def empty?(); end
|
3693
|
+
|
3694
|
+
def fnmatch?(*_); end
|
3695
|
+
|
3696
|
+
def glob(*_); end
|
3697
|
+
|
3698
|
+
def make_symlink(_); end
|
3699
|
+
end
|
3700
|
+
|
3701
|
+
class Proc
|
3702
|
+
def <<(_); end
|
3703
|
+
|
3704
|
+
def ===(*_); end
|
3705
|
+
|
3706
|
+
def >>(_); end
|
3707
|
+
|
3708
|
+
def clone(); end
|
3709
|
+
|
3710
|
+
def ruby2_keywords(); end
|
3711
|
+
|
3712
|
+
def yield(*_); end
|
3713
|
+
end
|
3714
|
+
|
3715
|
+
module Process
|
3716
|
+
CLOCK_MONOTONIC_RAW_APPROX = ::T.let(nil, ::T.untyped)
|
3717
|
+
CLOCK_UPTIME_RAW = ::T.let(nil, ::T.untyped)
|
3718
|
+
CLOCK_UPTIME_RAW_APPROX = ::T.let(nil, ::T.untyped)
|
3719
|
+
end
|
3720
|
+
|
3721
|
+
module Process::Sys
|
3722
|
+
def self.getegid(); end
|
3723
|
+
end
|
3724
|
+
|
3725
|
+
class Process::Tms
|
3726
|
+
def cstime(); end
|
3727
|
+
|
3728
|
+
def cstime=(_); end
|
3729
|
+
|
3730
|
+
def cutime(); end
|
3731
|
+
|
3732
|
+
def cutime=(_); end
|
3733
|
+
|
3734
|
+
def stime(); end
|
3735
|
+
|
3736
|
+
def stime=(_); end
|
3737
|
+
|
3738
|
+
def utime(); end
|
3739
|
+
|
3740
|
+
def utime=(_); end
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
class Process::Tms
|
3744
|
+
def self.[](*_); end
|
3745
|
+
|
3746
|
+
def self.members(); end
|
3747
|
+
end
|
3748
|
+
|
3749
|
+
module Process
|
3750
|
+
def self.last_status(); end
|
3751
|
+
|
3752
|
+
def self.setpgrp(); end
|
3753
|
+
end
|
3754
|
+
|
3755
|
+
module Random::Formatter
|
3756
|
+
def alphanumeric(n=T.unsafe(nil)); end
|
3757
|
+
|
3758
|
+
ALPHANUMERIC = ::T.let(nil, ::T.untyped)
|
3759
|
+
end
|
3760
|
+
|
3761
|
+
class Random
|
3762
|
+
extend ::Random::Formatter
|
3763
|
+
def self.bytes(_); end
|
3764
|
+
|
3765
|
+
def self.urandom(_); end
|
3766
|
+
end
|
3767
|
+
|
3768
|
+
class Range
|
3769
|
+
def %(_); end
|
3770
|
+
|
3771
|
+
def entries(); end
|
3772
|
+
|
3773
|
+
def to_a(); end
|
3774
|
+
end
|
3775
|
+
|
3776
|
+
module RbConfig
|
3777
|
+
def self.expand(val, config=T.unsafe(nil)); end
|
3778
|
+
|
3779
|
+
def self.fire_update!(key, val, mkconf=T.unsafe(nil), conf=T.unsafe(nil)); end
|
3780
|
+
|
3781
|
+
def self.ruby(); end
|
3782
|
+
end
|
3783
|
+
|
3784
|
+
class Regexp
|
3785
|
+
def match?(*_); end
|
3786
|
+
end
|
3787
|
+
|
3788
|
+
module RubyVM::AbstractSyntaxTree
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
class RubyVM::AbstractSyntaxTree::Node
|
3792
|
+
def children(); end
|
3793
|
+
|
3794
|
+
def first_column(); end
|
3795
|
+
|
3796
|
+
def first_lineno(); end
|
3797
|
+
|
3798
|
+
def last_column(); end
|
3799
|
+
|
3800
|
+
def last_lineno(); end
|
3801
|
+
|
3802
|
+
def type(); end
|
3803
|
+
end
|
3804
|
+
|
3805
|
+
class RubyVM::AbstractSyntaxTree::Node
|
3806
|
+
end
|
3807
|
+
|
3808
|
+
module RubyVM::AbstractSyntaxTree
|
3809
|
+
def self.of(body); end
|
3810
|
+
|
3811
|
+
def self.parse(string); end
|
3812
|
+
|
3813
|
+
def self.parse_file(pathname); end
|
3814
|
+
end
|
3815
|
+
|
3816
|
+
class RubyVM::InstructionSequence
|
3817
|
+
def absolute_path(); end
|
3818
|
+
|
3819
|
+
def base_label(); end
|
3820
|
+
|
3821
|
+
def disasm(); end
|
3822
|
+
|
3823
|
+
def disassemble(); end
|
3824
|
+
|
3825
|
+
def each_child(); end
|
3826
|
+
|
3827
|
+
def eval(); end
|
3828
|
+
|
3829
|
+
def first_lineno(); end
|
3830
|
+
|
3831
|
+
def label(); end
|
3832
|
+
|
3833
|
+
def path(); end
|
3834
|
+
|
3835
|
+
def to_a(); end
|
3836
|
+
|
3837
|
+
def to_binary(*_); end
|
3838
|
+
|
3839
|
+
def trace_points(); end
|
3840
|
+
end
|
3841
|
+
|
3842
|
+
class RubyVM::InstructionSequence
|
3843
|
+
def self.compile(*_); end
|
3844
|
+
|
3845
|
+
def self.compile_file(*_); end
|
3846
|
+
|
3847
|
+
def self.compile_option(); end
|
3848
|
+
|
3849
|
+
def self.compile_option=(compile_option); end
|
3850
|
+
|
3851
|
+
def self.disasm(_); end
|
3852
|
+
|
3853
|
+
def self.disassemble(_); end
|
3854
|
+
|
3855
|
+
def self.load_from_binary(_); end
|
3856
|
+
|
3857
|
+
def self.load_from_binary_extra_data(_); end
|
3858
|
+
|
3859
|
+
def self.of(_); end
|
3860
|
+
end
|
3861
|
+
|
3862
|
+
module RubyVM::MJIT
|
3863
|
+
end
|
3864
|
+
|
3865
|
+
module RubyVM::MJIT
|
3866
|
+
def self.enabled?(); end
|
3867
|
+
|
3868
|
+
def self.pause(*_); end
|
3869
|
+
|
3870
|
+
def self.resume(); end
|
3871
|
+
end
|
3872
|
+
|
3873
|
+
class RubyVM
|
3874
|
+
def self.stat(*_); end
|
3875
|
+
end
|
3876
|
+
|
3877
|
+
class Set
|
3878
|
+
def ==(other); end
|
3879
|
+
|
3880
|
+
def ===(o); end
|
3881
|
+
|
3882
|
+
def compare_by_identity(); end
|
3883
|
+
|
3884
|
+
def compare_by_identity?(); end
|
3885
|
+
|
3886
|
+
def divide(&func); end
|
3887
|
+
|
3888
|
+
def eql?(o); end
|
3889
|
+
|
3890
|
+
def flatten_merge(set, seen=T.unsafe(nil)); end
|
3891
|
+
|
3892
|
+
def pretty_print(pp); end
|
3893
|
+
|
3894
|
+
def pretty_print_cycle(pp); end
|
3895
|
+
|
3896
|
+
def reset(); end
|
3897
|
+
InspectKey = ::T.let(nil, ::T.untyped)
|
3898
|
+
end
|
3899
|
+
|
3900
|
+
class SignalException
|
3901
|
+
def signm(); end
|
3902
|
+
|
3903
|
+
def signo(); end
|
3904
|
+
end
|
3905
|
+
|
3906
|
+
class SimpleDelegator
|
3907
|
+
RUBYGEMS_ACTIVATION_MONITOR = ::T.let(nil, ::T.untyped)
|
3908
|
+
end
|
3909
|
+
|
3910
|
+
class Sorbet::Private::ConstantLookupCache
|
3911
|
+
def all_module_aliases(); end
|
3912
|
+
|
3913
|
+
def all_module_names(); end
|
3914
|
+
|
3915
|
+
def all_named_modules(); end
|
3916
|
+
|
3917
|
+
def class_by_name(name); end
|
3918
|
+
|
3919
|
+
def name_by_class(klass); end
|
3920
|
+
DEPRECATED_CONSTANTS = ::T.let(nil, ::T.untyped)
|
3921
|
+
end
|
3922
|
+
|
3923
|
+
class Sorbet::Private::ConstantLookupCache::ConstantEntry
|
3924
|
+
def aliases(); end
|
3925
|
+
|
3926
|
+
def aliases=(_); end
|
3927
|
+
|
3928
|
+
def const(); end
|
3929
|
+
|
3930
|
+
def const=(_); end
|
3931
|
+
|
3932
|
+
def const_name(); end
|
3933
|
+
|
3934
|
+
def const_name=(_); end
|
3935
|
+
|
3936
|
+
def found_name(); end
|
3937
|
+
|
3938
|
+
def found_name=(_); end
|
3939
|
+
|
3940
|
+
def owner(); end
|
3941
|
+
|
3942
|
+
def owner=(_); end
|
3943
|
+
|
3944
|
+
def primary_name(); end
|
3945
|
+
|
3946
|
+
def primary_name=(_); end
|
3947
|
+
end
|
3948
|
+
|
3949
|
+
class Sorbet::Private::ConstantLookupCache::ConstantEntry
|
3950
|
+
def self.[](*_); end
|
3951
|
+
|
3952
|
+
def self.members(); end
|
3953
|
+
end
|
3954
|
+
|
3955
|
+
class Sorbet::Private::ConstantLookupCache
|
3956
|
+
end
|
3957
|
+
|
3958
|
+
class Sorbet::Private::CreateConfig
|
3959
|
+
include ::Sorbet::Private::StepInterface
|
3960
|
+
SORBET_CONFIG_FILE = ::T.let(nil, ::T.untyped)
|
3961
|
+
SORBET_DIR = ::T.let(nil, ::T.untyped)
|
3962
|
+
end
|
3963
|
+
|
3964
|
+
class Sorbet::Private::CreateConfig
|
3965
|
+
def self.main(); end
|
3966
|
+
|
3967
|
+
def self.output_file(); end
|
3968
|
+
end
|
3969
|
+
|
3970
|
+
class Sorbet::Private::FetchRBIs
|
3971
|
+
include ::Sorbet::Private::StepInterface
|
3972
|
+
HEADER = ::T.let(nil, ::T.untyped)
|
3973
|
+
RBI_CACHE_DIR = ::T.let(nil, ::T.untyped)
|
3974
|
+
SORBET_CONFIG_FILE = ::T.let(nil, ::T.untyped)
|
3975
|
+
SORBET_DIR = ::T.let(nil, ::T.untyped)
|
3976
|
+
SORBET_RBI_LIST = ::T.let(nil, ::T.untyped)
|
3977
|
+
SORBET_RBI_SORBET_TYPED = ::T.let(nil, ::T.untyped)
|
3978
|
+
SORBET_TYPED_REPO = ::T.let(nil, ::T.untyped)
|
3979
|
+
SORBET_TYPED_REVISION = ::T.let(nil, ::T.untyped)
|
3980
|
+
XDG_CACHE_HOME = ::T.let(nil, ::T.untyped)
|
3981
|
+
end
|
3982
|
+
|
3983
|
+
class Sorbet::Private::FetchRBIs
|
3984
|
+
def self.fetch_sorbet_typed(); end
|
3985
|
+
|
3986
|
+
def self.main(); end
|
3987
|
+
|
3988
|
+
def self.matching_version_directories(root, version); end
|
3989
|
+
|
3990
|
+
def self.output_file(); end
|
3991
|
+
|
3992
|
+
def self.paths_for_gem_version(gemspec); end
|
3993
|
+
|
3994
|
+
def self.paths_for_ruby_version(ruby_version); end
|
3995
|
+
|
3996
|
+
def self.vendor_rbis_within_paths(vendor_paths); end
|
3997
|
+
end
|
3998
|
+
|
3999
|
+
class Sorbet::Private::FindGemRBIs
|
4000
|
+
include ::Sorbet::Private::StepInterface
|
4001
|
+
GEM_DIR = ::T.let(nil, ::T.untyped)
|
4002
|
+
HEADER = ::T.let(nil, ::T.untyped)
|
4003
|
+
RBI_CACHE_DIR = ::T.let(nil, ::T.untyped)
|
4004
|
+
XDG_CACHE_HOME = ::T.let(nil, ::T.untyped)
|
4005
|
+
end
|
4006
|
+
|
4007
|
+
class Sorbet::Private::FindGemRBIs
|
4008
|
+
def self.main(); end
|
4009
|
+
|
4010
|
+
def self.output_file(); end
|
4011
|
+
|
4012
|
+
def self.paths_within_gem_sources(gemspec); end
|
4013
|
+
end
|
4014
|
+
|
4015
|
+
module Sorbet::Private::GemGeneratorTracepoint
|
4016
|
+
include ::Sorbet::Private::StepInterface
|
4017
|
+
OUTPUT = ::T.let(nil, ::T.untyped)
|
4018
|
+
end
|
4019
|
+
|
4020
|
+
class Sorbet::Private::GemGeneratorTracepoint::ClassDefinition
|
4021
|
+
def defs(); end
|
4022
|
+
|
4023
|
+
def defs=(_); end
|
4024
|
+
|
4025
|
+
def id(); end
|
4026
|
+
|
4027
|
+
def id=(_); end
|
4028
|
+
|
4029
|
+
def klass(); end
|
4030
|
+
|
4031
|
+
def klass=(_); end
|
4032
|
+
end
|
4033
|
+
|
4034
|
+
class Sorbet::Private::GemGeneratorTracepoint::ClassDefinition
|
4035
|
+
def self.[](*_); end
|
4036
|
+
|
4037
|
+
def self.members(); end
|
4038
|
+
end
|
4039
|
+
|
4040
|
+
class Sorbet::Private::GemGeneratorTracepoint::TracepointSerializer
|
4041
|
+
def initialize(files:, delegate_classes:); end
|
4042
|
+
|
4043
|
+
def serialize(output_dir); end
|
4044
|
+
BAD_METHODS = ::T.let(nil, ::T.untyped)
|
4045
|
+
HEADER = ::T.let(nil, ::T.untyped)
|
4046
|
+
SPECIAL_METHOD_NAMES = ::T.let(nil, ::T.untyped)
|
4047
|
+
end
|
4048
|
+
|
4049
|
+
class Sorbet::Private::GemGeneratorTracepoint::TracepointSerializer
|
4050
|
+
end
|
4051
|
+
|
4052
|
+
class Sorbet::Private::GemGeneratorTracepoint::Tracer
|
4053
|
+
end
|
4054
|
+
|
4055
|
+
class Sorbet::Private::GemGeneratorTracepoint::Tracer
|
4056
|
+
def self.add_to_context(item); end
|
4057
|
+
|
4058
|
+
def self.disable_tracepoints(); end
|
4059
|
+
|
4060
|
+
def self.finish(); end
|
4061
|
+
|
4062
|
+
def self.install_tracepoints(); end
|
4063
|
+
|
4064
|
+
def self.on_method_added(mod, method, singleton); end
|
4065
|
+
|
4066
|
+
def self.on_module_created(mod); end
|
4067
|
+
|
4068
|
+
def self.on_module_extended(extended, extender); end
|
4069
|
+
|
4070
|
+
def self.on_module_included(included, includer); end
|
4071
|
+
|
4072
|
+
def self.pre_cache_module_methods(); end
|
4073
|
+
|
4074
|
+
def self.register_delegate_class(klass, delegate); end
|
4075
|
+
|
4076
|
+
def self.start(); end
|
4077
|
+
|
4078
|
+
def self.trace(); end
|
4079
|
+
|
4080
|
+
def self.trace_results(); end
|
4081
|
+
end
|
4082
|
+
|
4083
|
+
module Sorbet::Private::GemGeneratorTracepoint
|
4084
|
+
def self.main(output_dir=T.unsafe(nil)); end
|
4085
|
+
|
4086
|
+
def self.output_file(); end
|
4087
|
+
end
|
4088
|
+
|
4089
|
+
class Sorbet::Private::GemLoader
|
4090
|
+
GEM_LOADER = ::T.let(nil, ::T.untyped)
|
4091
|
+
NO_GEM = ::T.let(nil, ::T.untyped)
|
4092
|
+
end
|
4093
|
+
|
4094
|
+
class Sorbet::Private::GemLoader
|
4095
|
+
def self.my_require(gem); end
|
4096
|
+
|
4097
|
+
def self.require_all_gems(); end
|
4098
|
+
|
4099
|
+
def self.require_gem(gem); end
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
class Sorbet::Private::HiddenMethodFinder
|
4103
|
+
include ::Sorbet::Private::StepInterface
|
4104
|
+
def all_modules_and_aliases(); end
|
4105
|
+
|
4106
|
+
def capture_stderr(); end
|
4107
|
+
|
4108
|
+
def constant_cache(); end
|
4109
|
+
|
4110
|
+
def gen_source_rbi(classes, aliases); end
|
4111
|
+
|
4112
|
+
def looks_like_stub_name(name); end
|
4113
|
+
|
4114
|
+
def main(); end
|
4115
|
+
|
4116
|
+
def mk_dir(); end
|
4117
|
+
|
4118
|
+
def read_constants(); end
|
4119
|
+
|
4120
|
+
def real_name(mod); end
|
4121
|
+
|
4122
|
+
def require_everything(); end
|
4123
|
+
|
4124
|
+
def rm_dir(); end
|
4125
|
+
|
4126
|
+
def serialize_alias(source_entry, rbi_entry, my_klass, source_symbols, rbi_symbols); end
|
4127
|
+
|
4128
|
+
def serialize_class(source_entry, rbi_entry, klass, source_symbols, rbi_symbols, source_by_name); end
|
4129
|
+
|
4130
|
+
def serialize_constants(source, rbi, klass, is_singleton, source_symbols, rbi_symbols); end
|
4131
|
+
|
4132
|
+
def symbols_id_to_name(entry, prefix); end
|
4133
|
+
|
4134
|
+
def write_constants(); end
|
4135
|
+
|
4136
|
+
def write_diff(source, rbi); end
|
4137
|
+
BLACKLIST = ::T.let(nil, ::T.untyped)
|
4138
|
+
DIFF_RBI = ::T.let(nil, ::T.untyped)
|
4139
|
+
ERRORS_RBI = ::T.let(nil, ::T.untyped)
|
4140
|
+
HEADER = ::T.let(nil, ::T.untyped)
|
4141
|
+
HIDDEN_RBI = ::T.let(nil, ::T.untyped)
|
4142
|
+
PATH = ::T.let(nil, ::T.untyped)
|
4143
|
+
RBI_CONSTANTS = ::T.let(nil, ::T.untyped)
|
4144
|
+
RBI_CONSTANTS_ERR = ::T.let(nil, ::T.untyped)
|
4145
|
+
SOURCE_CONSTANTS = ::T.let(nil, ::T.untyped)
|
4146
|
+
SOURCE_CONSTANTS_ERR = ::T.let(nil, ::T.untyped)
|
4147
|
+
TMP_PATH = ::T.let(nil, ::T.untyped)
|
4148
|
+
TMP_RBI = ::T.let(nil, ::T.untyped)
|
4149
|
+
end
|
4150
|
+
|
4151
|
+
class Sorbet::Private::HiddenMethodFinder
|
4152
|
+
def self.main(); end
|
4153
|
+
|
4154
|
+
def self.output_file(); end
|
4155
|
+
end
|
4156
|
+
|
4157
|
+
module Sorbet::Private::Main
|
4158
|
+
end
|
4159
|
+
|
4160
|
+
module Sorbet::Private::Main
|
4161
|
+
def self.cyan(msg); end
|
4162
|
+
|
4163
|
+
def self.emojify(emoji, msg); end
|
4164
|
+
|
4165
|
+
def self.init(); end
|
4166
|
+
|
4167
|
+
def self.main(argv); end
|
4168
|
+
|
4169
|
+
def self.make_step(step); end
|
4170
|
+
|
4171
|
+
def self.usage(); end
|
4172
|
+
|
4173
|
+
def self.yellow(msg); end
|
4174
|
+
end
|
4175
|
+
|
4176
|
+
module Sorbet::Private::RealStdlib
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
module Sorbet::Private::RealStdlib
|
4180
|
+
def self.real_ancestors(mod); end
|
4181
|
+
|
4182
|
+
def self.real_autoload?(o, klass); end
|
4183
|
+
|
4184
|
+
def self.real_const_get(obj, const, arg); end
|
4185
|
+
|
4186
|
+
def self.real_constants(mod); end
|
4187
|
+
|
4188
|
+
def self.real_eqeq(obj, other); end
|
4189
|
+
|
4190
|
+
def self.real_hash(o); end
|
4191
|
+
|
4192
|
+
def self.real_instance_methods(mod, arg); end
|
4193
|
+
|
4194
|
+
def self.real_is_a?(o, klass); end
|
4195
|
+
|
4196
|
+
def self.real_method(obj, sym); end
|
4197
|
+
|
4198
|
+
def self.real_name(o); end
|
4199
|
+
|
4200
|
+
def self.real_object_id(o); end
|
4201
|
+
|
4202
|
+
def self.real_private_instance_methods(mod, arg); end
|
4203
|
+
|
4204
|
+
def self.real_singleton_class(obj); end
|
4205
|
+
|
4206
|
+
def self.real_singleton_methods(mod, arg); end
|
4207
|
+
|
4208
|
+
def self.real_spaceship(obj, arg); end
|
4209
|
+
|
4210
|
+
def self.real_superclass(o); end
|
4211
|
+
end
|
4212
|
+
|
4213
|
+
class Sorbet::Private::RequireEverything
|
4214
|
+
end
|
4215
|
+
|
4216
|
+
class Sorbet::Private::RequireEverything
|
4217
|
+
def self.excluded_rails_files(); end
|
4218
|
+
|
4219
|
+
def self.load_bundler(); end
|
4220
|
+
|
4221
|
+
def self.load_rails(); end
|
4222
|
+
|
4223
|
+
def self.my_require(abs_path, numerator, denominator); end
|
4224
|
+
|
4225
|
+
def self.patch_kernel(); end
|
4226
|
+
|
4227
|
+
def self.rails?(); end
|
4228
|
+
|
4229
|
+
def self.rails_load_paths(); end
|
4230
|
+
|
4231
|
+
def self.rb_file_paths(); end
|
4232
|
+
|
4233
|
+
def self.require_all_files(); end
|
4234
|
+
|
4235
|
+
def self.require_everything(); end
|
4236
|
+
end
|
4237
|
+
|
4238
|
+
class Sorbet::Private::Serialize
|
4239
|
+
def alias(base, other_name); end
|
4240
|
+
|
4241
|
+
def ancestor_has_method(method, klass); end
|
4242
|
+
|
4243
|
+
def blacklisted_method(method); end
|
4244
|
+
|
4245
|
+
def class_or_module(class_name); end
|
4246
|
+
|
4247
|
+
def comparable?(value); end
|
4248
|
+
|
4249
|
+
def constant(const, value); end
|
4250
|
+
|
4251
|
+
def from_method(method); end
|
4252
|
+
|
4253
|
+
def initialize(constant_cache); end
|
4254
|
+
|
4255
|
+
def serialize_method(method, static=T.unsafe(nil), with_sig: T.unsafe(nil)); end
|
4256
|
+
|
4257
|
+
def serialize_sig(parameters); end
|
4258
|
+
|
4259
|
+
def to_sig(kind, name); end
|
4260
|
+
|
4261
|
+
def valid_class_name(name); end
|
4262
|
+
|
4263
|
+
def valid_method_name(name); end
|
4264
|
+
BLACKLIST_CONSTANTS = ::T.let(nil, ::T.untyped)
|
4265
|
+
KEYWORDS = ::T.let(nil, ::T.untyped)
|
4266
|
+
SPECIAL_METHOD_NAMES = ::T.let(nil, ::T.untyped)
|
4267
|
+
end
|
4268
|
+
|
4269
|
+
class Sorbet::Private::Serialize
|
4270
|
+
def self.header(typed=T.unsafe(nil), subcommand=T.unsafe(nil)); end
|
4271
|
+
end
|
4272
|
+
|
4273
|
+
module Sorbet::Private::Status
|
4274
|
+
end
|
4275
|
+
|
4276
|
+
module Sorbet::Private::Status
|
4277
|
+
def self.done(); end
|
4278
|
+
|
4279
|
+
def self.say(message, print_without_tty: T.unsafe(nil)); end
|
4280
|
+
end
|
4281
|
+
|
4282
|
+
module Sorbet::Private::StepInterface
|
4283
|
+
end
|
4284
|
+
|
4285
|
+
module Sorbet::Private::StepInterface
|
4286
|
+
def self.main(); end
|
4287
|
+
|
4288
|
+
def self.output_file(); end
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
class Sorbet::Private::SuggestTyped
|
4292
|
+
include ::Sorbet::Private::StepInterface
|
4293
|
+
end
|
4294
|
+
|
4295
|
+
class Sorbet::Private::SuggestTyped
|
4296
|
+
def self.main(); end
|
4297
|
+
|
4298
|
+
def self.output_file(); end
|
4299
|
+
|
4300
|
+
def self.suggest_typed(); end
|
4301
|
+
end
|
4302
|
+
|
4303
|
+
class Sorbet::Private::TodoRBI
|
4304
|
+
include ::Sorbet::Private::StepInterface
|
4305
|
+
HEADER = ::T.let(nil, ::T.untyped)
|
4306
|
+
OUTPUT = ::T.let(nil, ::T.untyped)
|
4307
|
+
end
|
4308
|
+
|
4309
|
+
class Sorbet::Private::TodoRBI
|
4310
|
+
def self.main(); end
|
4311
|
+
|
4312
|
+
def self.output_file(); end
|
4313
|
+
end
|
4314
|
+
|
4315
|
+
class SortedSet
|
4316
|
+
def initialize(*args, &block); end
|
4317
|
+
end
|
4318
|
+
|
4319
|
+
class SortedSet
|
4320
|
+
def self.setup(); end
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
class StopIteration
|
4324
|
+
def result(); end
|
4325
|
+
end
|
4326
|
+
|
4327
|
+
class String
|
4328
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
4329
|
+
def []=(*_); end
|
4330
|
+
|
4331
|
+
def casecmp?(_); end
|
4332
|
+
|
4333
|
+
def each_grapheme_cluster(); end
|
4334
|
+
|
4335
|
+
def encode!(*_); end
|
4336
|
+
|
4337
|
+
def grapheme_clusters(); end
|
4338
|
+
|
4339
|
+
def reverse!(); end
|
4340
|
+
|
4341
|
+
def shellescape(); end
|
4342
|
+
|
4343
|
+
def shellsplit(); end
|
4344
|
+
|
4345
|
+
def succ!(); end
|
4346
|
+
|
4347
|
+
def undump(); end
|
4348
|
+
|
4349
|
+
def unicode_normalize(*_); end
|
4350
|
+
|
4351
|
+
def unicode_normalize!(*_); end
|
4352
|
+
|
4353
|
+
def unicode_normalized?(*_); end
|
4354
|
+
|
4355
|
+
def unpack1(fmt); end
|
4356
|
+
end
|
4357
|
+
|
4358
|
+
class String
|
4359
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
4360
|
+
end
|
4361
|
+
|
4362
|
+
class Struct
|
4363
|
+
def [](_); end
|
4364
|
+
|
4365
|
+
def []=(_, _1); end
|
4366
|
+
|
4367
|
+
def deconstruct(); end
|
4368
|
+
|
4369
|
+
def deconstruct_keys(_); end
|
4370
|
+
|
4371
|
+
def dig(*_); end
|
4372
|
+
|
4373
|
+
def each_pair(); end
|
4374
|
+
|
4375
|
+
def filter(*_); end
|
4376
|
+
|
4377
|
+
def length(); end
|
4378
|
+
|
4379
|
+
def members(); end
|
4380
|
+
|
4381
|
+
def select(*_); end
|
4382
|
+
|
4383
|
+
def size(); end
|
4384
|
+
|
4385
|
+
def to_a(); end
|
4386
|
+
|
4387
|
+
def to_h(); end
|
4388
|
+
|
4389
|
+
def values(); end
|
4390
|
+
|
4391
|
+
def values_at(*_); end
|
4392
|
+
end
|
4393
|
+
|
4394
|
+
Struct::Group = Etc::Group
|
4395
|
+
|
4396
|
+
Struct::Passwd = Etc::Passwd
|
4397
|
+
|
4398
|
+
Struct::Tms = Process::Tms
|
4399
|
+
|
4400
|
+
class Symbol
|
4401
|
+
def end_with?(*_); end
|
4402
|
+
|
4403
|
+
def start_with?(*_); end
|
4404
|
+
end
|
4405
|
+
|
4406
|
+
class SystemCallError
|
4407
|
+
def errno(); end
|
4408
|
+
end
|
4409
|
+
|
4410
|
+
class SystemExit
|
4411
|
+
def status(); end
|
4412
|
+
|
4413
|
+
def success?(); end
|
4414
|
+
end
|
4415
|
+
|
4416
|
+
class Time
|
4417
|
+
def ceil(*_); end
|
4418
|
+
|
4419
|
+
def floor(*_); end
|
4420
|
+
end
|
4421
|
+
|
4422
|
+
class TracePoint
|
4423
|
+
def eval_script(); end
|
4424
|
+
|
4425
|
+
def event(); end
|
4426
|
+
|
4427
|
+
def instruction_sequence(); end
|
4428
|
+
|
4429
|
+
def parameters(); end
|
4430
|
+
end
|
4431
|
+
|
4432
|
+
class TracePoint
|
4433
|
+
def self.new(*events); end
|
4434
|
+
end
|
4435
|
+
|
4436
|
+
class TrueClass
|
4437
|
+
include ::JSON::Ext::Generator::GeneratorMethods::TrueClass
|
4438
|
+
end
|
4439
|
+
|
4440
|
+
class UnboundMethod
|
4441
|
+
def bind_call(*_); end
|
4442
|
+
|
4443
|
+
def clone(); end
|
4444
|
+
|
4445
|
+
def original_name(); end
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
class UncaughtThrowError
|
4449
|
+
def tag(); end
|
4450
|
+
|
4451
|
+
def value(); end
|
4452
|
+
end
|
4453
|
+
|
4454
|
+
module UnicodeNormalize
|
4455
|
+
end
|
4456
|
+
|
4457
|
+
module UnicodeNormalize
|
4458
|
+
end
|
4459
|
+
|
4460
|
+
module Warning
|
4461
|
+
def warn(_); end
|
4462
|
+
end
|
4463
|
+
|
4464
|
+
module Warning
|
4465
|
+
extend ::Warning
|
4466
|
+
def self.[](_); end
|
4467
|
+
|
4468
|
+
def self.[]=(_, _1); end
|
4469
|
+
end
|