twirbet 0.1.0

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