guard-srb 0.1.0

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