legal_entity 0.1.0.pre.beta0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop.yml +18 -0
  3. data/CHANGELOG.md +5 -0
  4. data/MIT-LICENSE +21 -0
  5. data/README.md +1 -0
  6. data/Rakefile +10 -0
  7. data/legal_entity.gemspec +45 -0
  8. data/lib/legal_entity/person.rb +7 -0
  9. data/lib/legal_entity/version.rb +6 -0
  10. data/lib/legal_entity.rb +9 -0
  11. data/sorbet/config +4 -0
  12. data/sorbet/rbi/annotations/.gitattributes +1 -0
  13. data/sorbet/rbi/annotations/activemodel.rbi +89 -0
  14. data/sorbet/rbi/annotations/activerecord.rbi +92 -0
  15. data/sorbet/rbi/annotations/activesupport.rbi +421 -0
  16. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  17. data/sorbet/rbi/gems/.gitattributes +1 -0
  18. data/sorbet/rbi/gems/activemodel@7.0.5.rbi +6022 -0
  19. data/sorbet/rbi/gems/activerecord@7.0.5.rbi +37827 -0
  20. data/sorbet/rbi/gems/activesupport@7.0.5.rbi +18125 -0
  21. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  22. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +11590 -0
  23. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  24. data/sorbet/rbi/gems/i18n@1.14.1.rbi +2325 -0
  25. data/sorbet/rbi/gems/json@2.7.1.rbi +1561 -0
  26. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  27. data/sorbet/rbi/gems/minitest@5.22.2.rbi +1535 -0
  28. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  29. data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
  30. data/sorbet/rbi/gems/parser@3.3.0.5.rbi +5472 -0
  31. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  32. data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
  33. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  34. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  35. data/sorbet/rbi/gems/rake@13.1.0.rbi +3132 -0
  36. data/sorbet/rbi/gems/rbi@0.1.9.rbi +3006 -0
  37. data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +3771 -0
  38. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
  39. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7141 -0
  40. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2576 -0
  41. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +328 -0
  42. data/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi +1442 -0
  43. data/sorbet/rbi/gems/rubocop@1.60.2.rbi +57372 -0
  44. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  45. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  46. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  47. data/sorbet/rbi/gems/tapioca@0.12.0.rbi +3508 -0
  48. data/sorbet/rbi/gems/thor@1.3.0.rbi +4345 -0
  49. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
  50. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  51. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  52. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  53. data/sorbet/tapioca/config.yml +13 -0
  54. data/sorbet/tapioca/require.rb +4 -0
  55. metadata +256 -0
@@ -0,0 +1,3132 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rake` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rake`.
6
+
7
+ # :stopdoc:
8
+ #
9
+ # Some top level Constants.
10
+ #
11
+ # source://rake//lib/rake.rb#70
12
+ FileList = Rake::FileList
13
+
14
+ # --
15
+ # This a FileUtils extension that defines several additional commands to be
16
+ # added to the FileUtils utility functions.
17
+ #
18
+ # source://rake//lib/rake/file_utils.rb#8
19
+ module FileUtils
20
+ # Run a Ruby interpreter with the given arguments.
21
+ #
22
+ # Example:
23
+ # ruby %{-pe '$_.upcase!' <README}
24
+ #
25
+ # source://rake//lib/rake/file_utils.rb#98
26
+ def ruby(*args, **options, &block); end
27
+
28
+ # Attempt to do a normal file link, but fall back to a copy if the link
29
+ # fails.
30
+ #
31
+ # source://rake//lib/rake/file_utils.rb#110
32
+ def safe_ln(*args, **options); end
33
+
34
+ # Run the system command +cmd+. If multiple arguments are given the command
35
+ # is run directly (without the shell, same semantics as Kernel::exec and
36
+ # Kernel::system).
37
+ #
38
+ # It is recommended you use the multiple argument form over interpolating
39
+ # user input for both usability and security reasons. With the multiple
40
+ # argument form you can easily process files with spaces or other shell
41
+ # reserved characters in them. With the multiple argument form your rake
42
+ # tasks are not vulnerable to users providing an argument like
43
+ # <code>; rm # -rf /</code>.
44
+ #
45
+ # If a block is given, upon command completion the block is called with an
46
+ # OK flag (true on a zero exit status) and a Process::Status object.
47
+ # Without a block a RuntimeError is raised when the command exits non-zero.
48
+ #
49
+ # Examples:
50
+ #
51
+ # sh 'ls -ltr'
52
+ #
53
+ # sh 'ls', 'file with spaces'
54
+ #
55
+ # # check exit status after command runs
56
+ # sh %{grep pattern file} do |ok, res|
57
+ # if !ok
58
+ # puts "pattern not found (status = #{res.exitstatus})"
59
+ # end
60
+ # end
61
+ #
62
+ # source://rake//lib/rake/file_utils.rb#43
63
+ def sh(*cmd, &block); end
64
+
65
+ # Split a file path into individual directory names.
66
+ #
67
+ # Example:
68
+ # split_all("a/b/c") => ['a', 'b', 'c']
69
+ #
70
+ # source://rake//lib/rake/file_utils.rb#126
71
+ def split_all(path); end
72
+
73
+ private
74
+
75
+ # source://rake//lib/rake/file_utils.rb#61
76
+ def create_shell_runner(cmd); end
77
+
78
+ # source://rake//lib/rake/file_utils.rb#84
79
+ def set_verbose_option(options); end
80
+
81
+ # source://rake//lib/rake/file_utils.rb#71
82
+ def sh_show_command(cmd); end
83
+ end
84
+
85
+ # source://rake//lib/rake/file_utils.rb#106
86
+ FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
87
+
88
+ # Path to the currently running Ruby program
89
+ #
90
+ # source://rake//lib/rake/file_utils.rb#10
91
+ FileUtils::RUBY = T.let(T.unsafe(nil), String)
92
+
93
+ # source://rake//lib/rake/ext/core.rb#2
94
+ class Module
95
+ # Check for an existing method in the current class before extending. If
96
+ # the method already exists, then a warning is printed and the extension is
97
+ # not added. Otherwise the block is yielded and any definitions in the
98
+ # block will take effect.
99
+ #
100
+ # Usage:
101
+ #
102
+ # class String
103
+ # rake_extension("xyz") do
104
+ # def xyz
105
+ # ...
106
+ # end
107
+ # end
108
+ # end
109
+ #
110
+ # source://rake//lib/rake/ext/core.rb#18
111
+ def rake_extension(method); end
112
+ end
113
+
114
+ # source://rake//lib/rake.rb#24
115
+ module Rake
116
+ extend ::FileUtils::StreamUtils_
117
+ extend ::FileUtils
118
+ extend ::Rake::FileUtilsExt
119
+
120
+ class << self
121
+ # Add files to the rakelib list
122
+ #
123
+ # source://rake//lib/rake/rake_module.rb#33
124
+ def add_rakelib(*files); end
125
+
126
+ # Current Rake Application
127
+ #
128
+ # source://rake//lib/rake/rake_module.rb#8
129
+ def application; end
130
+
131
+ # Set the current Rake application object.
132
+ #
133
+ # source://rake//lib/rake/rake_module.rb#13
134
+ def application=(app); end
135
+
136
+ # Yield each file or directory component.
137
+ #
138
+ # source://rake//lib/rake/file_list.rb#418
139
+ def each_dir_parent(dir); end
140
+
141
+ # Convert Pathname and Pathname-like objects to strings;
142
+ # leave everything else alone
143
+ #
144
+ # source://rake//lib/rake/file_list.rb#429
145
+ def from_pathname(path); end
146
+
147
+ # Load a rakefile.
148
+ #
149
+ # source://rake//lib/rake/rake_module.rb#28
150
+ def load_rakefile(path); end
151
+
152
+ # Return the original directory where the Rake application was started.
153
+ #
154
+ # source://rake//lib/rake/rake_module.rb#23
155
+ def original_dir; end
156
+
157
+ # source://rake//lib/rake/rake_module.rb#17
158
+ def suggested_thread_count; end
159
+
160
+ # Make +block_application+ the default rake application inside a block so
161
+ # you can load rakefiles into a different application.
162
+ #
163
+ # This is useful when you want to run rake tasks inside a library without
164
+ # running rake in a sub-shell.
165
+ #
166
+ # Example:
167
+ #
168
+ # Dir.chdir 'other/directory'
169
+ #
170
+ # other_rake = Rake.with_application do |rake|
171
+ # rake.load_rakefile
172
+ # end
173
+ #
174
+ # puts other_rake.tasks
175
+ #
176
+ # source://rake//lib/rake/rake_module.rb#54
177
+ def with_application(block_application = T.unsafe(nil)); end
178
+ end
179
+ end
180
+
181
+ # Rake main application object. When invoking +rake+ from the
182
+ # command line, a Rake::Application object is created and run.
183
+ #
184
+ # source://rake//lib/rake/application.rb#19
185
+ class Rake::Application
186
+ include ::Rake::TaskManager
187
+ include ::Rake::TraceOutput
188
+
189
+ # Initialize a Rake::Application object.
190
+ #
191
+ # @return [Application] a new instance of Application
192
+ #
193
+ # source://rake//lib/rake/application.rb#49
194
+ def initialize; end
195
+
196
+ # Add a file to the list of files to be imported.
197
+ #
198
+ # source://rake//lib/rake/application.rb#801
199
+ def add_import(fn); end
200
+
201
+ # Add a loader to handle imported files ending in the extension
202
+ # +ext+.
203
+ #
204
+ # source://rake//lib/rake/application.rb#161
205
+ def add_loader(ext, loader); end
206
+
207
+ # Collect the list of tasks on the command line. If no tasks are
208
+ # given, return a list containing only the default task.
209
+ # Environmental assignments are processed at this time as well.
210
+ #
211
+ # `args` is the list of arguments to peruse to get the list of tasks.
212
+ # It should be the command line that was given to rake, less any
213
+ # recognised command-line options, which OptionParser.parse will
214
+ # have taken care of already.
215
+ #
216
+ # source://rake//lib/rake/application.rb#782
217
+ def collect_command_line_tasks(args); end
218
+
219
+ # Default task name ("default").
220
+ # (May be overridden by subclasses)
221
+ #
222
+ # source://rake//lib/rake/application.rb#796
223
+ def default_task_name; end
224
+
225
+ # Warn about deprecated usage.
226
+ #
227
+ # Example:
228
+ # Rake.application.deprecate("import", "Rake.import", caller.first)
229
+ #
230
+ # source://rake//lib/rake/application.rb#282
231
+ def deprecate(old_usage, new_usage, call_site); end
232
+
233
+ # source://rake//lib/rake/application.rb#244
234
+ def display_cause_details(ex); end
235
+
236
+ # Display the error message that caused the exception.
237
+ #
238
+ # source://rake//lib/rake/application.rb#228
239
+ def display_error_message(ex); end
240
+
241
+ # source://rake//lib/rake/application.rb#269
242
+ def display_exception_backtrace(ex); end
243
+
244
+ # source://rake//lib/rake/application.rb#236
245
+ def display_exception_details(ex); end
246
+
247
+ # source://rake//lib/rake/application.rb#251
248
+ def display_exception_details_seen; end
249
+
250
+ # source://rake//lib/rake/application.rb#259
251
+ def display_exception_message_details(ex); end
252
+
253
+ # Display the tasks and prerequisites
254
+ #
255
+ # source://rake//lib/rake/application.rb#405
256
+ def display_prerequisites; end
257
+
258
+ # Display the tasks and comments.
259
+ #
260
+ # source://rake//lib/rake/application.rb#322
261
+ def display_tasks_and_comments; end
262
+
263
+ # Calculate the dynamic width of the
264
+ #
265
+ # source://rake//lib/rake/application.rb#373
266
+ def dynamic_width; end
267
+
268
+ # source://rake//lib/rake/application.rb#377
269
+ def dynamic_width_stty; end
270
+
271
+ # source://rake//lib/rake/application.rb#381
272
+ def dynamic_width_tput; end
273
+
274
+ # Exit the program because of an unhandled exception.
275
+ # (may be overridden by subclasses)
276
+ #
277
+ # source://rake//lib/rake/application.rb#223
278
+ def exit_because_of_exception(ex); end
279
+
280
+ # source://rake//lib/rake/application.rb#702
281
+ def find_rakefile_location; end
282
+
283
+ # Read and handle the command line options. Returns the command line
284
+ # arguments that we didn't understand, which should (in theory) be just
285
+ # task names and env vars.
286
+ #
287
+ # source://rake//lib/rake/application.rb#668
288
+ def handle_options(argv); end
289
+
290
+ # @return [Boolean]
291
+ #
292
+ # source://rake//lib/rake/application.rb#255
293
+ def has_cause?(ex); end
294
+
295
+ # True if one of the files in RAKEFILES is in the current directory.
296
+ # If a match is found, it is copied into @rakefile.
297
+ #
298
+ # source://rake//lib/rake/application.rb#298
299
+ def have_rakefile; end
300
+
301
+ # Initialize the command line parameters and app name.
302
+ #
303
+ # source://rake//lib/rake/application.rb#88
304
+ def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
305
+
306
+ # Invokes a task with arguments that are extracted from +task_string+
307
+ #
308
+ # source://rake//lib/rake/application.rb#179
309
+ def invoke_task(task_string); end
310
+
311
+ # Load the pending list of imported files.
312
+ #
313
+ # source://rake//lib/rake/application.rb#806
314
+ def load_imports; end
315
+
316
+ # Find the rakefile and then load it and any pending imports.
317
+ #
318
+ # source://rake//lib/rake/application.rb#124
319
+ def load_rakefile; end
320
+
321
+ # The name of the application (typically 'rake')
322
+ #
323
+ # source://rake//lib/rake/application.rb#24
324
+ def name; end
325
+
326
+ # Application options from the command line
327
+ #
328
+ # source://rake//lib/rake/application.rb#167
329
+ def options; end
330
+
331
+ # The original directory where rake was invoked.
332
+ #
333
+ # source://rake//lib/rake/application.rb#27
334
+ def original_dir; end
335
+
336
+ # source://rake//lib/rake/application.rb#185
337
+ def parse_task_string(string); end
338
+
339
+ # source://rake//lib/rake/application.rb#714
340
+ def print_rakefile_directory(location); end
341
+
342
+ # Similar to the regular Ruby +require+ command, but will check
343
+ # for *.rake files in addition to *.rb files.
344
+ #
345
+ # source://rake//lib/rake/application.rb#688
346
+ def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
347
+
348
+ # Name of the actual rakefile used.
349
+ #
350
+ # source://rake//lib/rake/application.rb#30
351
+ def rakefile; end
352
+
353
+ # source://rake//lib/rake/application.rb#822
354
+ def rakefile_location(backtrace = T.unsafe(nil)); end
355
+
356
+ # source://rake//lib/rake/application.rb#719
357
+ def raw_load_rakefile; end
358
+
359
+ # Run the Rake application. The run method performs the following
360
+ # three steps:
361
+ #
362
+ # * Initialize the command line options (+init+).
363
+ # * Define the tasks (+load_rakefile+).
364
+ # * Run the top level tasks (+top_level+).
365
+ #
366
+ # If you wish to build a custom rake command, you should call
367
+ # +init+ on your application. Then define any tasks. Finally,
368
+ # call +top_level+ to run your top level tasks.
369
+ #
370
+ # source://rake//lib/rake/application.rb#79
371
+ def run(argv = T.unsafe(nil)); end
372
+
373
+ # Run the given block with the thread startup and shutdown.
374
+ #
375
+ # source://rake//lib/rake/application.rb#144
376
+ def run_with_threads; end
377
+
378
+ # source://rake//lib/rake/application.rb#831
379
+ def set_default_options; end
380
+
381
+ # Provide standard exception handling for the given block.
382
+ #
383
+ # source://rake//lib/rake/application.rb#207
384
+ def standard_exception_handling; end
385
+
386
+ # A list of all the standard options used in rake, suitable for
387
+ # passing to OptionParser.
388
+ #
389
+ # source://rake//lib/rake/application.rb#426
390
+ def standard_rake_options; end
391
+
392
+ # The directory path containing the system wide rakefiles.
393
+ #
394
+ # source://rake//lib/rake/application.rb#751
395
+ def system_dir; end
396
+
397
+ # Number of columns on the terminal
398
+ #
399
+ # source://rake//lib/rake/application.rb#33
400
+ def terminal_columns; end
401
+
402
+ # Number of columns on the terminal
403
+ #
404
+ # source://rake//lib/rake/application.rb#33
405
+ def terminal_columns=(_arg0); end
406
+
407
+ # source://rake//lib/rake/application.rb#361
408
+ def terminal_width; end
409
+
410
+ # Return the thread pool used for multithreaded processing.
411
+ #
412
+ # source://rake//lib/rake/application.rb#172
413
+ def thread_pool; end
414
+
415
+ # Run the top level tasks of a Rake application.
416
+ #
417
+ # source://rake//lib/rake/application.rb#131
418
+ def top_level; end
419
+
420
+ # List of the top level task names (task names from the command line).
421
+ #
422
+ # source://rake//lib/rake/application.rb#36
423
+ def top_level_tasks; end
424
+
425
+ # source://rake//lib/rake/application.rb#412
426
+ def trace(*strings); end
427
+
428
+ # source://rake//lib/rake/application.rb#394
429
+ def truncate(string, width); end
430
+
431
+ # We will truncate output if we are outputting to a TTY or if we've been
432
+ # given an explicit column width to honor
433
+ #
434
+ # @return [Boolean]
435
+ #
436
+ # source://rake//lib/rake/application.rb#317
437
+ def truncate_output?; end
438
+
439
+ # Override the detected TTY output state (mostly for testing)
440
+ #
441
+ # source://rake//lib/rake/application.rb#39
442
+ def tty_output=(_arg0); end
443
+
444
+ # True if we are outputting to TTY, false otherwise
445
+ #
446
+ # @return [Boolean]
447
+ #
448
+ # source://rake//lib/rake/application.rb#311
449
+ def tty_output?; end
450
+
451
+ # @return [Boolean]
452
+ #
453
+ # source://rake//lib/rake/application.rb#385
454
+ def unix?; end
455
+
456
+ # @return [Boolean]
457
+ #
458
+ # source://rake//lib/rake/application.rb#390
459
+ def windows?; end
460
+
461
+ private
462
+
463
+ # source://rake//lib/rake/application.rb#745
464
+ def glob(path, &block); end
465
+
466
+ # Does the exception have a task invocation chain?
467
+ #
468
+ # @return [Boolean]
469
+ #
470
+ # source://rake//lib/rake/application.rb#291
471
+ def has_chain?(exception); end
472
+
473
+ # source://rake//lib/rake/application.rb#102
474
+ def load_debug_at_stop_feature; end
475
+
476
+ # source://rake//lib/rake/application.rb#644
477
+ def select_tasks_to_show(options, show_tasks, value); end
478
+
479
+ # source://rake//lib/rake/application.rb#651
480
+ def select_trace_output(options, trace_option, value); end
481
+
482
+ # source://rake//lib/rake/application.rb#417
483
+ def sort_options(options); end
484
+
485
+ # source://rake//lib/rake/application.rb#768
486
+ def standard_system_dir; end
487
+ end
488
+
489
+ # source://rake//lib/rake/application.rb#41
490
+ Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
491
+
492
+ # source://rake//lib/rake/backtrace.rb#3
493
+ module Rake::Backtrace
494
+ class << self
495
+ # source://rake//lib/rake/backtrace.rb#18
496
+ def collapse(backtrace); end
497
+ end
498
+ end
499
+
500
+ # source://rake//lib/rake/backtrace.rb#8
501
+ Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
502
+
503
+ # source://rake//lib/rake/backtrace.rb#12
504
+ Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
505
+
506
+ # source://rake//lib/rake/backtrace.rb#16
507
+ Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
508
+
509
+ # source://rake//lib/rake/backtrace.rb#4
510
+ Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array)
511
+
512
+ # source://rake//lib/rake/backtrace.rb#5
513
+ Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array)
514
+
515
+ # Mixin for creating easily cloned objects.
516
+ #
517
+ # source://rake//lib/rake/cloneable.rb#6
518
+ module Rake::Cloneable
519
+ private
520
+
521
+ # The hook that is invoked by 'clone' and 'dup' methods.
522
+ #
523
+ # source://rake//lib/rake/cloneable.rb#8
524
+ def initialize_copy(source); end
525
+ end
526
+
527
+ # source://rake//lib/rake/application.rb#13
528
+ class Rake::CommandLineOptionError < ::StandardError; end
529
+
530
+ # Based on a script at:
531
+ # http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed
532
+ #
533
+ # source://rake//lib/rake/cpu_counter.rb#6
534
+ class Rake::CpuCounter
535
+ # source://rake//lib/rake/cpu_counter.rb#22
536
+ def count; end
537
+
538
+ # source://rake//lib/rake/cpu_counter.rb#11
539
+ def count_with_default(default = T.unsafe(nil)); end
540
+
541
+ class << self
542
+ # source://rake//lib/rake/cpu_counter.rb#7
543
+ def count; end
544
+ end
545
+ end
546
+
547
+ # DSL is a module that provides #task, #desc, #namespace, etc. Use this
548
+ # when you'd like to use rake outside the top level scope.
549
+ #
550
+ # For a Rakefile you run from the command line this module is automatically
551
+ # included.
552
+ #
553
+ # source://rake//lib/rake/dsl_definition.rb#14
554
+ module Rake::DSL
555
+ include ::FileUtils::StreamUtils_
556
+ include ::FileUtils
557
+ include ::Rake::FileUtilsExt
558
+
559
+ private
560
+
561
+ # source://rake//lib/rake/file_utils_ext.rb#34
562
+ def cd(*args, **options, &block); end
563
+
564
+ # source://rake//lib/rake/file_utils_ext.rb#34
565
+ def chdir(*args, **options, &block); end
566
+
567
+ # source://rake//lib/rake/file_utils_ext.rb#34
568
+ def chmod(*args, **options, &block); end
569
+
570
+ # source://rake//lib/rake/file_utils_ext.rb#34
571
+ def chmod_R(*args, **options, &block); end
572
+
573
+ # source://rake//lib/rake/file_utils_ext.rb#34
574
+ def chown(*args, **options, &block); end
575
+
576
+ # source://rake//lib/rake/file_utils_ext.rb#34
577
+ def chown_R(*args, **options, &block); end
578
+
579
+ # source://rake//lib/rake/file_utils_ext.rb#34
580
+ def copy(*args, **options, &block); end
581
+
582
+ # source://rake//lib/rake/file_utils_ext.rb#34
583
+ def cp(*args, **options, &block); end
584
+
585
+ # source://rake//lib/rake/file_utils_ext.rb#34
586
+ def cp_lr(*args, **options, &block); end
587
+
588
+ # source://rake//lib/rake/file_utils_ext.rb#34
589
+ def cp_r(*args, **options, &block); end
590
+
591
+ # Describes the next rake task. Duplicate descriptions are discarded.
592
+ # Descriptions are shown with <code>rake -T</code> (up to the first
593
+ # sentence) and <code>rake -D</code> (the entire description).
594
+ #
595
+ # Example:
596
+ # desc "Run the Unit Tests"
597
+ # task test: [:build] do
598
+ # # ... run tests
599
+ # end
600
+ #
601
+ # source://rake//lib/rake/dsl_definition.rb#165
602
+ def desc(description); end
603
+
604
+ # Declare a set of files tasks to create the given directories on
605
+ # demand.
606
+ #
607
+ # Example:
608
+ # directory "testdata/doc"
609
+ #
610
+ # source://rake//lib/rake/dsl_definition.rb#92
611
+ def directory(*args, &block); end
612
+
613
+ # Declare a file task.
614
+ #
615
+ # Example:
616
+ # file "config.cfg" => ["config.template"] do
617
+ # open("config.cfg", "w") do |outfile|
618
+ # open("config.template") do |infile|
619
+ # while line = infile.gets
620
+ # outfile.puts line
621
+ # end
622
+ # end
623
+ # end
624
+ # end
625
+ #
626
+ # source://rake//lib/rake/dsl_definition.rb#76
627
+ def file(*args, &block); end
628
+
629
+ # Declare a file creation task.
630
+ # (Mainly used for the directory command).
631
+ #
632
+ # source://rake//lib/rake/dsl_definition.rb#82
633
+ def file_create(*args, &block); end
634
+
635
+ # Import the partial Rakefiles +fn+. Imported files are loaded
636
+ # _after_ the current file is completely loaded. This allows the
637
+ # import statement to appear anywhere in the importing file, and yet
638
+ # allowing the imported files to depend on objects defined in the
639
+ # importing file.
640
+ #
641
+ # A common use of the import statement is to include files
642
+ # containing dependency declarations.
643
+ #
644
+ # See also the --rakelibdir command line option.
645
+ #
646
+ # Example:
647
+ # import ".depend", "my_rules"
648
+ #
649
+ # source://rake//lib/rake/dsl_definition.rb#183
650
+ def import(*fns); end
651
+
652
+ # source://rake//lib/rake/file_utils_ext.rb#34
653
+ def install(*args, **options, &block); end
654
+
655
+ # source://rake//lib/rake/file_utils_ext.rb#34
656
+ def link(*args, **options, &block); end
657
+
658
+ # source://rake//lib/rake/file_utils_ext.rb#34
659
+ def ln(*args, **options, &block); end
660
+
661
+ # source://rake//lib/rake/file_utils_ext.rb#34
662
+ def ln_s(*args, **options, &block); end
663
+
664
+ # source://rake//lib/rake/file_utils_ext.rb#34
665
+ def ln_sf(*args, **options, &block); end
666
+
667
+ # source://rake//lib/rake/file_utils_ext.rb#34
668
+ def ln_sr(*args, **options, &block); end
669
+
670
+ # source://rake//lib/rake/file_utils_ext.rb#34
671
+ def makedirs(*args, **options, &block); end
672
+
673
+ # source://rake//lib/rake/file_utils_ext.rb#34
674
+ def mkdir(*args, **options, &block); end
675
+
676
+ # source://rake//lib/rake/file_utils_ext.rb#34
677
+ def mkdir_p(*args, **options, &block); end
678
+
679
+ # source://rake//lib/rake/file_utils_ext.rb#34
680
+ def mkpath(*args, **options, &block); end
681
+
682
+ # source://rake//lib/rake/file_utils_ext.rb#34
683
+ def move(*args, **options, &block); end
684
+
685
+ # Declare a task that performs its prerequisites in
686
+ # parallel. Multitasks does *not* guarantee that its prerequisites
687
+ # will execute in any given order (which is obvious when you think
688
+ # about it)
689
+ #
690
+ # Example:
691
+ # multitask deploy: %w[deploy_gem deploy_rdoc]
692
+ #
693
+ # source://rake//lib/rake/dsl_definition.rb#112
694
+ def multitask(*args, &block); end
695
+
696
+ # source://rake//lib/rake/file_utils_ext.rb#34
697
+ def mv(*args, **options, &block); end
698
+
699
+ # Create a new rake namespace and use it for evaluating the given
700
+ # block. Returns a NameSpace object that can be used to lookup
701
+ # tasks defined in the namespace.
702
+ #
703
+ # Example:
704
+ #
705
+ # ns = namespace "nested" do
706
+ # # the "nested:run" task
707
+ # task :run
708
+ # end
709
+ # task_run = ns[:run] # find :run in the given namespace.
710
+ #
711
+ # Tasks can also be defined in a namespace by using a ":" in the task
712
+ # name:
713
+ #
714
+ # task "nested:test" do
715
+ # # ...
716
+ # end
717
+ #
718
+ # source://rake//lib/rake/dsl_definition.rb#135
719
+ def namespace(name = T.unsafe(nil), &block); end
720
+
721
+ # source://rake//lib/rake/file_utils_ext.rb#77
722
+ def nowrite(value = T.unsafe(nil)); end
723
+
724
+ # source://rake//lib/rake/file_utils_ext.rb#123
725
+ def rake_check_options(options, *optdecl); end
726
+
727
+ # source://rake//lib/rake/file_utils_ext.rb#116
728
+ def rake_output_message(message); end
729
+
730
+ # source://rake//lib/rake/file_utils_ext.rb#34
731
+ def remove(*args, **options, &block); end
732
+
733
+ # source://rake//lib/rake/file_utils_ext.rb#34
734
+ def rm(*args, **options, &block); end
735
+
736
+ # source://rake//lib/rake/file_utils_ext.rb#34
737
+ def rm_f(*args, **options, &block); end
738
+
739
+ # source://rake//lib/rake/file_utils_ext.rb#34
740
+ def rm_r(*args, **options, &block); end
741
+
742
+ # source://rake//lib/rake/file_utils_ext.rb#34
743
+ def rm_rf(*args, **options, &block); end
744
+
745
+ # source://rake//lib/rake/file_utils_ext.rb#34
746
+ def rmdir(*args, **options, &block); end
747
+
748
+ # source://rake//lib/rake/file_utils_ext.rb#34
749
+ def rmtree(*args, **options, &block); end
750
+
751
+ # source://rake//lib/rake/file_utils.rb#98
752
+ def ruby(*args, **options, &block); end
753
+
754
+ # Declare a rule for auto-tasks.
755
+ #
756
+ # Example:
757
+ # rule '.o' => '.c' do |t|
758
+ # sh 'cc', '-o', t.name, t.source
759
+ # end
760
+ #
761
+ # source://rake//lib/rake/dsl_definition.rb#151
762
+ def rule(*args, &block); end
763
+
764
+ # source://rake//lib/rake/file_utils.rb#110
765
+ def safe_ln(*args, **options); end
766
+
767
+ # source://rake//lib/rake/file_utils_ext.rb#34
768
+ def safe_unlink(*args, **options, &block); end
769
+
770
+ # source://rake//lib/rake/file_utils.rb#43
771
+ def sh(*cmd, &block); end
772
+
773
+ # source://rake//lib/rake/file_utils.rb#126
774
+ def split_all(path); end
775
+
776
+ # source://rake//lib/rake/file_utils_ext.rb#34
777
+ def symlink(*args, **options, &block); end
778
+
779
+ # :call-seq:
780
+ # task(task_name)
781
+ # task(task_name: dependencies)
782
+ # task(task_name, arguments => dependencies)
783
+ #
784
+ # Declare a basic task. The +task_name+ is always the first argument. If
785
+ # the task name contains a ":" it is defined in that namespace.
786
+ #
787
+ # The +dependencies+ may be a single task name or an Array of task names.
788
+ # The +argument+ (a single name) or +arguments+ (an Array of names) define
789
+ # the arguments provided to the task.
790
+ #
791
+ # The task, argument and dependency names may be either symbols or
792
+ # strings.
793
+ #
794
+ # A task with a single dependency:
795
+ #
796
+ # task clobber: %w[clean] do
797
+ # rm_rf "html"
798
+ # end
799
+ #
800
+ # A task with an argument and a dependency:
801
+ #
802
+ # task :package, [:version] => :test do |t, args|
803
+ # # ...
804
+ # end
805
+ #
806
+ # To invoke this task from the command line:
807
+ #
808
+ # $ rake package[1.2.3]
809
+ #
810
+ # source://rake//lib/rake/dsl_definition.rb#59
811
+ def task(*args, &block); end
812
+
813
+ # source://rake//lib/rake/file_utils_ext.rb#34
814
+ def touch(*args, **options, &block); end
815
+
816
+ # source://rake//lib/rake/file_utils_ext.rb#53
817
+ def verbose(value = T.unsafe(nil)); end
818
+
819
+ # source://rake//lib/rake/file_utils_ext.rb#107
820
+ def when_writing(msg = T.unsafe(nil)); end
821
+ end
822
+
823
+ # Default Rakefile loader used by +import+.
824
+ #
825
+ # source://rake//lib/rake/default_loader.rb#5
826
+ class Rake::DefaultLoader
827
+ # Loads a rakefile into the current application from +fn+
828
+ #
829
+ # source://rake//lib/rake/default_loader.rb#10
830
+ def load(fn); end
831
+ end
832
+
833
+ # source://rake//lib/rake/early_time.rb#21
834
+ Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime)
835
+
836
+ # source://rake//lib/rake/task_arguments.rb#108
837
+ Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments)
838
+
839
+ # EarlyTime is a fake timestamp that occurs _before_ any other time value.
840
+ #
841
+ # source://rake//lib/rake/early_time.rb#5
842
+ class Rake::EarlyTime
843
+ include ::Comparable
844
+ include ::Singleton
845
+ extend ::Singleton::SingletonClassMethods
846
+
847
+ # The EarlyTime always comes before +other+!
848
+ #
849
+ # source://rake//lib/rake/early_time.rb#12
850
+ def <=>(other); end
851
+
852
+ # source://rake//lib/rake/early_time.rb#16
853
+ def to_s; end
854
+
855
+ class << self
856
+ private
857
+
858
+ def allocate; end
859
+ def new(*_arg0); end
860
+ end
861
+ end
862
+
863
+ # A FileCreationTask is a file task that when used as a dependency will be
864
+ # needed if and only if the file has not been created. Once created, it is
865
+ # not re-triggered if any of its dependencies are newer, nor does trigger
866
+ # any rebuilds of tasks that depend on it whenever it is updated.
867
+ #
868
+ # source://rake//lib/rake/file_creation_task.rb#12
869
+ class Rake::FileCreationTask < ::Rake::FileTask
870
+ # Is this file task needed? Yes if it doesn't exist.
871
+ #
872
+ # @return [Boolean]
873
+ #
874
+ # source://rake//lib/rake/file_creation_task.rb#14
875
+ def needed?; end
876
+
877
+ # Time stamp for file creation task. This time stamp is earlier
878
+ # than any other time stamp.
879
+ #
880
+ # source://rake//lib/rake/file_creation_task.rb#20
881
+ def timestamp; end
882
+ end
883
+
884
+ # A FileList is essentially an array with a few helper methods defined to
885
+ # make file manipulation a bit easier.
886
+ #
887
+ # FileLists are lazy. When given a list of glob patterns for possible files
888
+ # to be included in the file list, instead of searching the file structures
889
+ # to find the files, a FileList holds the pattern for latter use.
890
+ #
891
+ # This allows us to define a number of FileList to match any number of
892
+ # files, but only search out the actual files when then FileList itself is
893
+ # actually used. The key is that the first time an element of the
894
+ # FileList/Array is requested, the pending patterns are resolved into a real
895
+ # list of file names.
896
+ #
897
+ # source://rake//lib/rake/file_list.rb#22
898
+ class Rake::FileList
899
+ include ::Rake::Cloneable
900
+
901
+ # Create a file list from the globbable patterns given. If you wish to
902
+ # perform multiple includes or excludes at object build time, use the
903
+ # "yield self" pattern.
904
+ #
905
+ # Example:
906
+ # file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
907
+ #
908
+ # pkg_files = FileList.new('lib/**/*') do |fl|
909
+ # fl.exclude(/\bCVS\b/)
910
+ # end
911
+ #
912
+ # @return [FileList] a new instance of FileList
913
+ # @yield [_self]
914
+ # @yieldparam _self [Rake::FileList] the object that the method was called on
915
+ #
916
+ # source://rake//lib/rake/file_list.rb#99
917
+ def initialize(*patterns); end
918
+
919
+ # source://rake//lib/rake/file_list.rb#68
920
+ def &(*args, &block); end
921
+
922
+ # Redefine * to return either a string or a new file list.
923
+ #
924
+ # source://rake//lib/rake/file_list.rb#193
925
+ def *(other); end
926
+
927
+ # source://rake//lib/rake/file_list.rb#68
928
+ def +(*args, &block); end
929
+
930
+ # source://rake//lib/rake/file_list.rb#68
931
+ def -(*args, &block); end
932
+
933
+ # source://rake//lib/rake/file_list.rb#203
934
+ def <<(obj); end
935
+
936
+ # source://rake//lib/rake/file_list.rb#77
937
+ def <=>(*args, &block); end
938
+
939
+ # A FileList is equal through array equality.
940
+ #
941
+ # source://rake//lib/rake/file_list.rb#171
942
+ def ==(array); end
943
+
944
+ # source://rake//lib/rake/file_list.rb#77
945
+ def [](*args, &block); end
946
+
947
+ # source://rake//lib/rake/file_list.rb#77
948
+ def []=(*args, &block); end
949
+
950
+ # Add file names defined by glob patterns to the file list. If an array
951
+ # is given, add each element of the array.
952
+ #
953
+ # Example:
954
+ # file_list.include("*.java", "*.cfg")
955
+ # file_list.include %w( math.c lib.h *.o )
956
+ #
957
+ # source://rake//lib/rake/file_list.rb#116
958
+ def add(*filenames); end
959
+
960
+ # source://rake//lib/rake/file_list.rb#77
961
+ def all?(*args, &block); end
962
+
963
+ # source://rake//lib/rake/file_list.rb#77
964
+ def any?(*args, &block); end
965
+
966
+ # source://rake//lib/rake/file_list.rb#77
967
+ def append(*args, &block); end
968
+
969
+ # source://rake//lib/rake/file_list.rb#77
970
+ def assoc(*args, &block); end
971
+
972
+ # source://rake//lib/rake/file_list.rb#77
973
+ def at(*args, &block); end
974
+
975
+ # source://rake//lib/rake/file_list.rb#77
976
+ def bsearch(*args, &block); end
977
+
978
+ # source://rake//lib/rake/file_list.rb#77
979
+ def bsearch_index(*args, &block); end
980
+
981
+ # source://rake//lib/rake/file_list.rb#77
982
+ def chain(*args, &block); end
983
+
984
+ # source://rake//lib/rake/file_list.rb#77
985
+ def chunk(*args, &block); end
986
+
987
+ # source://rake//lib/rake/file_list.rb#77
988
+ def chunk_while(*args, &block); end
989
+
990
+ # source://rake//lib/rake/file_list.rb#77
991
+ def clear(*args, &block); end
992
+
993
+ # Clear all the exclude patterns so that we exclude nothing.
994
+ #
995
+ # source://rake//lib/rake/file_list.rb#164
996
+ def clear_exclude; end
997
+
998
+ # source://rake//lib/rake/file_list.rb#68
999
+ def collect(*args, &block); end
1000
+
1001
+ # source://rake//lib/rake/file_list.rb#77
1002
+ def collect!(*args, &block); end
1003
+
1004
+ # source://rake//lib/rake/file_list.rb#77
1005
+ def collect_concat(*args, &block); end
1006
+
1007
+ # source://rake//lib/rake/file_list.rb#77
1008
+ def combination(*args, &block); end
1009
+
1010
+ # source://rake//lib/rake/file_list.rb#68
1011
+ def compact(*args, &block); end
1012
+
1013
+ # source://rake//lib/rake/file_list.rb#77
1014
+ def compact!(*args, &block); end
1015
+
1016
+ # source://rake//lib/rake/file_list.rb#77
1017
+ def compact_blank(*args, &block); end
1018
+
1019
+ # source://rake//lib/rake/file_list.rb#77
1020
+ def compact_blank!(*args, &block); end
1021
+
1022
+ # source://rake//lib/rake/file_list.rb#77
1023
+ def concat(*args, &block); end
1024
+
1025
+ # source://rake//lib/rake/file_list.rb#77
1026
+ def count(*args, &block); end
1027
+
1028
+ # source://rake//lib/rake/file_list.rb#77
1029
+ def cycle(*args, &block); end
1030
+
1031
+ # source://rake//lib/rake/file_list.rb#77
1032
+ def deconstruct(*args, &block); end
1033
+
1034
+ # source://rake//lib/rake/file_list.rb#77
1035
+ def delete(*args, &block); end
1036
+
1037
+ # source://rake//lib/rake/file_list.rb#77
1038
+ def delete_at(*args, &block); end
1039
+
1040
+ # source://rake//lib/rake/file_list.rb#77
1041
+ def delete_if(*args, &block); end
1042
+
1043
+ # source://rake//lib/rake/file_list.rb#77
1044
+ def detect(*args, &block); end
1045
+
1046
+ # source://rake//lib/rake/file_list.rb#77
1047
+ def difference(*args, &block); end
1048
+
1049
+ # source://rake//lib/rake/file_list.rb#77
1050
+ def dig(*args, &block); end
1051
+
1052
+ # source://rake//lib/rake/file_list.rb#77
1053
+ def drop(*args, &block); end
1054
+
1055
+ # source://rake//lib/rake/file_list.rb#77
1056
+ def drop_while(*args, &block); end
1057
+
1058
+ # source://rake//lib/rake/file_list.rb#77
1059
+ def each(*args, &block); end
1060
+
1061
+ # source://rake//lib/rake/file_list.rb#77
1062
+ def each_cons(*args, &block); end
1063
+
1064
+ # source://rake//lib/rake/file_list.rb#77
1065
+ def each_entry(*args, &block); end
1066
+
1067
+ # source://rake//lib/rake/file_list.rb#77
1068
+ def each_index(*args, &block); end
1069
+
1070
+ # source://rake//lib/rake/file_list.rb#77
1071
+ def each_slice(*args, &block); end
1072
+
1073
+ # source://rake//lib/rake/file_list.rb#77
1074
+ def each_with_index(*args, &block); end
1075
+
1076
+ # source://rake//lib/rake/file_list.rb#77
1077
+ def each_with_object(*args, &block); end
1078
+
1079
+ # Grep each of the files in the filelist using the given pattern. If a
1080
+ # block is given, call the block on each matching line, passing the file
1081
+ # name, line number, and the matching line of text. If no block is given,
1082
+ # a standard emacs style file:linenumber:line message will be printed to
1083
+ # standard out. Returns the number of matched items.
1084
+ #
1085
+ # source://rake//lib/rake/file_list.rb#293
1086
+ def egrep(pattern, *options); end
1087
+
1088
+ # source://rake//lib/rake/file_list.rb#77
1089
+ def empty?(*args, &block); end
1090
+
1091
+ # source://rake//lib/rake/file_list.rb#77
1092
+ def entries(*args, &block); end
1093
+
1094
+ # Register a list of file name patterns that should be excluded from the
1095
+ # list. Patterns may be regular expressions, glob patterns or regular
1096
+ # strings. In addition, a block given to exclude will remove entries that
1097
+ # return true when given to the block.
1098
+ #
1099
+ # Note that glob patterns are expanded against the file system. If a file
1100
+ # is explicitly added to a file list, but does not exist in the file
1101
+ # system, then an glob pattern in the exclude list will not exclude the
1102
+ # file.
1103
+ #
1104
+ # Examples:
1105
+ # FileList['a.c', 'b.c'].exclude("a.c") => ['b.c']
1106
+ # FileList['a.c', 'b.c'].exclude(/^a/) => ['b.c']
1107
+ #
1108
+ # If "a.c" is a file, then ...
1109
+ # FileList['a.c', 'b.c'].exclude("a.*") => ['b.c']
1110
+ #
1111
+ # If "a.c" is not a file, then ...
1112
+ # FileList['a.c', 'b.c'].exclude("a.*") => ['a.c', 'b.c']
1113
+ #
1114
+ # source://rake//lib/rake/file_list.rb#150
1115
+ def exclude(*patterns, &block); end
1116
+
1117
+ # source://rake//lib/rake/file_list.rb#77
1118
+ def exclude?(*args, &block); end
1119
+
1120
+ # Should the given file name be excluded from the list?
1121
+ #
1122
+ # NOTE: This method was formerly named "exclude?", but Rails
1123
+ # introduced an exclude? method as an array method and setup a
1124
+ # conflict with file list. We renamed the method to avoid
1125
+ # confusion. If you were using "FileList#exclude?" in your user
1126
+ # code, you will need to update.
1127
+ #
1128
+ # @return [Boolean]
1129
+ #
1130
+ # source://rake//lib/rake/file_list.rb#364
1131
+ def excluded_from_list?(fn); end
1132
+
1133
+ # source://rake//lib/rake/file_list.rb#77
1134
+ def excluding(*args, &block); end
1135
+
1136
+ # Return a new file list that only contains file names from the current
1137
+ # file list that exist on the file system.
1138
+ #
1139
+ # source://rake//lib/rake/file_list.rb#320
1140
+ def existing; end
1141
+
1142
+ # Modify the current file list so that it contains only file name that
1143
+ # exist on the file system.
1144
+ #
1145
+ # source://rake//lib/rake/file_list.rb#326
1146
+ def existing!; end
1147
+
1148
+ # Return a new FileList with <tt>String#ext</tt> method applied to
1149
+ # each member of the array.
1150
+ #
1151
+ # This method is a shortcut for:
1152
+ #
1153
+ # array.collect { |item| item.ext(newext) }
1154
+ #
1155
+ # +ext+ is a user added method for the Array class.
1156
+ #
1157
+ # source://rake//lib/rake/file_list.rb#284
1158
+ def ext(newext = T.unsafe(nil)); end
1159
+
1160
+ # source://rake//lib/rake/file_list.rb#77
1161
+ def extract!(*args, &block); end
1162
+
1163
+ # source://rake//lib/rake/file_list.rb#77
1164
+ def extract_options!(*args, &block); end
1165
+
1166
+ # source://rake//lib/rake/file_list.rb#77
1167
+ def fetch(*args, &block); end
1168
+
1169
+ # source://rake//lib/rake/file_list.rb#77
1170
+ def fifth(*args, &block); end
1171
+
1172
+ # source://rake//lib/rake/file_list.rb#77
1173
+ def fill(*args, &block); end
1174
+
1175
+ # source://rake//lib/rake/file_list.rb#77
1176
+ def filter(*args, &block); end
1177
+
1178
+ # source://rake//lib/rake/file_list.rb#77
1179
+ def filter!(*args, &block); end
1180
+
1181
+ # source://rake//lib/rake/file_list.rb#77
1182
+ def filter_map(*args, &block); end
1183
+
1184
+ # source://rake//lib/rake/file_list.rb#77
1185
+ def find(*args, &block); end
1186
+
1187
+ # source://rake//lib/rake/file_list.rb#68
1188
+ def find_all(*args, &block); end
1189
+
1190
+ # source://rake//lib/rake/file_list.rb#77
1191
+ def find_index(*args, &block); end
1192
+
1193
+ # source://rake//lib/rake/file_list.rb#77
1194
+ def first(*args, &block); end
1195
+
1196
+ # source://rake//lib/rake/file_list.rb#77
1197
+ def flat_map(*args, &block); end
1198
+
1199
+ # source://rake//lib/rake/file_list.rb#68
1200
+ def flatten(*args, &block); end
1201
+
1202
+ # source://rake//lib/rake/file_list.rb#77
1203
+ def flatten!(*args, &block); end
1204
+
1205
+ # source://rake//lib/rake/file_list.rb#77
1206
+ def forty_two(*args, &block); end
1207
+
1208
+ # source://rake//lib/rake/file_list.rb#77
1209
+ def fourth(*args, &block); end
1210
+
1211
+ # source://rake//lib/rake/file_list.rb#77
1212
+ def from(*args, &block); end
1213
+
1214
+ # source://rake//lib/rake/file_list.rb#68
1215
+ def grep(*args, &block); end
1216
+
1217
+ # source://rake//lib/rake/file_list.rb#77
1218
+ def grep_v(*args, &block); end
1219
+
1220
+ # source://rake//lib/rake/file_list.rb#77
1221
+ def group_by(*args, &block); end
1222
+
1223
+ # Return a new FileList with the results of running +gsub+ against each
1224
+ # element of the original list.
1225
+ #
1226
+ # Example:
1227
+ # FileList['lib/test/file', 'x/y'].gsub(/\//, "\\")
1228
+ # => ['lib\\test\\file', 'x\\y']
1229
+ #
1230
+ # source://rake//lib/rake/file_list.rb#253
1231
+ def gsub(pat, rep); end
1232
+
1233
+ # Same as +gsub+ except that the original file list is modified.
1234
+ #
1235
+ # source://rake//lib/rake/file_list.rb#264
1236
+ def gsub!(pat, rep); end
1237
+
1238
+ # source://rake//lib/rake/file_list.rb#391
1239
+ def import(array); end
1240
+
1241
+ # source://rake//lib/rake/file_list.rb#77
1242
+ def in_groups(*args, &block); end
1243
+
1244
+ # source://rake//lib/rake/file_list.rb#77
1245
+ def in_groups_of(*args, &block); end
1246
+
1247
+ # source://rake//lib/rake/file_list.rb#77
1248
+ def in_order_of(*args, &block); end
1249
+
1250
+ # Add file names defined by glob patterns to the file list. If an array
1251
+ # is given, add each element of the array.
1252
+ #
1253
+ # Example:
1254
+ # file_list.include("*.java", "*.cfg")
1255
+ # file_list.include %w( math.c lib.h *.o )
1256
+ #
1257
+ # source://rake//lib/rake/file_list.rb#116
1258
+ def include(*filenames); end
1259
+
1260
+ # source://rake//lib/rake/file_list.rb#77
1261
+ def include?(*args, &block); end
1262
+
1263
+ # source://rake//lib/rake/file_list.rb#77
1264
+ def including(*args, &block); end
1265
+
1266
+ # source://rake//lib/rake/file_list.rb#77
1267
+ def index(*args, &block); end
1268
+
1269
+ # source://rake//lib/rake/file_list.rb#77
1270
+ def index_by(*args, &block); end
1271
+
1272
+ # source://rake//lib/rake/file_list.rb#77
1273
+ def index_with(*args, &block); end
1274
+
1275
+ # source://rake//lib/rake/file_list.rb#77
1276
+ def inject(*args, &block); end
1277
+
1278
+ # source://rake//lib/rake/file_list.rb#77
1279
+ def inquiry(*args, &block); end
1280
+
1281
+ # source://rake//lib/rake/file_list.rb#77
1282
+ def insert(*args, &block); end
1283
+
1284
+ # source://rake//lib/rake/file_list.rb#77
1285
+ def inspect(*args, &block); end
1286
+
1287
+ # source://rake//lib/rake/file_list.rb#77
1288
+ def intersect?(*args, &block); end
1289
+
1290
+ # source://rake//lib/rake/file_list.rb#77
1291
+ def intersection(*args, &block); end
1292
+
1293
+ # Lie about our class.
1294
+ #
1295
+ # @return [Boolean]
1296
+ #
1297
+ # source://rake//lib/rake/file_list.rb#187
1298
+ def is_a?(klass); end
1299
+
1300
+ # source://rake//lib/rake/file_list.rb#77
1301
+ def join(*args, &block); end
1302
+
1303
+ # source://rake//lib/rake/file_list.rb#77
1304
+ def keep_if(*args, &block); end
1305
+
1306
+ # Lie about our class.
1307
+ #
1308
+ # @return [Boolean]
1309
+ #
1310
+ # source://rake//lib/rake/file_list.rb#187
1311
+ def kind_of?(klass); end
1312
+
1313
+ # source://rake//lib/rake/file_list.rb#77
1314
+ def last(*args, &block); end
1315
+
1316
+ # source://rake//lib/rake/file_list.rb#77
1317
+ def lazy(*args, &block); end
1318
+
1319
+ # source://rake//lib/rake/file_list.rb#77
1320
+ def length(*args, &block); end
1321
+
1322
+ # source://rake//lib/rake/file_list.rb#77
1323
+ def many?(*args, &block); end
1324
+
1325
+ # source://rake//lib/rake/file_list.rb#68
1326
+ def map(*args, &block); end
1327
+
1328
+ # source://rake//lib/rake/file_list.rb#77
1329
+ def map!(*args, &block); end
1330
+
1331
+ # source://rake//lib/rake/file_list.rb#77
1332
+ def max(*args, &block); end
1333
+
1334
+ # source://rake//lib/rake/file_list.rb#77
1335
+ def max_by(*args, &block); end
1336
+
1337
+ # source://rake//lib/rake/file_list.rb#77
1338
+ def maximum(*args, &block); end
1339
+
1340
+ # source://rake//lib/rake/file_list.rb#77
1341
+ def member?(*args, &block); end
1342
+
1343
+ # source://rake//lib/rake/file_list.rb#77
1344
+ def min(*args, &block); end
1345
+
1346
+ # source://rake//lib/rake/file_list.rb#77
1347
+ def min_by(*args, &block); end
1348
+
1349
+ # source://rake//lib/rake/file_list.rb#77
1350
+ def minimum(*args, &block); end
1351
+
1352
+ # source://rake//lib/rake/file_list.rb#77
1353
+ def minmax(*args, &block); end
1354
+
1355
+ # source://rake//lib/rake/file_list.rb#77
1356
+ def minmax_by(*args, &block); end
1357
+
1358
+ # source://rake//lib/rake/file_list.rb#77
1359
+ def none?(*args, &block); end
1360
+
1361
+ # source://rake//lib/rake/file_list.rb#77
1362
+ def one?(*args, &block); end
1363
+
1364
+ # source://rake//lib/rake/file_list.rb#77
1365
+ def pack(*args, &block); end
1366
+
1367
+ # FileList version of partition. Needed because the nested arrays should
1368
+ # be FileLists in this version.
1369
+ #
1370
+ # source://rake//lib/rake/file_list.rb#334
1371
+ def partition(&block); end
1372
+
1373
+ # Apply the pathmap spec to each of the included file names, returning a
1374
+ # new file list with the modified paths. (See String#pathmap for
1375
+ # details.)
1376
+ #
1377
+ # source://rake//lib/rake/file_list.rb#272
1378
+ def pathmap(spec = T.unsafe(nil), &block); end
1379
+
1380
+ # source://rake//lib/rake/file_list.rb#77
1381
+ def permutation(*args, &block); end
1382
+
1383
+ # source://rake//lib/rake/file_list.rb#77
1384
+ def pick(*args, &block); end
1385
+
1386
+ # source://rake//lib/rake/file_list.rb#77
1387
+ def place(*args, &block); end
1388
+
1389
+ # source://rake//lib/rake/file_list.rb#77
1390
+ def pluck(*args, &block); end
1391
+
1392
+ # source://rake//lib/rake/file_list.rb#77
1393
+ def pop(*args, &block); end
1394
+
1395
+ # source://rake//lib/rake/file_list.rb#77
1396
+ def prepend(*args, &block); end
1397
+
1398
+ # source://rake//lib/rake/file_list.rb#77
1399
+ def product(*args, &block); end
1400
+
1401
+ # source://rake//lib/rake/file_list.rb#77
1402
+ def push(*args, &block); end
1403
+
1404
+ # source://rake//lib/rake/file_list.rb#77
1405
+ def rassoc(*args, &block); end
1406
+
1407
+ # source://rake//lib/rake/file_list.rb#77
1408
+ def reduce(*args, &block); end
1409
+
1410
+ # source://rake//lib/rake/file_list.rb#68
1411
+ def reject(*args, &block); end
1412
+
1413
+ # source://rake//lib/rake/file_list.rb#77
1414
+ def reject!(*args, &block); end
1415
+
1416
+ # source://rake//lib/rake/file_list.rb#77
1417
+ def repeated_combination(*args, &block); end
1418
+
1419
+ # source://rake//lib/rake/file_list.rb#77
1420
+ def repeated_permutation(*args, &block); end
1421
+
1422
+ # source://rake//lib/rake/file_list.rb#77
1423
+ def replace(*args, &block); end
1424
+
1425
+ # Resolve all the pending adds now.
1426
+ #
1427
+ # source://rake//lib/rake/file_list.rb#210
1428
+ def resolve; end
1429
+
1430
+ # source://rake//lib/rake/file_list.rb#77
1431
+ def reverse(*args, &block); end
1432
+
1433
+ # source://rake//lib/rake/file_list.rb#77
1434
+ def reverse!(*args, &block); end
1435
+
1436
+ # source://rake//lib/rake/file_list.rb#77
1437
+ def reverse_each(*args, &block); end
1438
+
1439
+ # source://rake//lib/rake/file_list.rb#77
1440
+ def rindex(*args, &block); end
1441
+
1442
+ # source://rake//lib/rake/file_list.rb#77
1443
+ def rotate(*args, &block); end
1444
+
1445
+ # source://rake//lib/rake/file_list.rb#77
1446
+ def rotate!(*args, &block); end
1447
+
1448
+ # source://rake//lib/rake/file_list.rb#77
1449
+ def sample(*args, &block); end
1450
+
1451
+ # source://rake//lib/rake/file_list.rb#77
1452
+ def second(*args, &block); end
1453
+
1454
+ # source://rake//lib/rake/file_list.rb#77
1455
+ def second_to_last(*args, &block); end
1456
+
1457
+ # source://rake//lib/rake/file_list.rb#68
1458
+ def select(*args, &block); end
1459
+
1460
+ # source://rake//lib/rake/file_list.rb#77
1461
+ def select!(*args, &block); end
1462
+
1463
+ # source://rake//lib/rake/file_list.rb#77
1464
+ def shelljoin(*args, &block); end
1465
+
1466
+ # source://rake//lib/rake/file_list.rb#77
1467
+ def shift(*args, &block); end
1468
+
1469
+ # source://rake//lib/rake/file_list.rb#77
1470
+ def shuffle(*args, &block); end
1471
+
1472
+ # source://rake//lib/rake/file_list.rb#77
1473
+ def shuffle!(*args, &block); end
1474
+
1475
+ # source://rake//lib/rake/file_list.rb#77
1476
+ def size(*args, &block); end
1477
+
1478
+ # source://rake//lib/rake/file_list.rb#77
1479
+ def slice(*args, &block); end
1480
+
1481
+ # source://rake//lib/rake/file_list.rb#77
1482
+ def slice!(*args, &block); end
1483
+
1484
+ # source://rake//lib/rake/file_list.rb#77
1485
+ def slice_after(*args, &block); end
1486
+
1487
+ # source://rake//lib/rake/file_list.rb#77
1488
+ def slice_before(*args, &block); end
1489
+
1490
+ # source://rake//lib/rake/file_list.rb#77
1491
+ def slice_when(*args, &block); end
1492
+
1493
+ # source://rake//lib/rake/file_list.rb#77
1494
+ def sole(*args, &block); end
1495
+
1496
+ # source://rake//lib/rake/file_list.rb#68
1497
+ def sort(*args, &block); end
1498
+
1499
+ # source://rake//lib/rake/file_list.rb#77
1500
+ def sort!(*args, &block); end
1501
+
1502
+ # source://rake//lib/rake/file_list.rb#68
1503
+ def sort_by(*args, &block); end
1504
+
1505
+ # source://rake//lib/rake/file_list.rb#77
1506
+ def sort_by!(*args, &block); end
1507
+
1508
+ # source://rake//lib/rake/file_list.rb#77
1509
+ def split(*args, &block); end
1510
+
1511
+ # Return a new FileList with the results of running +sub+ against each
1512
+ # element of the original list.
1513
+ #
1514
+ # Example:
1515
+ # FileList['a.c', 'b.c'].sub(/\.c$/, '.o') => ['a.o', 'b.o']
1516
+ #
1517
+ # source://rake//lib/rake/file_list.rb#242
1518
+ def sub(pat, rep); end
1519
+
1520
+ # Same as +sub+ except that the original file list is modified.
1521
+ #
1522
+ # source://rake//lib/rake/file_list.rb#258
1523
+ def sub!(pat, rep); end
1524
+
1525
+ # source://rake//lib/rake/file_list.rb#77
1526
+ def sum(*args, &block); end
1527
+
1528
+ # source://rake//lib/rake/file_list.rb#77
1529
+ def take(*args, &block); end
1530
+
1531
+ # source://rake//lib/rake/file_list.rb#77
1532
+ def take_while(*args, &block); end
1533
+
1534
+ # source://rake//lib/rake/file_list.rb#77
1535
+ def tally(*args, &block); end
1536
+
1537
+ # source://rake//lib/rake/file_list.rb#77
1538
+ def third(*args, &block); end
1539
+
1540
+ # source://rake//lib/rake/file_list.rb#77
1541
+ def third_to_last(*args, &block); end
1542
+
1543
+ # source://rake//lib/rake/file_list.rb#77
1544
+ def to(*args, &block); end
1545
+
1546
+ # Return the internal array object.
1547
+ #
1548
+ # source://rake//lib/rake/file_list.rb#176
1549
+ def to_a; end
1550
+
1551
+ # Return the internal array object.
1552
+ #
1553
+ # source://rake//lib/rake/file_list.rb#182
1554
+ def to_ary; end
1555
+
1556
+ # source://rake//lib/rake/file_list.rb#77
1557
+ def to_default_s(*args, &block); end
1558
+
1559
+ # source://rake//lib/rake/file_list.rb#77
1560
+ def to_formatted_s(*args, &block); end
1561
+
1562
+ # source://rake//lib/rake/file_list.rb#77
1563
+ def to_fs(*args, &block); end
1564
+
1565
+ # source://rake//lib/rake/file_list.rb#77
1566
+ def to_h(*args, &block); end
1567
+
1568
+ # Convert a FileList to a string by joining all elements with a space.
1569
+ #
1570
+ # source://rake//lib/rake/file_list.rb#344
1571
+ def to_s; end
1572
+
1573
+ # source://rake//lib/rake/file_list.rb#77
1574
+ def to_sentence(*args, &block); end
1575
+
1576
+ # source://rake//lib/rake/file_list.rb#77
1577
+ def to_set(*args, &block); end
1578
+
1579
+ # source://rake//lib/rake/file_list.rb#77
1580
+ def to_xml(*args, &block); end
1581
+
1582
+ # source://rake//lib/rake/file_list.rb#77
1583
+ def transpose(*args, &block); end
1584
+
1585
+ # source://rake//lib/rake/file_list.rb#77
1586
+ def union(*args, &block); end
1587
+
1588
+ # source://rake//lib/rake/file_list.rb#68
1589
+ def uniq(*args, &block); end
1590
+
1591
+ # source://rake//lib/rake/file_list.rb#77
1592
+ def uniq!(*args, &block); end
1593
+
1594
+ # source://rake//lib/rake/file_list.rb#77
1595
+ def unshift(*args, &block); end
1596
+
1597
+ # source://rake//lib/rake/file_list.rb#68
1598
+ def values_at(*args, &block); end
1599
+
1600
+ # source://rake//lib/rake/file_list.rb#77
1601
+ def without(*args, &block); end
1602
+
1603
+ # source://rake//lib/rake/file_list.rb#77
1604
+ def zip(*args, &block); end
1605
+
1606
+ # source://rake//lib/rake/file_list.rb#68
1607
+ def |(*args, &block); end
1608
+
1609
+ private
1610
+
1611
+ # Add matching glob patterns.
1612
+ #
1613
+ # source://rake//lib/rake/file_list.rb#350
1614
+ def add_matching(pattern); end
1615
+
1616
+ # source://rake//lib/rake/file_list.rb#220
1617
+ def resolve_add(fn); end
1618
+
1619
+ # source://rake//lib/rake/file_list.rb#230
1620
+ def resolve_exclude; end
1621
+
1622
+ class << self
1623
+ # Create a new file list including the files listed. Similar to:
1624
+ #
1625
+ # FileList.new(*args)
1626
+ #
1627
+ # source://rake//lib/rake/file_list.rb#400
1628
+ def [](*args); end
1629
+
1630
+ # Get a sorted list of files matching the pattern. This method
1631
+ # should be preferred to Dir[pattern] and Dir.glob(pattern) because
1632
+ # the files returned are guaranteed to be sorted.
1633
+ #
1634
+ # source://rake//lib/rake/file_list.rb#407
1635
+ def glob(pattern, *args); end
1636
+ end
1637
+ end
1638
+
1639
+ # List of array methods (that are not in +Object+) that need to be
1640
+ # delegated.
1641
+ #
1642
+ # source://rake//lib/rake/file_list.rb#44
1643
+ Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
1644
+
1645
+ # source://rake//lib/rake/file_list.rb#381
1646
+ Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array)
1647
+
1648
+ # source://rake//lib/rake/file_list.rb#387
1649
+ Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array)
1650
+
1651
+ # source://rake//lib/rake/file_list.rb#61
1652
+ Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array)
1653
+
1654
+ # source://rake//lib/rake/file_list.rb#86
1655
+ Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp)
1656
+
1657
+ # List of additional methods that must be delegated.
1658
+ #
1659
+ # source://rake//lib/rake/file_list.rb#47
1660
+ Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array)
1661
+
1662
+ # List of methods that should not be delegated here (we define special
1663
+ # versions of them explicitly below).
1664
+ #
1665
+ # source://rake//lib/rake/file_list.rb#51
1666
+ Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array)
1667
+
1668
+ # List of delegated methods that return new array values which need
1669
+ # wrapping.
1670
+ #
1671
+ # source://rake//lib/rake/file_list.rb#55
1672
+ Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array)
1673
+
1674
+ # A FileTask is a task that includes time based dependencies. If any of a
1675
+ # FileTask's prerequisites have a timestamp that is later than the file
1676
+ # represented by this task, then the file must be rebuilt (using the
1677
+ # supplied actions).
1678
+ #
1679
+ # source://rake//lib/rake/file_task.rb#12
1680
+ class Rake::FileTask < ::Rake::Task
1681
+ # Is this file task needed? Yes if it doesn't exist, or if its time stamp
1682
+ # is out of date.
1683
+ #
1684
+ # @return [Boolean]
1685
+ #
1686
+ # source://rake//lib/rake/file_task.rb#16
1687
+ def needed?; end
1688
+
1689
+ # Time stamp for file task.
1690
+ #
1691
+ # source://rake//lib/rake/file_task.rb#25
1692
+ def timestamp; end
1693
+
1694
+ private
1695
+
1696
+ # Are there any prerequisites with a later time than the given time stamp?
1697
+ #
1698
+ # @return [Boolean]
1699
+ #
1700
+ # source://rake//lib/rake/file_task.rb#36
1701
+ def out_of_date?(stamp); end
1702
+
1703
+ class << self
1704
+ # Apply the scope to the task name according to the rules for this kind
1705
+ # of task. File based tasks ignore the scope when creating the name.
1706
+ #
1707
+ # source://rake//lib/rake/file_task.rb#53
1708
+ def scope_name(scope, task_name); end
1709
+ end
1710
+ end
1711
+
1712
+ # FileUtilsExt provides a custom version of the FileUtils methods
1713
+ # that respond to the <tt>verbose</tt> and <tt>nowrite</tt>
1714
+ # commands.
1715
+ #
1716
+ # source://rake//lib/rake/file_utils_ext.rb#10
1717
+ module Rake::FileUtilsExt
1718
+ include ::FileUtils::StreamUtils_
1719
+ include ::FileUtils
1720
+ extend ::FileUtils::StreamUtils_
1721
+ extend ::FileUtils
1722
+ extend ::Rake::FileUtilsExt
1723
+
1724
+ # source://rake//lib/rake/file_utils_ext.rb#34
1725
+ def cd(*args, **options, &block); end
1726
+
1727
+ # source://rake//lib/rake/file_utils_ext.rb#34
1728
+ def chdir(*args, **options, &block); end
1729
+
1730
+ # source://rake//lib/rake/file_utils_ext.rb#34
1731
+ def chmod(*args, **options, &block); end
1732
+
1733
+ # source://rake//lib/rake/file_utils_ext.rb#34
1734
+ def chmod_R(*args, **options, &block); end
1735
+
1736
+ # source://rake//lib/rake/file_utils_ext.rb#34
1737
+ def chown(*args, **options, &block); end
1738
+
1739
+ # source://rake//lib/rake/file_utils_ext.rb#34
1740
+ def chown_R(*args, **options, &block); end
1741
+
1742
+ # source://rake//lib/rake/file_utils_ext.rb#34
1743
+ def copy(*args, **options, &block); end
1744
+
1745
+ # source://rake//lib/rake/file_utils_ext.rb#34
1746
+ def cp(*args, **options, &block); end
1747
+
1748
+ # source://rake//lib/rake/file_utils_ext.rb#34
1749
+ def cp_lr(*args, **options, &block); end
1750
+
1751
+ # source://rake//lib/rake/file_utils_ext.rb#34
1752
+ def cp_r(*args, **options, &block); end
1753
+
1754
+ # source://rake//lib/rake/file_utils_ext.rb#34
1755
+ def install(*args, **options, &block); end
1756
+
1757
+ # source://rake//lib/rake/file_utils_ext.rb#34
1758
+ def link(*args, **options, &block); end
1759
+
1760
+ # source://rake//lib/rake/file_utils_ext.rb#34
1761
+ def ln(*args, **options, &block); end
1762
+
1763
+ # source://rake//lib/rake/file_utils_ext.rb#34
1764
+ def ln_s(*args, **options, &block); end
1765
+
1766
+ # source://rake//lib/rake/file_utils_ext.rb#34
1767
+ def ln_sf(*args, **options, &block); end
1768
+
1769
+ # source://rake//lib/rake/file_utils_ext.rb#34
1770
+ def ln_sr(*args, **options, &block); end
1771
+
1772
+ # source://rake//lib/rake/file_utils_ext.rb#34
1773
+ def makedirs(*args, **options, &block); end
1774
+
1775
+ # source://rake//lib/rake/file_utils_ext.rb#34
1776
+ def mkdir(*args, **options, &block); end
1777
+
1778
+ # source://rake//lib/rake/file_utils_ext.rb#34
1779
+ def mkdir_p(*args, **options, &block); end
1780
+
1781
+ # source://rake//lib/rake/file_utils_ext.rb#34
1782
+ def mkpath(*args, **options, &block); end
1783
+
1784
+ # source://rake//lib/rake/file_utils_ext.rb#34
1785
+ def move(*args, **options, &block); end
1786
+
1787
+ # source://rake//lib/rake/file_utils_ext.rb#34
1788
+ def mv(*args, **options, &block); end
1789
+
1790
+ # Get/set the nowrite flag controlling output from the FileUtils
1791
+ # utilities. If verbose is true, then the utility method is
1792
+ # echoed to standard output.
1793
+ #
1794
+ # Examples:
1795
+ # nowrite # return the current value of the
1796
+ # # nowrite flag
1797
+ # nowrite(v) # set the nowrite flag to _v_.
1798
+ # nowrite(v) { code } # Execute code with the nowrite flag set
1799
+ # # temporarily to _v_. Return to the
1800
+ # # original value when code is done.
1801
+ #
1802
+ # source://rake//lib/rake/file_utils_ext.rb#77
1803
+ def nowrite(value = T.unsafe(nil)); end
1804
+
1805
+ # Check that the options do not contain options not listed in
1806
+ # +optdecl+. An ArgumentError exception is thrown if non-declared
1807
+ # options are found.
1808
+ #
1809
+ # @raise [ArgumentError]
1810
+ #
1811
+ # source://rake//lib/rake/file_utils_ext.rb#123
1812
+ def rake_check_options(options, *optdecl); end
1813
+
1814
+ # Send the message to the default rake output (which is $stderr).
1815
+ #
1816
+ # source://rake//lib/rake/file_utils_ext.rb#116
1817
+ def rake_output_message(message); end
1818
+
1819
+ # source://rake//lib/rake/file_utils_ext.rb#34
1820
+ def remove(*args, **options, &block); end
1821
+
1822
+ # source://rake//lib/rake/file_utils_ext.rb#34
1823
+ def rm(*args, **options, &block); end
1824
+
1825
+ # source://rake//lib/rake/file_utils_ext.rb#34
1826
+ def rm_f(*args, **options, &block); end
1827
+
1828
+ # source://rake//lib/rake/file_utils_ext.rb#34
1829
+ def rm_r(*args, **options, &block); end
1830
+
1831
+ # source://rake//lib/rake/file_utils_ext.rb#34
1832
+ def rm_rf(*args, **options, &block); end
1833
+
1834
+ # source://rake//lib/rake/file_utils_ext.rb#34
1835
+ def rmdir(*args, **options, &block); end
1836
+
1837
+ # source://rake//lib/rake/file_utils_ext.rb#34
1838
+ def rmtree(*args, **options, &block); end
1839
+
1840
+ # source://rake//lib/rake/file_utils_ext.rb#34
1841
+ def safe_unlink(*args, **options, &block); end
1842
+
1843
+ # source://rake//lib/rake/file_utils_ext.rb#34
1844
+ def symlink(*args, **options, &block); end
1845
+
1846
+ # source://rake//lib/rake/file_utils_ext.rb#34
1847
+ def touch(*args, **options, &block); end
1848
+
1849
+ # Get/set the verbose flag controlling output from the FileUtils
1850
+ # utilities. If verbose is true, then the utility method is
1851
+ # echoed to standard output.
1852
+ #
1853
+ # Examples:
1854
+ # verbose # return the current value of the
1855
+ # # verbose flag
1856
+ # verbose(v) # set the verbose flag to _v_.
1857
+ # verbose(v) { code } # Execute code with the verbose flag set
1858
+ # # temporarily to _v_. Return to the
1859
+ # # original value when code is done.
1860
+ #
1861
+ # source://rake//lib/rake/file_utils_ext.rb#53
1862
+ def verbose(value = T.unsafe(nil)); end
1863
+
1864
+ # Use this function to prevent potentially destructive ruby code
1865
+ # from running when the :nowrite flag is set.
1866
+ #
1867
+ # Example:
1868
+ #
1869
+ # when_writing("Building Project") do
1870
+ # project.build
1871
+ # end
1872
+ #
1873
+ # The following code will build the project under normal
1874
+ # conditions. If the nowrite(true) flag is set, then the example
1875
+ # will print:
1876
+ #
1877
+ # DRYRUN: Building Project
1878
+ #
1879
+ # instead of actually building the project.
1880
+ #
1881
+ # source://rake//lib/rake/file_utils_ext.rb#107
1882
+ def when_writing(msg = T.unsafe(nil)); end
1883
+
1884
+ class << self
1885
+ # Returns the value of attribute nowrite_flag.
1886
+ #
1887
+ # source://rake//lib/rake/file_utils_ext.rb#14
1888
+ def nowrite_flag; end
1889
+
1890
+ # Sets the attribute nowrite_flag
1891
+ #
1892
+ # @param value the value to set the attribute nowrite_flag to.
1893
+ #
1894
+ # source://rake//lib/rake/file_utils_ext.rb#14
1895
+ def nowrite_flag=(_arg0); end
1896
+
1897
+ # Returns the value of attribute verbose_flag.
1898
+ #
1899
+ # source://rake//lib/rake/file_utils_ext.rb#14
1900
+ def verbose_flag; end
1901
+
1902
+ # Sets the attribute verbose_flag
1903
+ #
1904
+ # @param value the value to set the attribute verbose_flag to.
1905
+ #
1906
+ # source://rake//lib/rake/file_utils_ext.rb#14
1907
+ def verbose_flag=(_arg0); end
1908
+ end
1909
+ end
1910
+
1911
+ # source://rake//lib/rake/file_utils_ext.rb#17
1912
+ Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object)
1913
+
1914
+ # InvocationChain tracks the chain of task invocations to detect
1915
+ # circular dependencies.
1916
+ #
1917
+ # source://rake//lib/rake/invocation_chain.rb#6
1918
+ class Rake::InvocationChain < ::Rake::LinkedList
1919
+ # Append an invocation to the chain of invocations. It is an error
1920
+ # if the invocation already listed.
1921
+ #
1922
+ # source://rake//lib/rake/invocation_chain.rb#15
1923
+ def append(invocation); end
1924
+
1925
+ # Is the invocation already in the chain?
1926
+ #
1927
+ # @return [Boolean]
1928
+ #
1929
+ # source://rake//lib/rake/invocation_chain.rb#9
1930
+ def member?(invocation); end
1931
+
1932
+ # Convert to string, ie: TOP => invocation => invocation
1933
+ #
1934
+ # source://rake//lib/rake/invocation_chain.rb#23
1935
+ def to_s; end
1936
+
1937
+ private
1938
+
1939
+ # source://rake//lib/rake/invocation_chain.rb#34
1940
+ def prefix; end
1941
+
1942
+ class << self
1943
+ # Class level append.
1944
+ #
1945
+ # source://rake//lib/rake/invocation_chain.rb#28
1946
+ def append(invocation, chain); end
1947
+ end
1948
+ end
1949
+
1950
+ # source://rake//lib/rake/invocation_chain.rb#55
1951
+ Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain)
1952
+
1953
+ # Null object for an empty chain.
1954
+ #
1955
+ # source://rake//lib/rake/invocation_chain.rb#39
1956
+ class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList
1957
+ # source://rake//lib/rake/invocation_chain.rb#46
1958
+ def append(invocation); end
1959
+
1960
+ # @return [Boolean]
1961
+ #
1962
+ # source://rake//lib/rake/invocation_chain.rb#42
1963
+ def member?(obj); end
1964
+
1965
+ # source://rake//lib/rake/invocation_chain.rb#50
1966
+ def to_s; end
1967
+ end
1968
+
1969
+ # source://rake//lib/rake/invocation_exception_mixin.rb#3
1970
+ module Rake::InvocationExceptionMixin
1971
+ # Return the invocation chain (list of Rake tasks) that were in
1972
+ # effect when this exception was detected by rake. May be null if
1973
+ # no tasks were active.
1974
+ #
1975
+ # source://rake//lib/rake/invocation_exception_mixin.rb#7
1976
+ def chain; end
1977
+
1978
+ # Set the invocation chain in effect when this exception was
1979
+ # detected.
1980
+ #
1981
+ # source://rake//lib/rake/invocation_exception_mixin.rb#13
1982
+ def chain=(value); end
1983
+ end
1984
+
1985
+ # source://rake//lib/rake/late_time.rb#17
1986
+ Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime)
1987
+
1988
+ # LateTime is a fake timestamp that occurs _after_ any other time value.
1989
+ #
1990
+ # source://rake//lib/rake/late_time.rb#4
1991
+ class Rake::LateTime
1992
+ include ::Comparable
1993
+ include ::Singleton
1994
+ extend ::Singleton::SingletonClassMethods
1995
+
1996
+ # source://rake//lib/rake/late_time.rb#8
1997
+ def <=>(other); end
1998
+
1999
+ # source://rake//lib/rake/late_time.rb#12
2000
+ def to_s; end
2001
+
2002
+ class << self
2003
+ private
2004
+
2005
+ def allocate; end
2006
+ def new(*_arg0); end
2007
+ end
2008
+ end
2009
+
2010
+ # Polylithic linked list structure used to implement several data
2011
+ # structures in Rake.
2012
+ #
2013
+ # source://rake//lib/rake/linked_list.rb#6
2014
+ class Rake::LinkedList
2015
+ include ::Enumerable
2016
+
2017
+ # @return [LinkedList] a new instance of LinkedList
2018
+ #
2019
+ # source://rake//lib/rake/linked_list.rb#84
2020
+ def initialize(head, tail = T.unsafe(nil)); end
2021
+
2022
+ # Lists are structurally equivalent.
2023
+ #
2024
+ # source://rake//lib/rake/linked_list.rb#25
2025
+ def ==(other); end
2026
+
2027
+ # Polymorphically add a new element to the head of a list. The
2028
+ # type of head node will be the same list type as the tail.
2029
+ #
2030
+ # source://rake//lib/rake/linked_list.rb#12
2031
+ def conj(item); end
2032
+
2033
+ # For each item in the list.
2034
+ #
2035
+ # source://rake//lib/rake/linked_list.rb#48
2036
+ def each; end
2037
+
2038
+ # Is the list empty?
2039
+ # .make guards against a list being empty making any instantiated LinkedList
2040
+ # object not empty by default
2041
+ # You should consider overriding this method if you implement your own .make method
2042
+ #
2043
+ # @return [Boolean]
2044
+ #
2045
+ # source://rake//lib/rake/linked_list.rb#20
2046
+ def empty?; end
2047
+
2048
+ # Returns the value of attribute head.
2049
+ #
2050
+ # source://rake//lib/rake/linked_list.rb#8
2051
+ def head; end
2052
+
2053
+ # Same as +to_s+, but with inspected items.
2054
+ #
2055
+ # source://rake//lib/rake/linked_list.rb#42
2056
+ def inspect; end
2057
+
2058
+ # Returns the value of attribute tail.
2059
+ #
2060
+ # source://rake//lib/rake/linked_list.rb#8
2061
+ def tail; end
2062
+
2063
+ # Convert to string: LL(item, item...)
2064
+ #
2065
+ # source://rake//lib/rake/linked_list.rb#36
2066
+ def to_s; end
2067
+
2068
+ class << self
2069
+ # Cons a new head onto the tail list.
2070
+ #
2071
+ # source://rake//lib/rake/linked_list.rb#73
2072
+ def cons(head, tail); end
2073
+
2074
+ # The standard empty list class for the given LinkedList class.
2075
+ #
2076
+ # source://rake//lib/rake/linked_list.rb#78
2077
+ def empty; end
2078
+
2079
+ # Make a list out of the given arguments. This method is
2080
+ # polymorphic
2081
+ #
2082
+ # source://rake//lib/rake/linked_list.rb#59
2083
+ def make(*args); end
2084
+ end
2085
+ end
2086
+
2087
+ # source://rake//lib/rake/linked_list.rb#110
2088
+ Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList)
2089
+
2090
+ # Represent an empty list, using the Null Object Pattern.
2091
+ #
2092
+ # When inheriting from the LinkedList class, you should implement
2093
+ # a type specific Empty class as well. Make sure you set the class
2094
+ # instance variable @parent to the associated list class (this
2095
+ # allows conj, cons and make to work polymorphically).
2096
+ #
2097
+ # source://rake//lib/rake/linked_list.rb#95
2098
+ class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList
2099
+ # @return [EmptyLinkedList] a new instance of EmptyLinkedList
2100
+ #
2101
+ # source://rake//lib/rake/linked_list.rb#98
2102
+ def initialize; end
2103
+
2104
+ # @return [Boolean]
2105
+ #
2106
+ # source://rake//lib/rake/linked_list.rb#101
2107
+ def empty?; end
2108
+
2109
+ class << self
2110
+ # source://rake//lib/rake/linked_list.rb#105
2111
+ def cons(head, tail); end
2112
+ end
2113
+ end
2114
+
2115
+ # Same as a regular task, but the immediate prerequisites are done in
2116
+ # parallel using Ruby threads.
2117
+ #
2118
+ # source://rake//lib/rake/multi_task.rb#7
2119
+ class Rake::MultiTask < ::Rake::Task
2120
+ private
2121
+
2122
+ # source://rake//lib/rake/multi_task.rb#10
2123
+ def invoke_prerequisites(task_args, invocation_chain); end
2124
+ end
2125
+
2126
+ # The NameSpace class will lookup task names in the scope defined by a
2127
+ # +namespace+ command.
2128
+ #
2129
+ # source://rake//lib/rake/name_space.rb#6
2130
+ class Rake::NameSpace
2131
+ # Create a namespace lookup object using the given task manager
2132
+ # and the list of scopes.
2133
+ #
2134
+ # @return [NameSpace] a new instance of NameSpace
2135
+ #
2136
+ # source://rake//lib/rake/name_space.rb#12
2137
+ def initialize(task_manager, scope_list); end
2138
+
2139
+ # Lookup a task named +name+ in the namespace.
2140
+ #
2141
+ # source://rake//lib/rake/name_space.rb#20
2142
+ def [](name); end
2143
+
2144
+ # The scope of the namespace (a LinkedList)
2145
+ #
2146
+ # source://rake//lib/rake/name_space.rb#27
2147
+ def scope; end
2148
+
2149
+ # Return the list of tasks defined in this and nested namespaces.
2150
+ #
2151
+ # source://rake//lib/rake/name_space.rb#34
2152
+ def tasks; end
2153
+ end
2154
+
2155
+ # Include PrivateReader to use +private_reader+.
2156
+ #
2157
+ # source://rake//lib/rake/private_reader.rb#5
2158
+ module Rake::PrivateReader
2159
+ mixes_in_class_methods ::Rake::PrivateReader::ClassMethods
2160
+
2161
+ class << self
2162
+ # source://rake//lib/rake/private_reader.rb#7
2163
+ def included(base); end
2164
+ end
2165
+ end
2166
+
2167
+ # source://rake//lib/rake/private_reader.rb#11
2168
+ module Rake::PrivateReader::ClassMethods
2169
+ # Declare a list of private accessors
2170
+ #
2171
+ # source://rake//lib/rake/private_reader.rb#14
2172
+ def private_reader(*names); end
2173
+ end
2174
+
2175
+ # A Promise object represents a promise to do work (a chore) in the
2176
+ # future. The promise is created with a block and a list of
2177
+ # arguments for the block. Calling value will return the value of
2178
+ # the promised chore.
2179
+ #
2180
+ # Used by ThreadPool.
2181
+ #
2182
+ # source://rake//lib/rake/promise.rb#11
2183
+ class Rake::Promise
2184
+ # Create a promise to do the chore specified by the block.
2185
+ #
2186
+ # @return [Promise] a new instance of Promise
2187
+ #
2188
+ # source://rake//lib/rake/promise.rb#17
2189
+ def initialize(args, &block); end
2190
+
2191
+ # source://rake//lib/rake/promise.rb#14
2192
+ def recorder; end
2193
+
2194
+ # source://rake//lib/rake/promise.rb#14
2195
+ def recorder=(_arg0); end
2196
+
2197
+ # Return the value of this promise.
2198
+ #
2199
+ # If the promised chore is not yet complete, then do the work
2200
+ # synchronously. We will wait.
2201
+ #
2202
+ # source://rake//lib/rake/promise.rb#29
2203
+ def value; end
2204
+
2205
+ # If no one else is working this promise, go ahead and do the chore.
2206
+ #
2207
+ # source://rake//lib/rake/promise.rb#42
2208
+ def work; end
2209
+
2210
+ private
2211
+
2212
+ # Perform the chore promised
2213
+ #
2214
+ # source://rake//lib/rake/promise.rb#57
2215
+ def chore; end
2216
+
2217
+ # Are we done with the promise
2218
+ #
2219
+ # @return [Boolean]
2220
+ #
2221
+ # source://rake//lib/rake/promise.rb#83
2222
+ def complete?; end
2223
+
2224
+ # free up these items for the GC
2225
+ #
2226
+ # source://rake//lib/rake/promise.rb#88
2227
+ def discard; end
2228
+
2229
+ # Did the promise throw an error
2230
+ #
2231
+ # @return [Boolean]
2232
+ #
2233
+ # source://rake//lib/rake/promise.rb#78
2234
+ def error?; end
2235
+
2236
+ # Do we have a result for the promise
2237
+ #
2238
+ # @return [Boolean]
2239
+ #
2240
+ # source://rake//lib/rake/promise.rb#73
2241
+ def result?; end
2242
+
2243
+ # Record execution statistics if there is a recorder
2244
+ #
2245
+ # source://rake//lib/rake/promise.rb#94
2246
+ def stat(*args); end
2247
+ end
2248
+
2249
+ # source://rake//lib/rake/promise.rb#12
2250
+ Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object)
2251
+
2252
+ # Exit status class for times the system just gives us a nil.
2253
+ #
2254
+ # source://rake//lib/rake/pseudo_status.rb#6
2255
+ class Rake::PseudoStatus
2256
+ # @return [PseudoStatus] a new instance of PseudoStatus
2257
+ #
2258
+ # source://rake//lib/rake/pseudo_status.rb#9
2259
+ def initialize(code = T.unsafe(nil)); end
2260
+
2261
+ # source://rake//lib/rake/pseudo_status.rb#17
2262
+ def >>(n); end
2263
+
2264
+ # @return [Boolean]
2265
+ #
2266
+ # source://rake//lib/rake/pseudo_status.rb#25
2267
+ def exited?; end
2268
+
2269
+ # source://rake//lib/rake/pseudo_status.rb#7
2270
+ def exitstatus; end
2271
+
2272
+ # @return [Boolean]
2273
+ #
2274
+ # source://rake//lib/rake/pseudo_status.rb#21
2275
+ def stopped?; end
2276
+
2277
+ # source://rake//lib/rake/pseudo_status.rb#13
2278
+ def to_i; end
2279
+ end
2280
+
2281
+ # Error indicating a recursion overflow error in task selection.
2282
+ #
2283
+ # source://rake//lib/rake/rule_recursion_overflow_error.rb#5
2284
+ class Rake::RuleRecursionOverflowError < ::StandardError
2285
+ # @return [RuleRecursionOverflowError] a new instance of RuleRecursionOverflowError
2286
+ #
2287
+ # source://rake//lib/rake/rule_recursion_overflow_error.rb#6
2288
+ def initialize(*args); end
2289
+
2290
+ # source://rake//lib/rake/rule_recursion_overflow_error.rb#11
2291
+ def add_target(target); end
2292
+
2293
+ # source://rake//lib/rake/rule_recursion_overflow_error.rb#15
2294
+ def message; end
2295
+ end
2296
+
2297
+ # source://rake//lib/rake/scope.rb#3
2298
+ class Rake::Scope < ::Rake::LinkedList
2299
+ # Path for the scope.
2300
+ #
2301
+ # source://rake//lib/rake/scope.rb#6
2302
+ def path; end
2303
+
2304
+ # Path for the scope + the named path.
2305
+ #
2306
+ # source://rake//lib/rake/scope.rb#11
2307
+ def path_with_task_name(task_name); end
2308
+
2309
+ # Trim +n+ innermost scope levels from the scope. In no case will
2310
+ # this trim beyond the toplevel scope.
2311
+ #
2312
+ # source://rake//lib/rake/scope.rb#17
2313
+ def trim(n); end
2314
+ end
2315
+
2316
+ # Singleton null object for an empty scope.
2317
+ #
2318
+ # source://rake//lib/rake/scope.rb#41
2319
+ Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope)
2320
+
2321
+ # Scope lists always end with an EmptyScope object. See Null
2322
+ # Object Pattern)
2323
+ #
2324
+ # source://rake//lib/rake/scope.rb#28
2325
+ class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList
2326
+ # source://rake//lib/rake/scope.rb#31
2327
+ def path; end
2328
+
2329
+ # source://rake//lib/rake/scope.rb#35
2330
+ def path_with_task_name(task_name); end
2331
+ end
2332
+
2333
+ # A Task is the basic unit of work in a Rakefile. Tasks have associated
2334
+ # actions (possibly more than one) and a list of prerequisites. When
2335
+ # invoked, a task will first ensure that all of its prerequisites have an
2336
+ # opportunity to run and then it will execute its own actions.
2337
+ #
2338
+ # Tasks are not usually created directly using the new method, but rather
2339
+ # use the +file+ and +task+ convenience methods.
2340
+ #
2341
+ # source://rake//lib/rake/task.rb#15
2342
+ class Rake::Task
2343
+ # Create a task named +task_name+ with no actions or prerequisites. Use
2344
+ # +enhance+ to add actions and prerequisites.
2345
+ #
2346
+ # @return [Task] a new instance of Task
2347
+ #
2348
+ # source://rake//lib/rake/task.rb#99
2349
+ def initialize(task_name, app); end
2350
+
2351
+ # List of actions attached to a task.
2352
+ #
2353
+ # source://rake//lib/rake/task.rb#24
2354
+ def actions; end
2355
+
2356
+ # Add a description to the task. The description can consist of an option
2357
+ # argument list (enclosed brackets) and an optional comment.
2358
+ #
2359
+ # source://rake//lib/rake/task.rb#298
2360
+ def add_description(description); end
2361
+
2362
+ # List of all unique prerequisite tasks including prerequisite tasks'
2363
+ # prerequisites.
2364
+ # Includes self when cyclic dependencies are found.
2365
+ #
2366
+ # source://rake//lib/rake/task.rb#77
2367
+ def all_prerequisite_tasks; end
2368
+
2369
+ # Has this task already been invoked? Already invoked tasks
2370
+ # will be skipped unless you reenable them.
2371
+ #
2372
+ # source://rake//lib/rake/task.rb#39
2373
+ def already_invoked; end
2374
+
2375
+ # Application owning this task.
2376
+ #
2377
+ # source://rake//lib/rake/task.rb#27
2378
+ def application; end
2379
+
2380
+ # Application owning this task.
2381
+ #
2382
+ # source://rake//lib/rake/task.rb#27
2383
+ def application=(_arg0); end
2384
+
2385
+ # Argument description (nil if none).
2386
+ #
2387
+ # source://rake//lib/rake/task.rb#136
2388
+ def arg_description; end
2389
+
2390
+ # Name of arguments for this task.
2391
+ #
2392
+ # source://rake//lib/rake/task.rb#141
2393
+ def arg_names; end
2394
+
2395
+ # Clear the existing prerequisites, actions, comments, and arguments of a rake task.
2396
+ #
2397
+ # source://rake//lib/rake/task.rb#153
2398
+ def clear; end
2399
+
2400
+ # Clear the existing actions on a rake task.
2401
+ #
2402
+ # source://rake//lib/rake/task.rb#168
2403
+ def clear_actions; end
2404
+
2405
+ # Clear the existing arguments on a rake task.
2406
+ #
2407
+ # source://rake//lib/rake/task.rb#180
2408
+ def clear_args; end
2409
+
2410
+ # Clear the existing comments on a rake task.
2411
+ #
2412
+ # source://rake//lib/rake/task.rb#174
2413
+ def clear_comments; end
2414
+
2415
+ # Clear the existing prerequisites of a rake task.
2416
+ #
2417
+ # source://rake//lib/rake/task.rb#162
2418
+ def clear_prerequisites; end
2419
+
2420
+ # First line (or sentence) of all comments. Multiple comments are
2421
+ # separated by a "/".
2422
+ #
2423
+ # source://rake//lib/rake/task.rb#322
2424
+ def comment; end
2425
+
2426
+ # source://rake//lib/rake/task.rb#304
2427
+ def comment=(comment); end
2428
+
2429
+ # Enhance a task with prerequisites or actions. Returns self.
2430
+ #
2431
+ # source://rake//lib/rake/task.rb#115
2432
+ def enhance(deps = T.unsafe(nil), &block); end
2433
+
2434
+ # Execute the actions associated with this task.
2435
+ #
2436
+ # source://rake//lib/rake/task.rb#270
2437
+ def execute(args = T.unsafe(nil)); end
2438
+
2439
+ # Full collection of comments. Multiple comments are separated by
2440
+ # newlines.
2441
+ #
2442
+ # source://rake//lib/rake/task.rb#316
2443
+ def full_comment; end
2444
+
2445
+ # source://rake//lib/rake/task.rb#46
2446
+ def inspect; end
2447
+
2448
+ # Return a string describing the internal state of a task. Useful for
2449
+ # debugging.
2450
+ #
2451
+ # source://rake//lib/rake/task.rb#354
2452
+ def investigation; end
2453
+
2454
+ # Invoke the task if it is needed. Prerequisites are invoked first.
2455
+ #
2456
+ # source://rake//lib/rake/task.rb#186
2457
+ def invoke(*args); end
2458
+
2459
+ # Invoke all the prerequisites of a task.
2460
+ #
2461
+ # source://rake//lib/rake/task.rb#237
2462
+ def invoke_prerequisites(task_args, invocation_chain); end
2463
+
2464
+ # Invoke all the prerequisites of a task in parallel.
2465
+ #
2466
+ # source://rake//lib/rake/task.rb#249
2467
+ def invoke_prerequisites_concurrently(task_args, invocation_chain); end
2468
+
2469
+ # File/Line locations of each of the task definitions for this
2470
+ # task (only valid if the task was defined with the detect
2471
+ # location option set).
2472
+ #
2473
+ # source://rake//lib/rake/task.rb#35
2474
+ def locations; end
2475
+
2476
+ # Name of the task, including any namespace qualifiers.
2477
+ #
2478
+ # source://rake//lib/rake/task.rb#122
2479
+ def name; end
2480
+
2481
+ # Name of task with argument list description.
2482
+ #
2483
+ # source://rake//lib/rake/task.rb#127
2484
+ def name_with_args; end
2485
+
2486
+ # Is this task needed?
2487
+ #
2488
+ # @return [Boolean]
2489
+ #
2490
+ # source://rake//lib/rake/task.rb#286
2491
+ def needed?; end
2492
+
2493
+ # List of order only prerequisites for a task.
2494
+ #
2495
+ # source://rake//lib/rake/task.rb#21
2496
+ def order_only_prerequisites; end
2497
+
2498
+ # List of prerequisites for a task.
2499
+ #
2500
+ # source://rake//lib/rake/task.rb#17
2501
+ def prereqs; end
2502
+
2503
+ # List of prerequisite tasks
2504
+ #
2505
+ # source://rake//lib/rake/task.rb#61
2506
+ def prerequisite_tasks; end
2507
+
2508
+ # List of prerequisites for a task.
2509
+ #
2510
+ # source://rake//lib/rake/task.rb#17
2511
+ def prerequisites; end
2512
+
2513
+ # Reenable the task, allowing its tasks to be executed if the task
2514
+ # is invoked again.
2515
+ #
2516
+ # source://rake//lib/rake/task.rb#147
2517
+ def reenable; end
2518
+
2519
+ # Array of nested namespaces names used for task lookup by this task.
2520
+ #
2521
+ # source://rake//lib/rake/task.rb#30
2522
+ def scope; end
2523
+
2524
+ # Set the names of the arguments for this task. +args+ should be
2525
+ # an array of symbols, one for each argument name.
2526
+ #
2527
+ # source://rake//lib/rake/task.rb#348
2528
+ def set_arg_names(args); end
2529
+
2530
+ # First source from a rule (nil if no sources)
2531
+ #
2532
+ # source://rake//lib/rake/task.rb#93
2533
+ def source; end
2534
+
2535
+ # source://rake//lib/rake/task.rb#52
2536
+ def sources; end
2537
+
2538
+ # List of sources for task.
2539
+ #
2540
+ # source://rake//lib/rake/task.rb#51
2541
+ def sources=(_arg0); end
2542
+
2543
+ # Timestamp for this task. Basic tasks return the current time for their
2544
+ # time stamp. Other tasks can be more sophisticated.
2545
+ #
2546
+ # source://rake//lib/rake/task.rb#292
2547
+ def timestamp; end
2548
+
2549
+ # Return task name
2550
+ #
2551
+ # source://rake//lib/rake/task.rb#42
2552
+ def to_s; end
2553
+
2554
+ # Add order only dependencies.
2555
+ #
2556
+ # source://rake//lib/rake/task.rb#379
2557
+ def |(deps); end
2558
+
2559
+ protected
2560
+
2561
+ # source://rake//lib/rake/task.rb#83
2562
+ def collect_prerequisites(seen); end
2563
+
2564
+ # Same as invoke, but explicitly pass a call chain to detect
2565
+ # circular dependencies.
2566
+ #
2567
+ # If multiple tasks depend on this
2568
+ # one in parallel, they will all fail if the first execution of
2569
+ # this task fails.
2570
+ #
2571
+ # source://rake//lib/rake/task.rb#197
2572
+ def invoke_with_call_chain(task_args, invocation_chain); end
2573
+
2574
+ private
2575
+
2576
+ # source://rake//lib/rake/task.rb#229
2577
+ def add_chain_to(exception, new_chain); end
2578
+
2579
+ # source://rake//lib/rake/task.rb#308
2580
+ def add_comment(comment); end
2581
+
2582
+ # Get the first sentence in a string. The sentence is terminated
2583
+ # by the first period, exclamation mark, or the end of the line.
2584
+ # Decimal points do not count as periods.
2585
+ #
2586
+ # source://rake//lib/rake/task.rb#341
2587
+ def first_sentence(string); end
2588
+
2589
+ # Format the trace flags for display.
2590
+ #
2591
+ # source://rake//lib/rake/task.rb#261
2592
+ def format_trace_flags; end
2593
+
2594
+ # source://rake//lib/rake/task.rb#65
2595
+ def lookup_prerequisite(prerequisite_name); end
2596
+
2597
+ # Transform the list of comments as specified by the block and
2598
+ # join with the separator.
2599
+ #
2600
+ # source://rake//lib/rake/task.rb#328
2601
+ def transform_comments(separator, &block); end
2602
+
2603
+ class << self
2604
+ # Return a task with the given name. If the task is not currently
2605
+ # known, try to synthesize one from the defined rules. If no rules are
2606
+ # found, but an existing file matches the task name, assume it is a file
2607
+ # task with no dependencies or actions.
2608
+ #
2609
+ # source://rake//lib/rake/task.rb#404
2610
+ def [](task_name); end
2611
+
2612
+ # Clear the task list. This cause rake to immediately forget all the
2613
+ # tasks that have been assigned. (Normally used in the unit tests.)
2614
+ #
2615
+ # source://rake//lib/rake/task.rb#391
2616
+ def clear; end
2617
+
2618
+ # Define a rule for synthesizing tasks.
2619
+ #
2620
+ # source://rake//lib/rake/task.rb#421
2621
+ def create_rule(*args, &block); end
2622
+
2623
+ # Define a task given +args+ and an option block. If a rule with the
2624
+ # given name already exists, the prerequisites and actions are added to
2625
+ # the existing task. Returns the defined task.
2626
+ #
2627
+ # source://rake//lib/rake/task.rb#416
2628
+ def define_task(*args, &block); end
2629
+
2630
+ # Format dependencies parameter to pass to task.
2631
+ #
2632
+ # source://rake//lib/rake/task.rb#373
2633
+ def format_deps(deps); end
2634
+
2635
+ # Apply the scope to the task name according to the rules for
2636
+ # this kind of task. Generic tasks will accept the scope as
2637
+ # part of the name.
2638
+ #
2639
+ # source://rake//lib/rake/task.rb#428
2640
+ def scope_name(scope, task_name); end
2641
+
2642
+ # TRUE if the task name is already defined.
2643
+ #
2644
+ # @return [Boolean]
2645
+ #
2646
+ # source://rake//lib/rake/task.rb#409
2647
+ def task_defined?(task_name); end
2648
+
2649
+ # List of all defined tasks.
2650
+ #
2651
+ # source://rake//lib/rake/task.rb#396
2652
+ def tasks; end
2653
+ end
2654
+ end
2655
+
2656
+ # Error indicating an ill-formed task declaration.
2657
+ #
2658
+ # source://rake//lib/rake/task_argument_error.rb#5
2659
+ class Rake::TaskArgumentError < ::ArgumentError; end
2660
+
2661
+ # TaskArguments manage the arguments passed to a task.
2662
+ #
2663
+ # source://rake//lib/rake/task_arguments.rb#7
2664
+ class Rake::TaskArguments
2665
+ include ::Enumerable
2666
+
2667
+ # Create a TaskArgument object with a list of argument +names+ and a set
2668
+ # of associated +values+. +parent+ is the parent argument object.
2669
+ #
2670
+ # @return [TaskArguments] a new instance of TaskArguments
2671
+ #
2672
+ # source://rake//lib/rake/task_arguments.rb#15
2673
+ def initialize(names, values, parent = T.unsafe(nil)); end
2674
+
2675
+ # Find an argument value by name or index.
2676
+ #
2677
+ # source://rake//lib/rake/task_arguments.rb#44
2678
+ def [](index); end
2679
+
2680
+ # Enumerates the arguments and their values
2681
+ #
2682
+ # source://rake//lib/rake/task_arguments.rb#56
2683
+ def each(&block); end
2684
+
2685
+ # Retrieve the list of values not associated with named arguments
2686
+ #
2687
+ # source://rake//lib/rake/task_arguments.rb#32
2688
+ def extras; end
2689
+
2690
+ # source://rake//lib/rake/task_arguments.rb#93
2691
+ def fetch(*args, &block); end
2692
+
2693
+ # Returns true if +key+ is one of the arguments
2694
+ #
2695
+ # @return [Boolean]
2696
+ #
2697
+ # source://rake//lib/rake/task_arguments.rb#88
2698
+ def has_key?(key); end
2699
+
2700
+ # source://rake//lib/rake/task_arguments.rb#79
2701
+ def inspect; end
2702
+
2703
+ # Returns true if +key+ is one of the arguments
2704
+ #
2705
+ # @return [Boolean]
2706
+ #
2707
+ # source://rake//lib/rake/task_arguments.rb#88
2708
+ def key?(key); end
2709
+
2710
+ # Returns the value of the given argument via method_missing
2711
+ #
2712
+ # source://rake//lib/rake/task_arguments.rb#66
2713
+ def method_missing(sym, *args); end
2714
+
2715
+ # Argument names
2716
+ #
2717
+ # source://rake//lib/rake/task_arguments.rb#11
2718
+ def names; end
2719
+
2720
+ # Create a new argument scope using the prerequisite argument
2721
+ # names.
2722
+ #
2723
+ # source://rake//lib/rake/task_arguments.rb#38
2724
+ def new_scope(names); end
2725
+
2726
+ # Retrieve the complete array of sequential values
2727
+ #
2728
+ # source://rake//lib/rake/task_arguments.rb#27
2729
+ def to_a; end
2730
+
2731
+ # Returns a Hash of arguments and their values
2732
+ #
2733
+ # source://rake//lib/rake/task_arguments.rb#71
2734
+ def to_hash; end
2735
+
2736
+ # source://rake//lib/rake/task_arguments.rb#75
2737
+ def to_s; end
2738
+
2739
+ # Extracts the argument values at +keys+
2740
+ #
2741
+ # source://rake//lib/rake/task_arguments.rb#61
2742
+ def values_at(*keys); end
2743
+
2744
+ # Specify a hash of default values for task arguments. Use the
2745
+ # defaults only if there is no specific value for the given
2746
+ # argument.
2747
+ #
2748
+ # source://rake//lib/rake/task_arguments.rb#51
2749
+ def with_defaults(defaults); end
2750
+
2751
+ protected
2752
+
2753
+ # source://rake//lib/rake/task_arguments.rb#99
2754
+ def lookup(name); end
2755
+ end
2756
+
2757
+ # Base class for Task Libraries.
2758
+ #
2759
+ # source://rake//lib/rake/tasklib.rb#7
2760
+ class Rake::TaskLib
2761
+ include ::Rake::Cloneable
2762
+ include ::FileUtils::StreamUtils_
2763
+ include ::FileUtils
2764
+ include ::Rake::FileUtilsExt
2765
+ include ::Rake::DSL
2766
+ end
2767
+
2768
+ # The TaskManager module is a mixin for managing tasks.
2769
+ #
2770
+ # source://rake//lib/rake/task_manager.rb#5
2771
+ module Rake::TaskManager
2772
+ # source://rake//lib/rake/task_manager.rb#9
2773
+ def initialize; end
2774
+
2775
+ # Find a matching task for +task_name+.
2776
+ #
2777
+ # source://rake//lib/rake/task_manager.rb#54
2778
+ def [](task_name, scopes = T.unsafe(nil)); end
2779
+
2780
+ # Clear all tasks in this application.
2781
+ #
2782
+ # source://rake//lib/rake/task_manager.rb#182
2783
+ def clear; end
2784
+
2785
+ # source://rake//lib/rake/task_manager.rb#17
2786
+ def create_rule(*args, &block); end
2787
+
2788
+ # Return the list of scope names currently active in the task
2789
+ # manager.
2790
+ #
2791
+ # source://rake//lib/rake/task_manager.rb#222
2792
+ def current_scope; end
2793
+
2794
+ # source://rake//lib/rake/task_manager.rb#23
2795
+ def define_task(task_class, *args, &block); end
2796
+
2797
+ # If a rule can be found that matches the task name, enhance the
2798
+ # task with the prerequisites and actions from the rule. Set the
2799
+ # source attribute of the task appropriately for the rule. Return
2800
+ # the enhanced task or nil of no rule was found.
2801
+ #
2802
+ # source://rake//lib/rake/task_manager.rb#151
2803
+ def enhance_with_matching_rule(task_name, level = T.unsafe(nil)); end
2804
+
2805
+ # source://rake//lib/rake/task_manager.rb#68
2806
+ def generate_did_you_mean_suggestions(task_name); end
2807
+
2808
+ # source://rake//lib/rake/task_manager.rb#62
2809
+ def generate_message_for_undefined_task(task_name); end
2810
+
2811
+ # Evaluate the block in a nested namespace named +name+. Create
2812
+ # an anonymous namespace if +name+ is nil.
2813
+ #
2814
+ # source://rake//lib/rake/task_manager.rb#228
2815
+ def in_namespace(name); end
2816
+
2817
+ # Lookup a task. Return an existing task if found, otherwise
2818
+ # create a task of the current type.
2819
+ #
2820
+ # source://rake//lib/rake/task_manager.rb#49
2821
+ def intern(task_class, task_name); end
2822
+
2823
+ # Track the last comment made in the Rakefile.
2824
+ #
2825
+ # source://rake//lib/rake/task_manager.rb#7
2826
+ def last_description; end
2827
+
2828
+ # Track the last comment made in the Rakefile.
2829
+ #
2830
+ # source://rake//lib/rake/task_manager.rb#7
2831
+ def last_description=(_arg0); end
2832
+
2833
+ # Lookup a task, using scope and the scope hints in the task name.
2834
+ # This method performs straight lookups without trying to
2835
+ # synthesize file tasks or rules. Special scope names (e.g. '^')
2836
+ # are recognized. If no scope argument is supplied, use the
2837
+ # current scope. Return nil if the task cannot be found.
2838
+ #
2839
+ # source://rake//lib/rake/task_manager.rb#192
2840
+ def lookup(task_name, initial_scope = T.unsafe(nil)); end
2841
+
2842
+ # Resolve the arguments for a task/rule. Returns a tuple of
2843
+ # [task_name, arg_name_list, prerequisites, order_only_prerequisites].
2844
+ #
2845
+ # source://rake//lib/rake/task_manager.rb#88
2846
+ def resolve_args(args); end
2847
+
2848
+ # source://rake//lib/rake/task_manager.rb#81
2849
+ def synthesize_file_task(task_name); end
2850
+
2851
+ # List of all defined tasks in this application.
2852
+ #
2853
+ # source://rake//lib/rake/task_manager.rb#168
2854
+ def tasks; end
2855
+
2856
+ # List of all the tasks defined in the given scope (and its
2857
+ # sub-scopes).
2858
+ #
2859
+ # source://rake//lib/rake/task_manager.rb#174
2860
+ def tasks_in_scope(scope); end
2861
+
2862
+ private
2863
+
2864
+ # Add a location to the locations field of the given task.
2865
+ #
2866
+ # source://rake//lib/rake/task_manager.rb#241
2867
+ def add_location(task); end
2868
+
2869
+ # Attempt to create a rule given the list of prerequisites.
2870
+ #
2871
+ # source://rake//lib/rake/task_manager.rb#271
2872
+ def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
2873
+
2874
+ # Find the location that called into the dsl layer.
2875
+ #
2876
+ # source://rake//lib/rake/task_manager.rb#248
2877
+ def find_location; end
2878
+
2879
+ # Generate an anonymous namespace name.
2880
+ #
2881
+ # source://rake//lib/rake/task_manager.rb#259
2882
+ def generate_name; end
2883
+
2884
+ # Return the current description, clearing it in the process.
2885
+ #
2886
+ # source://rake//lib/rake/task_manager.rb#319
2887
+ def get_description(task); end
2888
+
2889
+ # Lookup the task name
2890
+ #
2891
+ # source://rake//lib/rake/task_manager.rb#208
2892
+ def lookup_in_scope(name, scope); end
2893
+
2894
+ # Make a list of sources from the list of file name extensions /
2895
+ # translation procs.
2896
+ #
2897
+ # source://rake//lib/rake/task_manager.rb#293
2898
+ def make_sources(task_name, task_pattern, extensions); end
2899
+
2900
+ # Resolve task arguments for a task or rule when there are
2901
+ # dependencies declared.
2902
+ #
2903
+ # The patterns recognized by this argument resolving function are:
2904
+ #
2905
+ # task :t, order_only: [:e]
2906
+ # task :t => [:d]
2907
+ # task :t => [:d], order_only: [:e]
2908
+ # task :t, [a] => [:d]
2909
+ # task :t, [a] => [:d], order_only: [:e]
2910
+ #
2911
+ # source://rake//lib/rake/task_manager.rb#127
2912
+ def resolve_args_with_dependencies(args, hash); end
2913
+
2914
+ # Resolve task arguments for a task or rule when there are no
2915
+ # dependencies declared.
2916
+ #
2917
+ # The patterns recognized by this argument resolving function are:
2918
+ #
2919
+ # task :t
2920
+ # task :t, [:a]
2921
+ #
2922
+ # source://rake//lib/rake/task_manager.rb#105
2923
+ def resolve_args_without_dependencies(args); end
2924
+
2925
+ # source://rake//lib/rake/task_manager.rb#265
2926
+ def trace_rule(level, message); end
2927
+
2928
+ class << self
2929
+ # source://rake//lib/rake/task_manager.rb#326
2930
+ def record_task_metadata; end
2931
+
2932
+ # source://rake//lib/rake/task_manager.rb#326
2933
+ def record_task_metadata=(_arg0); end
2934
+ end
2935
+ end
2936
+
2937
+ # source://rake//lib/rake/thread_history_display.rb#6
2938
+ class Rake::ThreadHistoryDisplay
2939
+ include ::Rake::PrivateReader
2940
+ extend ::Rake::PrivateReader::ClassMethods
2941
+
2942
+ # @return [ThreadHistoryDisplay] a new instance of ThreadHistoryDisplay
2943
+ #
2944
+ # source://rake//lib/rake/thread_history_display.rb#11
2945
+ def initialize(stats); end
2946
+
2947
+ # source://rake//lib/rake/thread_history_display.rb#17
2948
+ def show; end
2949
+
2950
+ private
2951
+
2952
+ # source://rake//lib/rake/private_reader.rb#15
2953
+ def items; end
2954
+
2955
+ # source://rake//lib/rake/thread_history_display.rb#35
2956
+ def rename(hash, key, renames); end
2957
+
2958
+ # source://rake//lib/rake/private_reader.rb#15
2959
+ def stats; end
2960
+
2961
+ # source://rake//lib/rake/private_reader.rb#15
2962
+ def threads; end
2963
+ end
2964
+
2965
+ # source://rake//lib/rake/thread_pool.rb#8
2966
+ class Rake::ThreadPool
2967
+ # Creates a ThreadPool object. The +thread_count+ parameter is the size
2968
+ # of the pool.
2969
+ #
2970
+ # @return [ThreadPool] a new instance of ThreadPool
2971
+ #
2972
+ # source://rake//lib/rake/thread_pool.rb#12
2973
+ def initialize(thread_count); end
2974
+
2975
+ # Creates a future executed by the +ThreadPool+.
2976
+ #
2977
+ # The args are passed to the block when executing (similarly to
2978
+ # Thread#new) The return value is an object representing
2979
+ # a future which has been created and added to the queue in the
2980
+ # pool. Sending #value to the object will sleep the
2981
+ # current thread until the future is finished and will return the
2982
+ # result (or raise an exception thrown from the future)
2983
+ #
2984
+ # source://rake//lib/rake/thread_pool.rb#33
2985
+ def future(*args, &block); end
2986
+
2987
+ # Enable the gathering of history events.
2988
+ #
2989
+ # source://rake//lib/rake/thread_pool.rb#68
2990
+ def gather_history; end
2991
+
2992
+ # Return a array of history events for the thread pool.
2993
+ #
2994
+ # History gathering must be enabled to be able to see the events
2995
+ # (see #gather_history). Best to call this when the job is
2996
+ # complete (i.e. after ThreadPool#join is called).
2997
+ #
2998
+ # source://rake//lib/rake/thread_pool.rb#77
2999
+ def history; end
3000
+
3001
+ # Waits until the queue of futures is empty and all threads have exited.
3002
+ #
3003
+ # source://rake//lib/rake/thread_pool.rb#44
3004
+ def join; end
3005
+
3006
+ # Return a hash of always collected statistics for the thread pool.
3007
+ #
3008
+ # source://rake//lib/rake/thread_pool.rb#84
3009
+ def statistics; end
3010
+
3011
+ private
3012
+
3013
+ # for testing only
3014
+ #
3015
+ # source://rake//lib/rake/thread_pool.rb#158
3016
+ def __queue__; end
3017
+
3018
+ # processes one item on the queue. Returns true if there was an
3019
+ # item to process, false if there was no item
3020
+ #
3021
+ # source://rake//lib/rake/thread_pool.rb#95
3022
+ def process_queue_item; end
3023
+
3024
+ # source://rake//lib/rake/thread_pool.rb#111
3025
+ def safe_thread_count; end
3026
+
3027
+ # source://rake//lib/rake/thread_pool.rb#117
3028
+ def start_thread; end
3029
+
3030
+ # source://rake//lib/rake/thread_pool.rb#145
3031
+ def stat(event, data = T.unsafe(nil)); end
3032
+ end
3033
+
3034
+ # source://rake//lib/rake/trace_output.rb#3
3035
+ module Rake::TraceOutput
3036
+ # Write trace output to output stream +out+.
3037
+ #
3038
+ # The write is done as a single IO call (to print) to lessen the
3039
+ # chance that the trace output is interrupted by other tasks also
3040
+ # producing output.
3041
+ #
3042
+ # source://rake//lib/rake/trace_output.rb#10
3043
+ def trace_on(out, *strings); end
3044
+ end
3045
+
3046
+ # source://rake//lib/rake/version.rb#3
3047
+ Rake::VERSION = T.let(T.unsafe(nil), String)
3048
+
3049
+ # source://rake//lib/rake/version.rb#5
3050
+ module Rake::Version; end
3051
+
3052
+ # source://rake//lib/rake/version.rb#6
3053
+ Rake::Version::BUILD = T.let(T.unsafe(nil), String)
3054
+
3055
+ # source://rake//lib/rake/version.rb#6
3056
+ Rake::Version::MAJOR = T.let(T.unsafe(nil), String)
3057
+
3058
+ # source://rake//lib/rake/version.rb#6
3059
+ Rake::Version::MINOR = T.let(T.unsafe(nil), String)
3060
+
3061
+ # source://rake//lib/rake/version.rb#8
3062
+ Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array)
3063
+
3064
+ # source://rake//lib/rake/version.rb#6
3065
+ Rake::Version::OTHER = T.let(T.unsafe(nil), Array)
3066
+
3067
+ # Win 32 interface methods for Rake. Windows specific functionality
3068
+ # will be placed here to collect that knowledge in one spot.
3069
+ #
3070
+ # source://rake//lib/rake/win32.rb#7
3071
+ module Rake::Win32
3072
+ class << self
3073
+ # Normalize a win32 path so that the slashes are all forward slashes.
3074
+ #
3075
+ # source://rake//lib/rake/win32.rb#45
3076
+ def normalize(path); end
3077
+
3078
+ # The standard directory containing system wide rake files on
3079
+ # Win 32 systems. Try the following environment variables (in
3080
+ # order):
3081
+ #
3082
+ # * HOME
3083
+ # * HOMEDRIVE + HOMEPATH
3084
+ # * APPDATA
3085
+ # * USERPROFILE
3086
+ #
3087
+ # If the above are not defined, the return nil.
3088
+ #
3089
+ # @raise [Win32HomeError]
3090
+ #
3091
+ # source://rake//lib/rake/win32.rb#30
3092
+ def win32_system_dir; end
3093
+
3094
+ # True if running on a windows system.
3095
+ #
3096
+ # @return [Boolean]
3097
+ #
3098
+ # source://rake//lib/rake/win32.rb#16
3099
+ def windows?; end
3100
+ end
3101
+ end
3102
+
3103
+ # Error indicating a problem in locating the home directory on a
3104
+ # Win32 system.
3105
+ #
3106
+ # source://rake//lib/rake/win32.rb#11
3107
+ class Rake::Win32::Win32HomeError < ::RuntimeError; end
3108
+
3109
+ # source://rake//lib/rake.rb#71
3110
+ RakeFileUtils = Rake::FileUtilsExt
3111
+
3112
+ # source://rake//lib/rake/ext/string.rb#4
3113
+ class String
3114
+ include ::Comparable
3115
+
3116
+ # source://rake//lib/rake/ext/string.rb#14
3117
+ def ext(newext = T.unsafe(nil)); end
3118
+
3119
+ # source://rake//lib/rake/ext/string.rb#138
3120
+ def pathmap(spec = T.unsafe(nil), &block); end
3121
+
3122
+ protected
3123
+
3124
+ # source://rake//lib/rake/ext/string.rb#27
3125
+ def pathmap_explode; end
3126
+
3127
+ # source://rake//lib/rake/ext/string.rb#41
3128
+ def pathmap_partial(n); end
3129
+
3130
+ # source://rake//lib/rake/ext/string.rb#59
3131
+ def pathmap_replace(patterns, &block); end
3132
+ end