mangrove 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop.yml +42 -0
  3. data/LICENSE +21 -0
  4. data/README.md +54 -0
  5. data/Rakefile +14 -0
  6. data/lib/mangrove/control_flow/control_signal.rb +16 -0
  7. data/lib/mangrove/control_flow/rewriter.rb +152 -0
  8. data/lib/mangrove/control_flow.rb +84 -0
  9. data/lib/mangrove/interfaces.rb +8 -0
  10. data/lib/mangrove/mangrove.rb +35 -0
  11. data/lib/mangrove/option/control_signal.rb +33 -0
  12. data/lib/mangrove/option.rb +134 -0
  13. data/lib/mangrove/result/control_signal.rb +33 -0
  14. data/lib/mangrove/result.rb +167 -0
  15. data/lib/mangrove/version.rb +6 -0
  16. data/lib/mangrove.rb +8 -0
  17. data/sig/mangrove.rbs +4 -0
  18. data/sorbet/config +4 -0
  19. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  20. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  21. data/sorbet/rbi/gems/base64@0.1.1.rbi +172 -0
  22. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
  23. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  24. data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
  25. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  26. data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
  27. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  28. data/sorbet/rbi/gems/ordinare@0.4.0.rbi +77 -0
  29. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  30. data/sorbet/rbi/gems/parser@3.2.2.3.rbi +7253 -0
  31. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  32. data/sorbet/rbi/gems/racc@1.7.1.rbi +161 -0
  33. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  34. data/sorbet/rbi/gems/rake@13.0.6.rbi +3024 -0
  35. data/sorbet/rbi/gems/rbi@0.0.17.rbi +2972 -0
  36. data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +3749 -0
  37. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
  38. data/sorbet/rbi/gems/rspec-core@3.12.2.rbi +10805 -0
  39. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +8100 -0
  40. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5310 -0
  41. data/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi +163 -0
  42. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
  43. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  44. data/sorbet/rbi/gems/ruboclean@0.4.0.rbi +189 -0
  45. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +6985 -0
  46. data/sorbet/rbi/gems/rubocop@1.56.0.rbi +56491 -0
  47. data/sorbet/rbi/gems/ruby-lsp@0.8.0.rbi +11 -0
  48. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  49. data/sorbet/rbi/gems/spoom@1.2.3.rbi +3203 -0
  50. data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +22855 -0
  51. data/sorbet/rbi/gems/tapioca@0.11.8.rbi +3349 -0
  52. data/sorbet/rbi/gems/thor@1.2.2.rbi +3965 -0
  53. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  54. data/sorbet/rbi/gems/unparser@0.6.8.rbi +4525 -0
  55. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  56. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  57. data/sorbet/rbi/shims/gems/rspec-core.rbi +12 -0
  58. data/sorbet/rbi/shims/gems/rspec-expectations.rbi +8 -0
  59. data/sorbet/rbi/shims/mangrove/option.rbi +15 -0
  60. data/sorbet/rbi/shims/mangrove/result.rbi +15 -0
  61. data/sorbet/tapioca/config.yml +13 -0
  62. data/sorbet/tapioca/require.rb +4 -0
  63. metadata +161 -0
@@ -0,0 +1,1317 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ruby-progressbar` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
6
+
7
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4
8
+ class ProgressBar
9
+ class << self
10
+ # source://ruby-progressbar//lib/ruby-progressbar.rb#9
11
+ def create(*args); end
12
+ end
13
+ end
14
+
15
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#17
16
+ class ProgressBar::Base
17
+ extend ::Forwardable
18
+
19
+ # @return [Base] a new instance of Base
20
+ #
21
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
22
+ def initialize(options = T.unsafe(nil)); end
23
+
24
+ # source://forwardable/1.3.3/forwardable.rb#231
25
+ def clear(*args, **_arg1, &block); end
26
+
27
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
28
+ def decrement; end
29
+
30
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#92
31
+ def finish; end
32
+
33
+ # @return [Boolean]
34
+ #
35
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129
36
+ def finished?; end
37
+
38
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
39
+ def format(other); end
40
+
41
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
42
+ def format=(other); end
43
+
44
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#141
45
+ def increment; end
46
+
47
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
48
+ def inspect; end
49
+
50
+ # source://forwardable/1.3.3/forwardable.rb#231
51
+ def log(*args, **_arg1, &block); end
52
+
53
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
54
+ def pause; end
55
+
56
+ # @return [Boolean]
57
+ #
58
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
59
+ def paused?; end
60
+
61
+ # source://forwardable/1.3.3/forwardable.rb#231
62
+ def progress(*args, **_arg1, &block); end
63
+
64
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
65
+ def progress=(new_progress); end
66
+
67
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
68
+ def progress_mark=(mark); end
69
+
70
+ # source://forwardable/1.3.3/forwardable.rb#231
71
+ def refresh(*args, **_arg1, &block); end
72
+
73
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
74
+ def remainder_mark=(mark); end
75
+
76
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#114
77
+ def reset; end
78
+
79
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#110
80
+ def resume; end
81
+
82
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#87
83
+ def start(options = T.unsafe(nil)); end
84
+
85
+ # @return [Boolean]
86
+ #
87
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#133
88
+ def started?; end
89
+
90
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#106
91
+ def stop; end
92
+
93
+ # @return [Boolean]
94
+ #
95
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
96
+ def stopped?; end
97
+
98
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#161
99
+ def title; end
100
+
101
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#165
102
+ def title=(title); end
103
+
104
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#176
105
+ def to_h; end
106
+
107
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
108
+ def to_s(new_format = T.unsafe(nil)); end
109
+
110
+ # source://forwardable/1.3.3/forwardable.rb#231
111
+ def total(*args, **_arg1, &block); end
112
+
113
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149
114
+ def total=(new_total); end
115
+
116
+ protected
117
+
118
+ # Returns the value of attribute autofinish.
119
+ #
120
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
121
+ def autofinish; end
122
+
123
+ # Sets the attribute autofinish
124
+ #
125
+ # @param value the value to set the attribute autofinish to.
126
+ #
127
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
128
+ def autofinish=(_arg0); end
129
+
130
+ # Returns the value of attribute autostart.
131
+ #
132
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
133
+ def autostart; end
134
+
135
+ # Sets the attribute autostart
136
+ #
137
+ # @param value the value to set the attribute autostart to.
138
+ #
139
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
140
+ def autostart=(_arg0); end
141
+
142
+ # Returns the value of attribute bar_component.
143
+ #
144
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
145
+ def bar_component; end
146
+
147
+ # Sets the attribute bar_component
148
+ #
149
+ # @param value the value to set the attribute bar_component to.
150
+ #
151
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
152
+ def bar_component=(_arg0); end
153
+
154
+ # Returns the value of attribute finished.
155
+ #
156
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
157
+ def finished; end
158
+
159
+ # Sets the attribute finished
160
+ #
161
+ # @param value the value to set the attribute finished to.
162
+ #
163
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
164
+ def finished=(_arg0); end
165
+
166
+ # Returns the value of attribute output.
167
+ #
168
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
169
+ def output; end
170
+
171
+ # Sets the attribute output
172
+ #
173
+ # @param value the value to set the attribute output to.
174
+ #
175
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
176
+ def output=(_arg0); end
177
+
178
+ # Returns the value of attribute percentage_component.
179
+ #
180
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
181
+ def percentage_component; end
182
+
183
+ # Sets the attribute percentage_component
184
+ #
185
+ # @param value the value to set the attribute percentage_component to.
186
+ #
187
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
188
+ def percentage_component=(_arg0); end
189
+
190
+ # Returns the value of attribute progressable.
191
+ #
192
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
193
+ def progressable; end
194
+
195
+ # Sets the attribute progressable
196
+ #
197
+ # @param value the value to set the attribute progressable to.
198
+ #
199
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
200
+ def progressable=(_arg0); end
201
+
202
+ # Returns the value of attribute projector.
203
+ #
204
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
205
+ def projector; end
206
+
207
+ # Sets the attribute projector
208
+ #
209
+ # @param value the value to set the attribute projector to.
210
+ #
211
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
212
+ def projector=(_arg0); end
213
+
214
+ # Returns the value of attribute rate_component.
215
+ #
216
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
217
+ def rate_component; end
218
+
219
+ # Sets the attribute rate_component
220
+ #
221
+ # @param value the value to set the attribute rate_component to.
222
+ #
223
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
224
+ def rate_component=(_arg0); end
225
+
226
+ # Returns the value of attribute time_component.
227
+ #
228
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
229
+ def time_component; end
230
+
231
+ # Sets the attribute time_component
232
+ #
233
+ # @param value the value to set the attribute time_component to.
234
+ #
235
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
236
+ def time_component=(_arg0); end
237
+
238
+ # Returns the value of attribute timer.
239
+ #
240
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
241
+ def timer; end
242
+
243
+ # Sets the attribute timer
244
+ #
245
+ # @param value the value to set the attribute timer to.
246
+ #
247
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
248
+ def timer=(_arg0); end
249
+
250
+ # Returns the value of attribute title_component.
251
+ #
252
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
253
+ def title_component; end
254
+
255
+ # Sets the attribute title_component
256
+ #
257
+ # @param value the value to set the attribute title_component to.
258
+ #
259
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
260
+ def title_component=(_arg0); end
261
+
262
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#226
263
+ def update_progress(*args); end
264
+ end
265
+
266
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#28
267
+ ProgressBar::Base::RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
268
+
269
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#21
270
+ ProgressBar::Base::SMOOTHING_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
271
+
272
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#2
273
+ module ProgressBar::Calculators; end
274
+
275
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#3
276
+ class ProgressBar::Calculators::Length
277
+ # @return [Length] a new instance of Length
278
+ #
279
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#8
280
+ def initialize(options = T.unsafe(nil)); end
281
+
282
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#25
283
+ def calculate_length; end
284
+
285
+ # Returns the value of attribute current_length.
286
+ #
287
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
288
+ def current_length; end
289
+
290
+ # Sets the attribute current_length
291
+ #
292
+ # @param value the value to set the attribute current_length to.
293
+ #
294
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
295
+ def current_length=(_arg0); end
296
+
297
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#14
298
+ def length; end
299
+
300
+ # @return [Boolean]
301
+ #
302
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#18
303
+ def length_changed?; end
304
+
305
+ # Returns the value of attribute length_override.
306
+ #
307
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#4
308
+ def length_override; end
309
+
310
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#33
311
+ def length_override=(other); end
312
+
313
+ # Returns the value of attribute output.
314
+ #
315
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
316
+ def output; end
317
+
318
+ # Sets the attribute output
319
+ #
320
+ # @param value the value to set the attribute output to.
321
+ #
322
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
323
+ def output=(_arg0); end
324
+
325
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#29
326
+ def reset_length; end
327
+
328
+ private
329
+
330
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#56
331
+ def dynamic_width; end
332
+
333
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#85
334
+ def dynamic_width_stty; end
335
+
336
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#89
337
+ def dynamic_width_tput; end
338
+
339
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#76
340
+ def dynamic_width_via_io_object; end
341
+
342
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#71
343
+ def dynamic_width_via_output_stream_object; end
344
+
345
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#81
346
+ def dynamic_width_via_system_calls; end
347
+
348
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#43
349
+ def terminal_width; end
350
+
351
+ # @return [Boolean]
352
+ #
353
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#93
354
+ def unix?; end
355
+ end
356
+
357
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#5
358
+ module ProgressBar::Components; end
359
+
360
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#6
361
+ class ProgressBar::Components::Bar
362
+ # @return [Bar] a new instance of Bar
363
+ #
364
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#17
365
+ def initialize(options = T.unsafe(nil)); end
366
+
367
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#35
368
+ def bar(length); end
369
+
370
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63
371
+ def bar_with_percentage(length); end
372
+
373
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#41
374
+ def complete_bar(length); end
375
+
376
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
377
+ def complete_bar_with_percentage(length); end
378
+
379
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#53
380
+ def incomplete_space(length); end
381
+
382
+ # Returns the value of attribute length.
383
+ #
384
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
385
+ def length; end
386
+
387
+ # Sets the attribute length
388
+ #
389
+ # @param value the value to set the attribute length to.
390
+ #
391
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
392
+ def length=(_arg0); end
393
+
394
+ # Returns the value of attribute progress.
395
+ #
396
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
397
+ def progress; end
398
+
399
+ # Sets the attribute progress
400
+ #
401
+ # @param value the value to set the attribute progress to.
402
+ #
403
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
404
+ def progress=(_arg0); end
405
+
406
+ # Returns the value of attribute progress_mark.
407
+ #
408
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
409
+ def progress_mark; end
410
+
411
+ # Sets the attribute progress_mark
412
+ #
413
+ # @param value the value to set the attribute progress_mark to.
414
+ #
415
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
416
+ def progress_mark=(_arg0); end
417
+
418
+ # Returns the value of attribute remainder_mark.
419
+ #
420
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
421
+ def remainder_mark; end
422
+
423
+ # Sets the attribute remainder_mark
424
+ #
425
+ # @param value the value to set the attribute remainder_mark to.
426
+ #
427
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
428
+ def remainder_mark=(_arg0); end
429
+
430
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#25
431
+ def to_s(options = T.unsafe(nil)); end
432
+
433
+ # Returns the value of attribute upa_steps.
434
+ #
435
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
436
+ def upa_steps; end
437
+
438
+ # Sets the attribute upa_steps
439
+ #
440
+ # @param value the value to set the attribute upa_steps to.
441
+ #
442
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
443
+ def upa_steps=(_arg0); end
444
+
445
+ private
446
+
447
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#91
448
+ def completed_length; end
449
+
450
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#81
451
+ def incomplete_string; end
452
+
453
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#71
454
+ def integrated_percentage_complete_string; end
455
+
456
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#77
457
+ def standard_complete_string; end
458
+
459
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#95
460
+ def unknown_progress_frame; end
461
+
462
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85
463
+ def unknown_string; end
464
+ end
465
+
466
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#7
467
+ ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
468
+
469
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#8
470
+ ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
471
+
472
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#9
473
+ ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
474
+
475
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#3
476
+ class ProgressBar::Components::Percentage
477
+ # @return [Percentage] a new instance of Percentage
478
+ #
479
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#6
480
+ def initialize(options = T.unsafe(nil)); end
481
+
482
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#14
483
+ def justified_percentage; end
484
+
485
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#22
486
+ def justified_percentage_with_precision; end
487
+
488
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#10
489
+ def percentage; end
490
+
491
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#18
492
+ def percentage_with_precision; end
493
+
494
+ # Returns the value of attribute progress.
495
+ #
496
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
497
+ def progress; end
498
+
499
+ # Sets the attribute progress
500
+ #
501
+ # @param value the value to set the attribute progress to.
502
+ #
503
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
504
+ def progress=(_arg0); end
505
+ end
506
+
507
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#3
508
+ class ProgressBar::Components::Rate
509
+ # @return [Rate] a new instance of Rate
510
+ #
511
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#8
512
+ def initialize(options = T.unsafe(nil)); end
513
+
514
+ # Returns the value of attribute progress.
515
+ #
516
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
517
+ def progress; end
518
+
519
+ # Sets the attribute progress
520
+ #
521
+ # @param value the value to set the attribute progress to.
522
+ #
523
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
524
+ def progress=(_arg0); end
525
+
526
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#14
527
+ def rate_of_change(format_string = T.unsafe(nil)); end
528
+
529
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
530
+ def rate_of_change_with_precision; end
531
+
532
+ # Returns the value of attribute rate_scale.
533
+ #
534
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
535
+ def rate_scale; end
536
+
537
+ # Sets the attribute rate_scale
538
+ #
539
+ # @param value the value to set the attribute rate_scale to.
540
+ #
541
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
542
+ def rate_scale=(_arg0); end
543
+
544
+ # Returns the value of attribute timer.
545
+ #
546
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
547
+ def timer; end
548
+
549
+ # Sets the attribute timer
550
+ #
551
+ # @param value the value to set the attribute timer to.
552
+ #
553
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
554
+ def timer=(_arg0); end
555
+
556
+ private
557
+
558
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30
559
+ def base_rate; end
560
+
561
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34
562
+ def elapsed_seconds; end
563
+
564
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#26
565
+ def scaled_rate; end
566
+ end
567
+
568
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#6
569
+ class ProgressBar::Components::Time
570
+ # @return [Time] a new instance of Time
571
+ #
572
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#21
573
+ def initialize(options = T.unsafe(nil)); end
574
+
575
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#31
576
+ def elapsed_with_label; end
577
+
578
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#47
579
+ def estimated_wall_clock; end
580
+
581
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#43
582
+ def estimated_with_friendly_oob; end
583
+
584
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#27
585
+ def estimated_with_label(out_of_bounds_time_format = T.unsafe(nil)); end
586
+
587
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#35
588
+ def estimated_with_no_oob; end
589
+
590
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#39
591
+ def estimated_with_unknown_oob; end
592
+
593
+ protected
594
+
595
+ # Returns the value of attribute progress.
596
+ #
597
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
598
+ def progress; end
599
+
600
+ # Sets the attribute progress
601
+ #
602
+ # @param value the value to set the attribute progress to.
603
+ #
604
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
605
+ def progress=(_arg0); end
606
+
607
+ # Returns the value of attribute projector.
608
+ #
609
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
610
+ def projector; end
611
+
612
+ # Sets the attribute projector
613
+ #
614
+ # @param value the value to set the attribute projector to.
615
+ #
616
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
617
+ def projector=(_arg0); end
618
+
619
+ # Returns the value of attribute timer.
620
+ #
621
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
622
+ def timer; end
623
+
624
+ # Sets the attribute timer
625
+ #
626
+ # @param value the value to set the attribute timer to.
627
+ #
628
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
629
+ def timer=(_arg0); end
630
+
631
+ private
632
+
633
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#80
634
+ def elapsed; end
635
+
636
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#66
637
+ def estimated(out_of_bounds_time_format); end
638
+
639
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#94
640
+ def estimated_seconds_remaining; end
641
+
642
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#88
643
+ def estimated_with_elapsed_fallback(out_of_bounds_time_format); end
644
+ end
645
+
646
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#14
647
+ ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
648
+
649
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#13
650
+ ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
651
+
652
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#12
653
+ ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
654
+
655
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#11
656
+ ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
657
+
658
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#9
659
+ ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
660
+
661
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#16
662
+ ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
663
+
664
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#8
665
+ ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
666
+
667
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#10
668
+ ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
669
+
670
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#7
671
+ ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
672
+
673
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15
674
+ ProgressBar::Components::Time::WALL_CLOCK_FORMAT = T.let(T.unsafe(nil), String)
675
+
676
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#3
677
+ class ProgressBar::Components::Title
678
+ # @return [Title] a new instance of Title
679
+ #
680
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#8
681
+ def initialize(options = T.unsafe(nil)); end
682
+
683
+ # Returns the value of attribute title.
684
+ #
685
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6
686
+ def title; end
687
+
688
+ # Sets the attribute title
689
+ #
690
+ # @param value the value to set the attribute title to.
691
+ #
692
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6
693
+ def title=(_arg0); end
694
+ end
695
+
696
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#4
697
+ ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
698
+
699
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#2
700
+ module ProgressBar::Format; end
701
+
702
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#3
703
+ class ProgressBar::Format::Formatter
704
+ class << self
705
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#4
706
+ def process(format_string, max_length, bar); end
707
+ end
708
+ end
709
+
710
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#3
711
+ class ProgressBar::Format::Molecule
712
+ # @return [Molecule] a new instance of Molecule
713
+ #
714
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#33
715
+ def initialize(letter); end
716
+
717
+ # @return [Boolean]
718
+ #
719
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#38
720
+ def bar_molecule?; end
721
+
722
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#46
723
+ def full_key; end
724
+
725
+ # Returns the value of attribute key.
726
+ #
727
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
728
+ def key; end
729
+
730
+ # Sets the attribute key
731
+ #
732
+ # @param value the value to set the attribute key to.
733
+ #
734
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
735
+ def key=(_arg0); end
736
+
737
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#50
738
+ def lookup_value(environment, length = T.unsafe(nil)); end
739
+
740
+ # Returns the value of attribute method_name.
741
+ #
742
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
743
+ def method_name; end
744
+
745
+ # Sets the attribute method_name
746
+ #
747
+ # @param value the value to set the attribute method_name to.
748
+ #
749
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
750
+ def method_name=(_arg0); end
751
+
752
+ # @return [Boolean]
753
+ #
754
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#42
755
+ def non_bar_molecule?; end
756
+ end
757
+
758
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#28
759
+ ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
760
+
761
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#4
762
+ ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
763
+
764
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5
765
+ class ProgressBar::Format::String < ::String
766
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#13
767
+ def bar_molecule_placeholder_length; end
768
+
769
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#21
770
+ def bar_molecules; end
771
+
772
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#9
773
+ def displayable_length; end
774
+
775
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#25
776
+ def molecules; end
777
+
778
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#17
779
+ def non_bar_molecules; end
780
+ end
781
+
782
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7
783
+ ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
784
+
785
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#6
786
+ ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
787
+
788
+ # source://ruby-progressbar//lib/ruby-progressbar/errors/invalid_progress_error.rb#2
789
+ class ProgressBar::InvalidProgressError < ::RuntimeError; end
790
+
791
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
792
+ class ProgressBar::Output
793
+ # @return [Output] a new instance of Output
794
+ #
795
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#10
796
+ def initialize(options = T.unsafe(nil)); end
797
+
798
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#37
799
+ def clear_string; end
800
+
801
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#41
802
+ def length; end
803
+
804
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#30
805
+ def log(string); end
806
+
807
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#50
808
+ def refresh(options = T.unsafe(nil)); end
809
+
810
+ # Returns the value of attribute stream.
811
+ #
812
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
813
+ def stream; end
814
+
815
+ # Sets the attribute stream
816
+ #
817
+ # @param value the value to set the attribute stream to.
818
+ #
819
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
820
+ def stream=(_arg0); end
821
+
822
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
823
+ def with_refresh; end
824
+
825
+ protected
826
+
827
+ # Returns the value of attribute bar.
828
+ #
829
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
830
+ def bar; end
831
+
832
+ # Sets the attribute bar
833
+ #
834
+ # @param value the value to set the attribute bar to.
835
+ #
836
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
837
+ def bar=(_arg0); end
838
+
839
+ # Returns the value of attribute length_calculator.
840
+ #
841
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
842
+ def length_calculator; end
843
+
844
+ # Sets the attribute length_calculator
845
+ #
846
+ # @param value the value to set the attribute length_calculator to.
847
+ #
848
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
849
+ def length_calculator=(_arg0); end
850
+
851
+ # Returns the value of attribute throttle.
852
+ #
853
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
854
+ def throttle; end
855
+
856
+ # Sets the attribute throttle
857
+ #
858
+ # @param value the value to set the attribute throttle to.
859
+ #
860
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
861
+ def throttle=(_arg0); end
862
+
863
+ private
864
+
865
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#66
866
+ def print_and_flush; end
867
+
868
+ class << self
869
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#20
870
+ def detect(options = T.unsafe(nil)); end
871
+ end
872
+ end
873
+
874
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#6
875
+ ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
876
+
877
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#4
878
+ module ProgressBar::Outputs; end
879
+
880
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#5
881
+ class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
882
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#18
883
+ def bar_update_string; end
884
+
885
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#8
886
+ def clear; end
887
+
888
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#28
889
+ def default_format; end
890
+
891
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#38
892
+ def eol; end
893
+
894
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#14
895
+ def last_update_length; end
896
+
897
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#36
898
+ def refresh_with_format_change(*_arg0); end
899
+
900
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#32
901
+ def resolve_format(*_arg0); end
902
+
903
+ protected
904
+
905
+ # Sets the attribute last_update_length
906
+ #
907
+ # @param value the value to set the attribute last_update_length to.
908
+ #
909
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#44
910
+ def last_update_length=(_arg0); end
911
+ end
912
+
913
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#6
914
+ ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
915
+
916
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#5
917
+ class ProgressBar::Outputs::Tty < ::ProgressBar::Output
918
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#15
919
+ def bar_update_string; end
920
+
921
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#10
922
+ def clear; end
923
+
924
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#19
925
+ def default_format; end
926
+
927
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27
928
+ def eol; end
929
+
930
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
931
+ def refresh_with_format_change; end
932
+
933
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#23
934
+ def resolve_format(other_format); end
935
+ end
936
+
937
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#6
938
+ ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
939
+
940
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#4
941
+ class ProgressBar::Progress
942
+ # @return [Progress] a new instance of Progress
943
+ #
944
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
945
+ def initialize(options = T.unsafe(nil)); end
946
+
947
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#104
948
+ def absolute; end
949
+
950
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#41
951
+ def decrement; end
952
+
953
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23
954
+ def finish; end
955
+
956
+ # @return [Boolean]
957
+ #
958
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#27
959
+ def finished?; end
960
+
961
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#31
962
+ def increment; end
963
+
964
+ # @return [Boolean]
965
+ #
966
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#85
967
+ def none?; end
968
+
969
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#73
970
+ def percentage_completed; end
971
+
972
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#97
973
+ def percentage_completed_with_precision; end
974
+
975
+ # Returns the value of attribute progress.
976
+ #
977
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
978
+ def progress; end
979
+
980
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#55
981
+ def progress=(new_progress); end
982
+
983
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#51
984
+ def reset; end
985
+
986
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#18
987
+ def start(options = T.unsafe(nil)); end
988
+
989
+ # Returns the value of attribute starting_position.
990
+ #
991
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
992
+ def starting_position; end
993
+
994
+ # Sets the attribute starting_position
995
+ #
996
+ # @param value the value to set the attribute starting_position to.
997
+ #
998
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
999
+ def starting_position=(_arg0); end
1000
+
1001
+ # Returns the value of attribute total.
1002
+ #
1003
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
1004
+ def total; end
1005
+
1006
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#64
1007
+ def total=(new_total); end
1008
+
1009
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#93
1010
+ def total_with_unknown_indicator; end
1011
+
1012
+ # @return [Boolean]
1013
+ #
1014
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#89
1015
+ def unknown?; end
1016
+ end
1017
+
1018
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#6
1019
+ ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
1020
+
1021
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#5
1022
+ ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
1023
+
1024
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#4
1025
+ class ProgressBar::Projector
1026
+ class << self
1027
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#10
1028
+ def from_type(name); end
1029
+ end
1030
+ end
1031
+
1032
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#5
1033
+ ProgressBar::Projector::DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage
1034
+
1035
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#6
1036
+ ProgressBar::Projector::NAME_TO_PROJECTOR_MAP = T.let(T.unsafe(nil), Hash)
1037
+
1038
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#2
1039
+ module ProgressBar::Projectors; end
1040
+
1041
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#3
1042
+ class ProgressBar::Projectors::SmoothedAverage
1043
+ # @return [SmoothedAverage] a new instance of SmoothedAverage
1044
+ #
1045
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#11
1046
+ def initialize(options = T.unsafe(nil)); end
1047
+
1048
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#24
1049
+ def decrement; end
1050
+
1051
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#28
1052
+ def increment; end
1053
+
1054
+ # @return [Boolean]
1055
+ #
1056
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#52
1057
+ def none?; end
1058
+
1059
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#32
1060
+ def progress; end
1061
+
1062
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#42
1063
+ def progress=(new_progress); end
1064
+
1065
+ # Returns the value of attribute projection.
1066
+ #
1067
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#9
1068
+ def projection; end
1069
+
1070
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#38
1071
+ def reset; end
1072
+
1073
+ # Returns the value of attribute samples.
1074
+ #
1075
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1076
+ def samples; end
1077
+
1078
+ # Sets the attribute samples
1079
+ #
1080
+ # @param value the value to set the attribute samples to.
1081
+ #
1082
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1083
+ def samples=(_arg0); end
1084
+
1085
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#19
1086
+ def start(options = T.unsafe(nil)); end
1087
+
1088
+ # Returns the value of attribute strength.
1089
+ #
1090
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1091
+ def strength; end
1092
+
1093
+ # Sets the attribute strength
1094
+ #
1095
+ # @param value the value to set the attribute strength to.
1096
+ #
1097
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1098
+ def strength=(_arg0); end
1099
+
1100
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#36
1101
+ def total=(_new_total); end
1102
+
1103
+ protected
1104
+
1105
+ # Sets the attribute projection
1106
+ #
1107
+ # @param value the value to set the attribute projection to.
1108
+ #
1109
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#62
1110
+ def projection=(_arg0); end
1111
+
1112
+ private
1113
+
1114
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#66
1115
+ def absolute; end
1116
+
1117
+ class << self
1118
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#56
1119
+ def calculate(current_projection, new_value, rate); end
1120
+ end
1121
+ end
1122
+
1123
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#5
1124
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
1125
+
1126
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#4
1127
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_STRENGTH = T.let(T.unsafe(nil), Float)
1128
+
1129
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#2
1130
+ module ProgressBar::Refinements; end
1131
+
1132
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#3
1133
+ module ProgressBar::Refinements::Enumerator; end
1134
+
1135
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#4
1136
+ ProgressBar::Refinements::Enumerator::ARITY_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
1137
+
1138
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#2
1139
+ class ProgressBar::Throttle
1140
+ # @return [Throttle] a new instance of Throttle
1141
+ #
1142
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#8
1143
+ def initialize(options = T.unsafe(nil)); end
1144
+
1145
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#15
1146
+ def choke(options = T.unsafe(nil)); end
1147
+
1148
+ # Returns the value of attribute rate.
1149
+ #
1150
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1151
+ def rate; end
1152
+
1153
+ # Sets the attribute rate
1154
+ #
1155
+ # @param value the value to set the attribute rate to.
1156
+ #
1157
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1158
+ def rate=(_arg0); end
1159
+
1160
+ # Returns the value of attribute started_at.
1161
+ #
1162
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1163
+ def started_at; end
1164
+
1165
+ # Sets the attribute started_at
1166
+ #
1167
+ # @param value the value to set the attribute started_at to.
1168
+ #
1169
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1170
+ def started_at=(_arg0); end
1171
+
1172
+ # Returns the value of attribute stopped_at.
1173
+ #
1174
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1175
+ def stopped_at; end
1176
+
1177
+ # Sets the attribute stopped_at
1178
+ #
1179
+ # @param value the value to set the attribute stopped_at to.
1180
+ #
1181
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1182
+ def stopped_at=(_arg0); end
1183
+
1184
+ # Returns the value of attribute timer.
1185
+ #
1186
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1187
+ def timer; end
1188
+
1189
+ # Sets the attribute timer
1190
+ #
1191
+ # @param value the value to set the attribute timer to.
1192
+ #
1193
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
1194
+ def timer=(_arg0); end
1195
+ end
1196
+
1197
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#3
1198
+ class ProgressBar::Time
1199
+ # @return [Time] a new instance of Time
1200
+ #
1201
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#11
1202
+ def initialize(time = T.unsafe(nil)); end
1203
+
1204
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#15
1205
+ def now; end
1206
+
1207
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#19
1208
+ def unmocked_time_method; end
1209
+
1210
+ protected
1211
+
1212
+ # Returns the value of attribute time.
1213
+ #
1214
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
1215
+ def time; end
1216
+
1217
+ # Sets the attribute time
1218
+ #
1219
+ # @param value the value to set the attribute time to.
1220
+ #
1221
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
1222
+ def time=(_arg0); end
1223
+ end
1224
+
1225
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#4
1226
+ ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
1227
+
1228
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#4
1229
+ class ProgressBar::Timer
1230
+ # @return [Timer] a new instance of Timer
1231
+ #
1232
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#8
1233
+ def initialize(options = T.unsafe(nil)); end
1234
+
1235
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#67
1236
+ def divide_seconds(seconds); end
1237
+
1238
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57
1239
+ def elapsed_seconds; end
1240
+
1241
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#63
1242
+ def elapsed_whole_seconds; end
1243
+
1244
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31
1245
+ def now; end
1246
+
1247
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#23
1248
+ def pause; end
1249
+
1250
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#43
1251
+ def reset; end
1252
+
1253
+ # @return [Boolean]
1254
+ #
1255
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48
1256
+ def reset?; end
1257
+
1258
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#52
1259
+ def restart; end
1260
+
1261
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#27
1262
+ def resume; end
1263
+
1264
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#12
1265
+ def start; end
1266
+
1267
+ # @return [Boolean]
1268
+ #
1269
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35
1270
+ def started?; end
1271
+
1272
+ # Returns the value of attribute started_at.
1273
+ #
1274
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
1275
+ def started_at; end
1276
+
1277
+ # Sets the attribute started_at
1278
+ #
1279
+ # @param value the value to set the attribute started_at to.
1280
+ #
1281
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
1282
+ def started_at=(_arg0); end
1283
+
1284
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#17
1285
+ def stop; end
1286
+
1287
+ # @return [Boolean]
1288
+ #
1289
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39
1290
+ def stopped?; end
1291
+
1292
+ # Returns the value of attribute stopped_at.
1293
+ #
1294
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
1295
+ def stopped_at; end
1296
+
1297
+ # Sets the attribute stopped_at
1298
+ #
1299
+ # @param value the value to set the attribute stopped_at to.
1300
+ #
1301
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
1302
+ def stopped_at=(_arg0); end
1303
+
1304
+ protected
1305
+
1306
+ # Returns the value of attribute time.
1307
+ #
1308
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
1309
+ def time; end
1310
+
1311
+ # Sets the attribute time
1312
+ #
1313
+ # @param value the value to set the attribute time to.
1314
+ #
1315
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
1316
+ def time=(_arg0); end
1317
+ end