twirbet 0.1.0 → 0.1.1

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