activerecord-ejection_seat 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -4,253 +4,275 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
6
6
|
|
7
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4
|
7
8
|
class ProgressBar
|
8
9
|
class << self
|
9
|
-
# source://ruby-progressbar//lib/ruby-progressbar.rb#
|
10
|
+
# source://ruby-progressbar//lib/ruby-progressbar.rb#9
|
10
11
|
def create(*args); end
|
11
12
|
end
|
12
13
|
end
|
13
14
|
|
15
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#17
|
14
16
|
class ProgressBar::Base
|
15
17
|
extend ::Forwardable
|
16
18
|
|
17
19
|
# @return [Base] a new instance of Base
|
18
20
|
#
|
19
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
21
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
|
20
22
|
def initialize(options = T.unsafe(nil)); end
|
21
23
|
|
22
|
-
# source://forwardable/1.3.
|
24
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
23
25
|
def clear(*args, **_arg1, &block); end
|
24
26
|
|
25
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
27
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
|
26
28
|
def decrement; end
|
27
29
|
|
28
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
30
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#92
|
29
31
|
def finish; end
|
30
32
|
|
31
33
|
# @return [Boolean]
|
32
34
|
#
|
33
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
35
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#129
|
34
36
|
def finished?; end
|
35
37
|
|
36
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
38
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
|
37
39
|
def format(other); end
|
38
40
|
|
39
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
41
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
|
40
42
|
def format=(other); end
|
41
43
|
|
42
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
44
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#141
|
43
45
|
def increment; end
|
44
46
|
|
45
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
47
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
|
46
48
|
def inspect; end
|
47
49
|
|
48
|
-
# source://forwardable/1.3.
|
50
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
49
51
|
def log(*args, **_arg1, &block); end
|
50
52
|
|
51
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
53
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
|
52
54
|
def pause; end
|
53
55
|
|
54
56
|
# @return [Boolean]
|
55
57
|
#
|
56
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
58
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
|
57
59
|
def paused?; end
|
58
60
|
|
59
|
-
# source://forwardable/1.3.
|
61
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
60
62
|
def progress(*args, **_arg1, &block); end
|
61
63
|
|
62
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
64
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
|
63
65
|
def progress=(new_progress); end
|
64
66
|
|
65
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
67
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
|
66
68
|
def progress_mark=(mark); end
|
67
69
|
|
68
|
-
# source://forwardable/1.3.
|
70
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
69
71
|
def refresh(*args, **_arg1, &block); end
|
70
72
|
|
71
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
73
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
|
72
74
|
def remainder_mark=(mark); end
|
73
75
|
|
74
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
76
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#114
|
75
77
|
def reset; end
|
76
78
|
|
77
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
79
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#110
|
78
80
|
def resume; end
|
79
81
|
|
80
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
82
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#87
|
81
83
|
def start(options = T.unsafe(nil)); end
|
82
84
|
|
83
85
|
# @return [Boolean]
|
84
86
|
#
|
85
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
87
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#133
|
86
88
|
def started?; end
|
87
89
|
|
88
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
90
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#106
|
89
91
|
def stop; end
|
90
92
|
|
91
93
|
# @return [Boolean]
|
92
94
|
#
|
93
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
95
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
|
94
96
|
def stopped?; end
|
95
97
|
|
96
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
98
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#161
|
97
99
|
def title; end
|
98
100
|
|
99
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
101
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#165
|
100
102
|
def title=(title); end
|
101
103
|
|
102
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
104
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#176
|
103
105
|
def to_h; end
|
104
106
|
|
105
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
107
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
|
106
108
|
def to_s(new_format = T.unsafe(nil)); end
|
107
109
|
|
108
|
-
# source://forwardable/1.3.
|
110
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
109
111
|
def total(*args, **_arg1, &block); end
|
110
112
|
|
111
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
113
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#149
|
112
114
|
def total=(new_total); end
|
113
115
|
|
114
116
|
protected
|
115
117
|
|
116
118
|
# Returns the value of attribute autofinish.
|
117
119
|
#
|
118
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
120
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
119
121
|
def autofinish; end
|
120
122
|
|
121
123
|
# Sets the attribute autofinish
|
122
124
|
#
|
123
125
|
# @param value the value to set the attribute autofinish to.
|
124
126
|
#
|
125
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
127
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
126
128
|
def autofinish=(_arg0); end
|
127
129
|
|
128
130
|
# Returns the value of attribute autostart.
|
129
131
|
#
|
130
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
132
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
131
133
|
def autostart; end
|
132
134
|
|
133
135
|
# Sets the attribute autostart
|
134
136
|
#
|
135
137
|
# @param value the value to set the attribute autostart to.
|
136
138
|
#
|
137
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
139
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
138
140
|
def autostart=(_arg0); end
|
139
141
|
|
140
|
-
# Returns the value of attribute
|
142
|
+
# Returns the value of attribute bar_component.
|
141
143
|
#
|
142
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
143
|
-
def
|
144
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
145
|
+
def bar_component; end
|
144
146
|
|
145
|
-
# Sets the attribute
|
147
|
+
# Sets the attribute bar_component
|
146
148
|
#
|
147
|
-
# @param value the value to set the attribute
|
149
|
+
# @param value the value to set the attribute bar_component to.
|
148
150
|
#
|
149
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
150
|
-
def
|
151
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
152
|
+
def bar_component=(_arg0); end
|
151
153
|
|
152
154
|
# Returns the value of attribute finished.
|
153
155
|
#
|
154
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
156
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
155
157
|
def finished; end
|
156
158
|
|
157
159
|
# Sets the attribute finished
|
158
160
|
#
|
159
161
|
# @param value the value to set the attribute finished to.
|
160
162
|
#
|
161
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
163
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
162
164
|
def finished=(_arg0); end
|
163
165
|
|
164
166
|
# Returns the value of attribute output.
|
165
167
|
#
|
166
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
168
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
167
169
|
def output; end
|
168
170
|
|
169
171
|
# Sets the attribute output
|
170
172
|
#
|
171
173
|
# @param value the value to set the attribute output to.
|
172
174
|
#
|
173
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
175
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
174
176
|
def output=(_arg0); end
|
175
177
|
|
176
|
-
# Returns the value of attribute
|
178
|
+
# Returns the value of attribute percentage_component.
|
177
179
|
#
|
178
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
179
|
-
def
|
180
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
181
|
+
def percentage_component; end
|
180
182
|
|
181
|
-
# Sets the attribute
|
183
|
+
# Sets the attribute percentage_component
|
182
184
|
#
|
183
|
-
# @param value the value to set the attribute
|
185
|
+
# @param value the value to set the attribute percentage_component to.
|
184
186
|
#
|
185
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
186
|
-
def
|
187
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
188
|
+
def percentage_component=(_arg0); end
|
187
189
|
|
188
190
|
# Returns the value of attribute progressable.
|
189
191
|
#
|
190
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
192
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
191
193
|
def progressable; end
|
192
194
|
|
193
195
|
# Sets the attribute progressable
|
194
196
|
#
|
195
197
|
# @param value the value to set the attribute progressable to.
|
196
198
|
#
|
197
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
199
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
198
200
|
def progressable=(_arg0); end
|
199
201
|
|
200
|
-
# Returns the value of attribute
|
202
|
+
# Returns the value of attribute projector.
|
201
203
|
#
|
202
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
203
|
-
def
|
204
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
205
|
+
def projector; end
|
204
206
|
|
205
|
-
# Sets the attribute
|
207
|
+
# Sets the attribute projector
|
206
208
|
#
|
207
|
-
# @param value the value to set the attribute
|
209
|
+
# @param value the value to set the attribute projector to.
|
208
210
|
#
|
209
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
210
|
-
def
|
211
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
212
|
+
def projector=(_arg0); end
|
211
213
|
|
212
|
-
# Returns the value of attribute
|
214
|
+
# Returns the value of attribute rate_component.
|
213
215
|
#
|
214
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
215
|
-
def
|
216
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
217
|
+
def rate_component; end
|
216
218
|
|
217
|
-
# Sets the attribute
|
219
|
+
# Sets the attribute rate_component
|
218
220
|
#
|
219
|
-
# @param value the value to set the attribute
|
221
|
+
# @param value the value to set the attribute rate_component to.
|
220
222
|
#
|
221
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
222
|
-
def
|
223
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
224
|
+
def rate_component=(_arg0); end
|
225
|
+
|
226
|
+
# Returns the value of attribute time_component.
|
227
|
+
#
|
228
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
229
|
+
def time_component; end
|
230
|
+
|
231
|
+
# Sets the attribute time_component
|
232
|
+
#
|
233
|
+
# @param value the value to set the attribute time_component to.
|
234
|
+
#
|
235
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
236
|
+
def time_component=(_arg0); end
|
223
237
|
|
224
238
|
# Returns the value of attribute timer.
|
225
239
|
#
|
226
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
240
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
227
241
|
def timer; end
|
228
242
|
|
229
243
|
# Sets the attribute timer
|
230
244
|
#
|
231
245
|
# @param value the value to set the attribute timer to.
|
232
246
|
#
|
233
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
247
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
234
248
|
def timer=(_arg0); end
|
235
249
|
|
236
|
-
# Returns the value of attribute
|
250
|
+
# Returns the value of attribute title_component.
|
237
251
|
#
|
238
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
239
|
-
def
|
252
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
253
|
+
def title_component; end
|
240
254
|
|
241
|
-
# Sets the attribute
|
255
|
+
# Sets the attribute title_component
|
242
256
|
#
|
243
|
-
# @param value the value to set the attribute
|
257
|
+
# @param value the value to set the attribute title_component to.
|
244
258
|
#
|
245
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
246
|
-
def
|
259
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
|
260
|
+
def title_component=(_arg0); end
|
247
261
|
|
248
|
-
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#
|
262
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#226
|
249
263
|
def update_progress(*args); end
|
250
264
|
end
|
251
265
|
|
266
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#28
|
267
|
+
ProgressBar::Base::RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
268
|
+
|
269
|
+
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#21
|
270
|
+
ProgressBar::Base::SMOOTHING_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
271
|
+
|
272
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#2
|
252
273
|
module ProgressBar::Calculators; end
|
253
274
|
|
275
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#3
|
254
276
|
class ProgressBar::Calculators::Length
|
255
277
|
# @return [Length] a new instance of Length
|
256
278
|
#
|
@@ -305,22 +327,22 @@ class ProgressBar::Calculators::Length
|
|
305
327
|
|
306
328
|
private
|
307
329
|
|
308
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
330
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#56
|
309
331
|
def dynamic_width; end
|
310
332
|
|
311
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
333
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#85
|
312
334
|
def dynamic_width_stty; end
|
313
335
|
|
314
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
336
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#89
|
315
337
|
def dynamic_width_tput; end
|
316
338
|
|
317
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
339
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#76
|
318
340
|
def dynamic_width_via_io_object; end
|
319
341
|
|
320
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
342
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#71
|
321
343
|
def dynamic_width_via_output_stream_object; end
|
322
344
|
|
323
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
345
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#81
|
324
346
|
def dynamic_width_via_system_calls; end
|
325
347
|
|
326
348
|
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#43
|
@@ -328,25 +350,35 @@ class ProgressBar::Calculators::Length
|
|
328
350
|
|
329
351
|
# @return [Boolean]
|
330
352
|
#
|
331
|
-
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#
|
353
|
+
# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#93
|
332
354
|
def unix?; end
|
333
355
|
end
|
334
356
|
|
335
|
-
|
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
|
-
|
357
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#5
|
342
358
|
module ProgressBar::Components; end
|
343
359
|
|
360
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#6
|
344
361
|
class ProgressBar::Components::Bar
|
345
362
|
# @return [Bar] a new instance of Bar
|
346
363
|
#
|
347
364
|
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#17
|
348
365
|
def initialize(options = T.unsafe(nil)); end
|
349
366
|
|
367
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#35
|
368
|
+
def bar(length); end
|
369
|
+
|
370
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63
|
371
|
+
def bar_with_percentage(length); end
|
372
|
+
|
373
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#41
|
374
|
+
def complete_bar(length); end
|
375
|
+
|
376
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
|
377
|
+
def complete_bar_with_percentage(length); end
|
378
|
+
|
379
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#53
|
380
|
+
def incomplete_space(length); end
|
381
|
+
|
350
382
|
# Returns the value of attribute length.
|
351
383
|
#
|
352
384
|
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
|
@@ -412,37 +444,22 @@ class ProgressBar::Components::Bar
|
|
412
444
|
|
413
445
|
private
|
414
446
|
|
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
447
|
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#91
|
428
448
|
def completed_length; end
|
429
449
|
|
430
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#
|
431
|
-
def incomplete_space(length); end
|
432
|
-
|
433
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
|
450
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#81
|
434
451
|
def incomplete_string; end
|
435
452
|
|
436
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#
|
453
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#71
|
437
454
|
def integrated_percentage_complete_string; end
|
438
455
|
|
439
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#
|
456
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#77
|
440
457
|
def standard_complete_string; end
|
441
458
|
|
442
459
|
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#95
|
443
460
|
def unknown_progress_frame; end
|
444
461
|
|
445
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#
|
462
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85
|
446
463
|
def unknown_string; end
|
447
464
|
end
|
448
465
|
|
@@ -455,12 +472,25 @@ ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), Stri
|
|
455
472
|
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#9
|
456
473
|
ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
|
457
474
|
|
475
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#3
|
458
476
|
class ProgressBar::Components::Percentage
|
459
477
|
# @return [Percentage] a new instance of Percentage
|
460
478
|
#
|
461
479
|
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#6
|
462
480
|
def initialize(options = T.unsafe(nil)); end
|
463
481
|
|
482
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#14
|
483
|
+
def justified_percentage; end
|
484
|
+
|
485
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#22
|
486
|
+
def justified_percentage_with_precision; end
|
487
|
+
|
488
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#10
|
489
|
+
def percentage; end
|
490
|
+
|
491
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#18
|
492
|
+
def percentage_with_precision; end
|
493
|
+
|
464
494
|
# Returns the value of attribute progress.
|
465
495
|
#
|
466
496
|
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
|
@@ -472,26 +502,13 @@ class ProgressBar::Components::Percentage
|
|
472
502
|
#
|
473
503
|
# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
|
474
504
|
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
505
|
end
|
490
506
|
|
507
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#3
|
491
508
|
class ProgressBar::Components::Rate
|
492
509
|
# @return [Rate] a new instance of Rate
|
493
510
|
#
|
494
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#
|
511
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#8
|
495
512
|
def initialize(options = T.unsafe(nil)); end
|
496
513
|
|
497
514
|
# Returns the value of attribute progress.
|
@@ -506,6 +523,12 @@ class ProgressBar::Components::Rate
|
|
506
523
|
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
|
507
524
|
def progress=(_arg0); end
|
508
525
|
|
526
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#14
|
527
|
+
def rate_of_change(format_string = T.unsafe(nil)); end
|
528
|
+
|
529
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
|
530
|
+
def rate_of_change_with_precision; end
|
531
|
+
|
509
532
|
# Returns the value of attribute rate_scale.
|
510
533
|
#
|
511
534
|
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
|
@@ -518,30 +541,6 @@ class ProgressBar::Components::Rate
|
|
518
541
|
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
|
519
542
|
def rate_scale=(_arg0); end
|
520
543
|
|
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
544
|
# Returns the value of attribute timer.
|
546
545
|
#
|
547
546
|
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
|
@@ -556,90 +555,92 @@ class ProgressBar::Components::Rate
|
|
556
555
|
|
557
556
|
private
|
558
557
|
|
559
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#
|
558
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30
|
560
559
|
def base_rate; end
|
561
560
|
|
562
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#
|
561
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34
|
563
562
|
def elapsed_seconds; end
|
564
563
|
|
565
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
|
566
|
-
def rate_of_change(format_string = T.unsafe(nil)); end
|
567
|
-
|
568
564
|
# 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
565
|
def scaled_rate; end
|
573
566
|
end
|
574
567
|
|
568
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#6
|
575
569
|
class ProgressBar::Components::Time
|
576
570
|
# @return [Time] a new instance of Time
|
577
571
|
#
|
578
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
572
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#21
|
579
573
|
def initialize(options = T.unsafe(nil)); end
|
580
574
|
|
581
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
575
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#31
|
582
576
|
def elapsed_with_label; end
|
583
577
|
|
584
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
585
|
-
def
|
578
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#47
|
579
|
+
def estimated_wall_clock; end
|
586
580
|
|
587
|
-
|
588
|
-
|
589
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#48
|
581
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#43
|
590
582
|
def estimated_with_friendly_oob; end
|
591
583
|
|
592
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
584
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#27
|
585
|
+
def estimated_with_label(out_of_bounds_time_format = T.unsafe(nil)); end
|
586
|
+
|
587
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#35
|
593
588
|
def estimated_with_no_oob; end
|
594
589
|
|
595
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
590
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#39
|
596
591
|
def estimated_with_unknown_oob; end
|
597
592
|
|
598
|
-
|
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
|
593
|
+
protected
|
605
594
|
|
606
595
|
# Returns the value of attribute progress.
|
607
596
|
#
|
608
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
597
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
609
598
|
def progress; end
|
610
599
|
|
611
600
|
# Sets the attribute progress
|
612
601
|
#
|
613
602
|
# @param value the value to set the attribute progress to.
|
614
603
|
#
|
615
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
604
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
616
605
|
def progress=(_arg0); end
|
617
606
|
|
607
|
+
# Returns the value of attribute projector.
|
608
|
+
#
|
609
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
610
|
+
def projector; end
|
611
|
+
|
612
|
+
# Sets the attribute projector
|
613
|
+
#
|
614
|
+
# @param value the value to set the attribute projector to.
|
615
|
+
#
|
616
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
617
|
+
def projector=(_arg0); end
|
618
|
+
|
618
619
|
# Returns the value of attribute timer.
|
619
620
|
#
|
620
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
621
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
621
622
|
def timer; end
|
622
623
|
|
623
624
|
# Sets the attribute timer
|
624
625
|
#
|
625
626
|
# @param value the value to set the attribute timer to.
|
626
627
|
#
|
627
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
628
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
|
628
629
|
def timer=(_arg0); end
|
629
630
|
|
630
631
|
private
|
631
632
|
|
632
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
633
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#80
|
633
634
|
def elapsed; end
|
634
635
|
|
635
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
636
|
-
def estimated; end
|
636
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#66
|
637
|
+
def estimated(out_of_bounds_time_format); end
|
637
638
|
|
638
639
|
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#94
|
639
640
|
def estimated_seconds_remaining; end
|
640
641
|
|
641
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
642
|
-
def estimated_with_elapsed_fallback; end
|
642
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#88
|
643
|
+
def estimated_with_elapsed_fallback(out_of_bounds_time_format); end
|
643
644
|
end
|
644
645
|
|
645
646
|
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#14
|
@@ -657,7 +658,7 @@ ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), Str
|
|
657
658
|
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#9
|
658
659
|
ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
|
659
660
|
|
660
|
-
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#
|
661
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#16
|
661
662
|
ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
|
662
663
|
|
663
664
|
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#8
|
@@ -669,6 +670,10 @@ ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), Stri
|
|
669
670
|
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#7
|
670
671
|
ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
671
672
|
|
673
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15
|
674
|
+
ProgressBar::Components::Time::WALL_CLOCK_FORMAT = T.let(T.unsafe(nil), String)
|
675
|
+
|
676
|
+
# source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#3
|
672
677
|
class ProgressBar::Components::Title
|
673
678
|
# @return [Title] a new instance of Title
|
674
679
|
#
|
@@ -691,8 +696,10 @@ end
|
|
691
696
|
# source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#4
|
692
697
|
ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
|
693
698
|
|
699
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#2
|
694
700
|
module ProgressBar::Format; end
|
695
701
|
|
702
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#3
|
696
703
|
class ProgressBar::Format::Formatter
|
697
704
|
class << self
|
698
705
|
# source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#4
|
@@ -700,171 +707,177 @@ class ProgressBar::Format::Formatter
|
|
700
707
|
end
|
701
708
|
end
|
702
709
|
|
710
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#3
|
703
711
|
class ProgressBar::Format::Molecule
|
704
712
|
# @return [Molecule] a new instance of Molecule
|
705
713
|
#
|
706
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
714
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#33
|
707
715
|
def initialize(letter); end
|
708
716
|
|
709
717
|
# @return [Boolean]
|
710
718
|
#
|
711
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
719
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#38
|
712
720
|
def bar_molecule?; end
|
713
721
|
|
714
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
722
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#46
|
715
723
|
def full_key; end
|
716
724
|
|
717
725
|
# Returns the value of attribute key.
|
718
726
|
#
|
719
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
727
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
|
720
728
|
def key; end
|
721
729
|
|
722
730
|
# Sets the attribute key
|
723
731
|
#
|
724
732
|
# @param value the value to set the attribute key to.
|
725
733
|
#
|
726
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
734
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
|
727
735
|
def key=(_arg0); end
|
728
736
|
|
729
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
737
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#50
|
730
738
|
def lookup_value(environment, length = T.unsafe(nil)); end
|
731
739
|
|
732
740
|
# Returns the value of attribute method_name.
|
733
741
|
#
|
734
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
742
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
|
735
743
|
def method_name; end
|
736
744
|
|
737
745
|
# Sets the attribute method_name
|
738
746
|
#
|
739
747
|
# @param value the value to set the attribute method_name to.
|
740
748
|
#
|
741
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
749
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
|
742
750
|
def method_name=(_arg0); end
|
743
751
|
|
744
752
|
# @return [Boolean]
|
745
753
|
#
|
746
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
754
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#42
|
747
755
|
def non_bar_molecule?; end
|
748
756
|
end
|
749
757
|
|
750
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#
|
758
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#28
|
751
759
|
ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
|
752
760
|
|
753
761
|
# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#4
|
754
762
|
ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
|
755
763
|
|
764
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5
|
756
765
|
class ProgressBar::Format::String < ::String
|
757
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
766
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#13
|
758
767
|
def bar_molecule_placeholder_length; end
|
759
768
|
|
760
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
769
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#21
|
761
770
|
def bar_molecules; end
|
762
771
|
|
763
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
772
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#9
|
764
773
|
def displayable_length; end
|
765
774
|
|
766
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
775
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#25
|
767
776
|
def molecules; end
|
768
777
|
|
769
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
778
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#17
|
770
779
|
def non_bar_molecules; end
|
771
780
|
end
|
772
781
|
|
773
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
782
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7
|
774
783
|
ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
|
775
784
|
|
776
|
-
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#
|
785
|
+
# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#6
|
777
786
|
ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
778
787
|
|
788
|
+
# source://ruby-progressbar//lib/ruby-progressbar/errors/invalid_progress_error.rb#2
|
779
789
|
class ProgressBar::InvalidProgressError < ::RuntimeError; end
|
780
790
|
|
791
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
|
781
792
|
class ProgressBar::Output
|
782
793
|
# @return [Output] a new instance of Output
|
783
794
|
#
|
784
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
795
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#10
|
785
796
|
def initialize(options = T.unsafe(nil)); end
|
786
797
|
|
787
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
798
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#37
|
788
799
|
def clear_string; end
|
789
800
|
|
790
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
801
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#41
|
791
802
|
def length; end
|
792
803
|
|
793
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
804
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#30
|
794
805
|
def log(string); end
|
795
806
|
|
796
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
807
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#50
|
797
808
|
def refresh(options = T.unsafe(nil)); end
|
798
809
|
|
799
810
|
# Returns the value of attribute stream.
|
800
811
|
#
|
801
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
812
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
|
802
813
|
def stream; end
|
803
814
|
|
804
815
|
# Sets the attribute stream
|
805
816
|
#
|
806
817
|
# @param value the value to set the attribute stream to.
|
807
818
|
#
|
808
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
819
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
|
809
820
|
def stream=(_arg0); end
|
810
821
|
|
811
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
822
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
|
812
823
|
def with_refresh; end
|
813
824
|
|
814
825
|
protected
|
815
826
|
|
816
827
|
# Returns the value of attribute bar.
|
817
828
|
#
|
818
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
829
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
819
830
|
def bar; end
|
820
831
|
|
821
832
|
# Sets the attribute bar
|
822
833
|
#
|
823
834
|
# @param value the value to set the attribute bar to.
|
824
835
|
#
|
825
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
836
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
826
837
|
def bar=(_arg0); end
|
827
838
|
|
828
839
|
# Returns the value of attribute length_calculator.
|
829
840
|
#
|
830
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
841
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
831
842
|
def length_calculator; end
|
832
843
|
|
833
844
|
# Sets the attribute length_calculator
|
834
845
|
#
|
835
846
|
# @param value the value to set the attribute length_calculator to.
|
836
847
|
#
|
837
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
848
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
838
849
|
def length_calculator=(_arg0); end
|
839
850
|
|
840
851
|
# Returns the value of attribute throttle.
|
841
852
|
#
|
842
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
853
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
843
854
|
def throttle; end
|
844
855
|
|
845
856
|
# Sets the attribute throttle
|
846
857
|
#
|
847
858
|
# @param value the value to set the attribute throttle to.
|
848
859
|
#
|
849
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
860
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
|
850
861
|
def throttle=(_arg0); end
|
851
862
|
|
852
863
|
private
|
853
864
|
|
854
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
865
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#66
|
855
866
|
def print_and_flush; end
|
856
867
|
|
857
868
|
class << self
|
858
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
869
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#20
|
859
870
|
def detect(options = T.unsafe(nil)); end
|
860
871
|
end
|
861
872
|
end
|
862
873
|
|
863
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
874
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#6
|
864
875
|
ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
|
865
876
|
|
877
|
+
# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#4
|
866
878
|
module ProgressBar::Outputs; end
|
867
879
|
|
880
|
+
# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#5
|
868
881
|
class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
|
869
882
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#18
|
870
883
|
def bar_update_string; end
|
@@ -900,6 +913,7 @@ end
|
|
900
913
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#6
|
901
914
|
ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
902
915
|
|
916
|
+
# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#5
|
903
917
|
class ProgressBar::Outputs::Tty < ::ProgressBar::Output
|
904
918
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#15
|
905
919
|
def bar_update_string; end
|
@@ -913,7 +927,7 @@ class ProgressBar::Outputs::Tty < ::ProgressBar::Output
|
|
913
927
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27
|
914
928
|
def eol; end
|
915
929
|
|
916
|
-
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#
|
930
|
+
# source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
|
917
931
|
def refresh_with_format_change; end
|
918
932
|
|
919
933
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#23
|
@@ -923,119 +937,205 @@ end
|
|
923
937
|
# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#6
|
924
938
|
ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
925
939
|
|
940
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#4
|
926
941
|
class ProgressBar::Progress
|
927
942
|
# @return [Progress] a new instance of Progress
|
928
943
|
#
|
929
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
944
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
|
930
945
|
def initialize(options = T.unsafe(nil)); end
|
931
946
|
|
932
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
947
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#104
|
933
948
|
def absolute; end
|
934
949
|
|
935
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
950
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#41
|
936
951
|
def decrement; end
|
937
952
|
|
938
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
953
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23
|
939
954
|
def finish; end
|
940
955
|
|
941
956
|
# @return [Boolean]
|
942
957
|
#
|
943
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
958
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#27
|
944
959
|
def finished?; end
|
945
960
|
|
946
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
961
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#31
|
947
962
|
def increment; end
|
948
963
|
|
949
964
|
# @return [Boolean]
|
950
965
|
#
|
951
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
966
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#85
|
952
967
|
def none?; end
|
953
968
|
|
954
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
969
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#73
|
955
970
|
def percentage_completed; end
|
956
971
|
|
957
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
972
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#97
|
958
973
|
def percentage_completed_with_precision; end
|
959
974
|
|
960
975
|
# Returns the value of attribute progress.
|
961
976
|
#
|
962
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
977
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
|
963
978
|
def progress; end
|
964
979
|
|
965
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
980
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#55
|
966
981
|
def progress=(new_progress); end
|
967
982
|
|
968
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
983
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#51
|
969
984
|
def reset; end
|
970
985
|
|
971
|
-
#
|
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
|
986
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#18
|
996
987
|
def start(options = T.unsafe(nil)); end
|
997
988
|
|
998
989
|
# Returns the value of attribute starting_position.
|
999
990
|
#
|
1000
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
991
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
|
1001
992
|
def starting_position; end
|
1002
993
|
|
1003
994
|
# Sets the attribute starting_position
|
1004
995
|
#
|
1005
996
|
# @param value the value to set the attribute starting_position to.
|
1006
997
|
#
|
1007
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
998
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
|
1008
999
|
def starting_position=(_arg0); end
|
1009
1000
|
|
1010
1001
|
# Returns the value of attribute total.
|
1011
1002
|
#
|
1012
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
1003
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
|
1013
1004
|
def total; end
|
1014
1005
|
|
1015
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
1006
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#64
|
1016
1007
|
def total=(new_total); end
|
1017
1008
|
|
1018
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
1009
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#93
|
1019
1010
|
def total_with_unknown_indicator; end
|
1020
1011
|
|
1021
1012
|
# @return [Boolean]
|
1022
1013
|
#
|
1023
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#
|
1014
|
+
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#89
|
1024
1015
|
def unknown?; end
|
1025
1016
|
end
|
1026
1017
|
|
1027
1018
|
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#6
|
1028
1019
|
ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
|
1029
1020
|
|
1030
|
-
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#7
|
1031
|
-
ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
|
1032
|
-
|
1033
1021
|
# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#5
|
1034
1022
|
ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
|
1035
1023
|
|
1024
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#4
|
1025
|
+
class ProgressBar::Projector
|
1026
|
+
class << self
|
1027
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#10
|
1028
|
+
def from_type(name); end
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#5
|
1033
|
+
ProgressBar::Projector::DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage
|
1034
|
+
|
1035
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#6
|
1036
|
+
ProgressBar::Projector::NAME_TO_PROJECTOR_MAP = T.let(T.unsafe(nil), Hash)
|
1037
|
+
|
1038
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#2
|
1039
|
+
module ProgressBar::Projectors; end
|
1040
|
+
|
1041
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#3
|
1042
|
+
class ProgressBar::Projectors::SmoothedAverage
|
1043
|
+
# @return [SmoothedAverage] a new instance of SmoothedAverage
|
1044
|
+
#
|
1045
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#11
|
1046
|
+
def initialize(options = T.unsafe(nil)); end
|
1047
|
+
|
1048
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#24
|
1049
|
+
def decrement; end
|
1050
|
+
|
1051
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#28
|
1052
|
+
def increment; end
|
1053
|
+
|
1054
|
+
# @return [Boolean]
|
1055
|
+
#
|
1056
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#52
|
1057
|
+
def none?; end
|
1058
|
+
|
1059
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#32
|
1060
|
+
def progress; end
|
1061
|
+
|
1062
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#42
|
1063
|
+
def progress=(new_progress); end
|
1064
|
+
|
1065
|
+
# Returns the value of attribute projection.
|
1066
|
+
#
|
1067
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#9
|
1068
|
+
def projection; end
|
1069
|
+
|
1070
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#38
|
1071
|
+
def reset; end
|
1072
|
+
|
1073
|
+
# Returns the value of attribute samples.
|
1074
|
+
#
|
1075
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
|
1076
|
+
def samples; end
|
1077
|
+
|
1078
|
+
# Sets the attribute samples
|
1079
|
+
#
|
1080
|
+
# @param value the value to set the attribute samples to.
|
1081
|
+
#
|
1082
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
|
1083
|
+
def samples=(_arg0); end
|
1084
|
+
|
1085
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#19
|
1086
|
+
def start(options = T.unsafe(nil)); end
|
1087
|
+
|
1088
|
+
# Returns the value of attribute strength.
|
1089
|
+
#
|
1090
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
|
1091
|
+
def strength; end
|
1092
|
+
|
1093
|
+
# Sets the attribute strength
|
1094
|
+
#
|
1095
|
+
# @param value the value to set the attribute strength to.
|
1096
|
+
#
|
1097
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
|
1098
|
+
def strength=(_arg0); end
|
1099
|
+
|
1100
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#36
|
1101
|
+
def total=(_new_total); end
|
1102
|
+
|
1103
|
+
protected
|
1104
|
+
|
1105
|
+
# Sets the attribute projection
|
1106
|
+
#
|
1107
|
+
# @param value the value to set the attribute projection to.
|
1108
|
+
#
|
1109
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#62
|
1110
|
+
def projection=(_arg0); end
|
1111
|
+
|
1112
|
+
private
|
1113
|
+
|
1114
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#66
|
1115
|
+
def absolute; end
|
1116
|
+
|
1117
|
+
class << self
|
1118
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#56
|
1119
|
+
def calculate(current_projection, new_value, rate); end
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#5
|
1124
|
+
ProgressBar::Projectors::SmoothedAverage::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
|
1125
|
+
|
1126
|
+
# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#4
|
1127
|
+
ProgressBar::Projectors::SmoothedAverage::DEFAULT_STRENGTH = T.let(T.unsafe(nil), Float)
|
1128
|
+
|
1129
|
+
# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#2
|
1036
1130
|
module ProgressBar::Refinements; end
|
1131
|
+
|
1132
|
+
# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#3
|
1037
1133
|
module ProgressBar::Refinements::Enumerator; end
|
1038
1134
|
|
1135
|
+
# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#4
|
1136
|
+
ProgressBar::Refinements::Enumerator::ARITY_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
|
1137
|
+
|
1138
|
+
# source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#2
|
1039
1139
|
class ProgressBar::Throttle
|
1040
1140
|
# @return [Throttle] a new instance of Throttle
|
1041
1141
|
#
|
@@ -1094,6 +1194,7 @@ class ProgressBar::Throttle
|
|
1094
1194
|
def timer=(_arg0); end
|
1095
1195
|
end
|
1096
1196
|
|
1197
|
+
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#3
|
1097
1198
|
class ProgressBar::Time
|
1098
1199
|
# @return [Time] a new instance of Time
|
1099
1200
|
#
|
@@ -1110,47 +1211,51 @@ class ProgressBar::Time
|
|
1110
1211
|
|
1111
1212
|
# Returns the value of attribute time.
|
1112
1213
|
#
|
1113
|
-
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#
|
1214
|
+
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
|
1114
1215
|
def time; end
|
1115
1216
|
|
1116
1217
|
# Sets the attribute time
|
1117
1218
|
#
|
1118
1219
|
# @param value the value to set the attribute time to.
|
1119
1220
|
#
|
1120
|
-
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#
|
1221
|
+
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
|
1121
1222
|
def time=(_arg0); end
|
1122
1223
|
end
|
1123
1224
|
|
1124
1225
|
# source://ruby-progressbar//lib/ruby-progressbar/time.rb#4
|
1125
1226
|
ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
|
1126
1227
|
|
1228
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#4
|
1127
1229
|
class ProgressBar::Timer
|
1128
1230
|
# @return [Timer] a new instance of Timer
|
1129
1231
|
#
|
1130
1232
|
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#8
|
1131
1233
|
def initialize(options = T.unsafe(nil)); end
|
1132
1234
|
|
1133
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1235
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#67
|
1134
1236
|
def divide_seconds(seconds); end
|
1135
1237
|
|
1136
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1238
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57
|
1137
1239
|
def elapsed_seconds; end
|
1138
1240
|
|
1139
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1241
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#63
|
1140
1242
|
def elapsed_whole_seconds; end
|
1141
1243
|
|
1244
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31
|
1245
|
+
def now; end
|
1246
|
+
|
1142
1247
|
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#23
|
1143
1248
|
def pause; end
|
1144
1249
|
|
1145
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1250
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#43
|
1146
1251
|
def reset; end
|
1147
1252
|
|
1148
1253
|
# @return [Boolean]
|
1149
1254
|
#
|
1150
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1255
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48
|
1151
1256
|
def reset?; end
|
1152
1257
|
|
1153
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1258
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#52
|
1154
1259
|
def restart; end
|
1155
1260
|
|
1156
1261
|
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#27
|
@@ -1161,7 +1266,7 @@ class ProgressBar::Timer
|
|
1161
1266
|
|
1162
1267
|
# @return [Boolean]
|
1163
1268
|
#
|
1164
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1269
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35
|
1165
1270
|
def started?; end
|
1166
1271
|
|
1167
1272
|
# Returns the value of attribute started_at.
|
@@ -1181,7 +1286,7 @@ class ProgressBar::Timer
|
|
1181
1286
|
|
1182
1287
|
# @return [Boolean]
|
1183
1288
|
#
|
1184
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1289
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39
|
1185
1290
|
def stopped?; end
|
1186
1291
|
|
1187
1292
|
# Returns the value of attribute stopped_at.
|
@@ -1200,13 +1305,13 @@ class ProgressBar::Timer
|
|
1200
1305
|
|
1201
1306
|
# Returns the value of attribute time.
|
1202
1307
|
#
|
1203
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1308
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
|
1204
1309
|
def time; end
|
1205
1310
|
|
1206
1311
|
# Sets the attribute time
|
1207
1312
|
#
|
1208
1313
|
# @param value the value to set the attribute time to.
|
1209
1314
|
#
|
1210
|
-
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#
|
1315
|
+
# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
|
1211
1316
|
def time=(_arg0); end
|
1212
1317
|
end
|