playoffs 1.0.0

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