rubocop-packs 0.0.13 → 0.0.14

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