muina 0.2.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -0
- data/README.md +0 -35
- data/lib/muina/maybe/none.rb +61 -0
- data/lib/muina/maybe/some.rb +62 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/result/failure.rb +7 -18
- data/lib/muina/result/success.rb +7 -18
- data/lib/muina/result.rb +6 -8
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -225
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -181
- data/.ruby-version +0 -1
- data/.simplecov +0 -14
- data/CHANGELOG.md +0 -38
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -265
- data/Guardfile +0 -24
- data/Rakefile +0 -13
- data/SECURITY.md +0 -14
- data/bin/bundle +0 -114
- data/bin/console +0 -15
- data/bin/flay +0 -29
- data/bin/flog +0 -29
- data/bin/guard +0 -29
- data/bin/irb +0 -29
- data/bin/lefthook +0 -29
- data/bin/mutant +0 -29
- data/bin/parlour +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/srb-rbi +0 -29
- data/bin/tapioca +0 -29
- data/exe/muina +0 -11
- data/lefthook.yml +0 -39
- data/lib/muina/action/params_factory.rb +0 -17
- data/lib/muina/action/step/command.rb +0 -33
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -35
- data/lib/muina/action/step/result.rb +0 -56
- data/lib/muina/action/step.rb +0 -13
- data/lib/muina/action.rb +0 -73
- data/lib/muina/any.rb +0 -7
- data/lib/muina/classes.rb +0 -7
- data/lib/muina/deprecator.rb +0 -93
- data/lib/muina/entity.rb +0 -20
- data/lib/muina/module.rb +0 -6
- data/lib/muina/parameters.rb +0 -7
- data/lib/muina/params.rb +0 -19
- data/lib/muina/private_creation.rb +0 -12
- data/lib/muina/result/factory.rb +0 -37
- data/lib/muina/result/null.rb +0 -25
- data/lib/muina/service.rb +0 -25
- data/lib/muina/symbol_hash.rb +0 -7
- data/lib/muina/unit.rb +0 -10
- data/lib/muina/untyped_array.rb +0 -7
- data/lib/muina/untyped_hash.rb +0 -7
- data/lib/muina/value.rb +0 -24
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -311
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
- data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
- data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
- data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
- data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
- data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
- data/sorbet/rbi/todo.rbi +0 -8
- data/sorbet/rbi/typed_params.rbi +0 -7
- data/sorbet/tapioca/require.rb +0 -16
@@ -1,405 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
class ProgressBar
|
8
|
-
class << self
|
9
|
-
def create(*args); end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
class ProgressBar::Base
|
14
|
-
extend ::Forwardable
|
15
|
-
|
16
|
-
def initialize(options = T.unsafe(nil)); end
|
17
|
-
|
18
|
-
def clear(*args, &block); end
|
19
|
-
def decrement; end
|
20
|
-
def finish; end
|
21
|
-
def finished?; end
|
22
|
-
def format(other); end
|
23
|
-
def format=(other); end
|
24
|
-
def increment; end
|
25
|
-
def inspect; end
|
26
|
-
def log(*args, &block); end
|
27
|
-
def pause; end
|
28
|
-
def paused?; end
|
29
|
-
def progress(*args, &block); end
|
30
|
-
def progress=(new_progress); end
|
31
|
-
def progress_mark=(mark); end
|
32
|
-
def refresh(*args, &block); end
|
33
|
-
def remainder_mark=(mark); end
|
34
|
-
def reset; end
|
35
|
-
def resume; end
|
36
|
-
def start(options = T.unsafe(nil)); end
|
37
|
-
def started?; end
|
38
|
-
def stop; end
|
39
|
-
def stopped?; end
|
40
|
-
def title; end
|
41
|
-
def title=(title); end
|
42
|
-
def to_h; end
|
43
|
-
def to_s(new_format = T.unsafe(nil)); end
|
44
|
-
def total(*args, &block); end
|
45
|
-
def total=(new_total); end
|
46
|
-
|
47
|
-
protected
|
48
|
-
|
49
|
-
def autofinish; end
|
50
|
-
def autofinish=(_arg0); end
|
51
|
-
def autostart; end
|
52
|
-
def autostart=(_arg0); end
|
53
|
-
def bar; end
|
54
|
-
def bar=(_arg0); end
|
55
|
-
def finished; end
|
56
|
-
def finished=(_arg0); end
|
57
|
-
def output; end
|
58
|
-
def output=(_arg0); end
|
59
|
-
def percentage; end
|
60
|
-
def percentage=(_arg0); end
|
61
|
-
def progressable; end
|
62
|
-
def progressable=(_arg0); end
|
63
|
-
def rate; end
|
64
|
-
def rate=(_arg0); end
|
65
|
-
def time; end
|
66
|
-
def time=(_arg0); end
|
67
|
-
def timer; end
|
68
|
-
def timer=(_arg0); end
|
69
|
-
def title_comp; end
|
70
|
-
def title_comp=(_arg0); end
|
71
|
-
def update_progress(*args); end
|
72
|
-
end
|
73
|
-
|
74
|
-
module ProgressBar::Calculators; end
|
75
|
-
|
76
|
-
class ProgressBar::Calculators::Length
|
77
|
-
def initialize(options = T.unsafe(nil)); end
|
78
|
-
|
79
|
-
def calculate_length; end
|
80
|
-
def current_length; end
|
81
|
-
def current_length=(_arg0); end
|
82
|
-
def length; end
|
83
|
-
def length_changed?; end
|
84
|
-
def length_override; end
|
85
|
-
def length_override=(other); end
|
86
|
-
def output; end
|
87
|
-
def output=(_arg0); end
|
88
|
-
def reset_length; end
|
89
|
-
|
90
|
-
private
|
91
|
-
|
92
|
-
def dynamic_width; end
|
93
|
-
def dynamic_width_stty; end
|
94
|
-
def dynamic_width_tput; end
|
95
|
-
def dynamic_width_via_io_object; end
|
96
|
-
def dynamic_width_via_output_stream_object; end
|
97
|
-
def dynamic_width_via_system_calls; end
|
98
|
-
def terminal_width; end
|
99
|
-
def unix?; end
|
100
|
-
end
|
101
|
-
|
102
|
-
class ProgressBar::Calculators::RunningAverage
|
103
|
-
class << self
|
104
|
-
def calculate(current_average, new_value_to_average, smoothing_factor); end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
module ProgressBar::Components; end
|
109
|
-
|
110
|
-
class ProgressBar::Components::Bar
|
111
|
-
def initialize(options = T.unsafe(nil)); end
|
112
|
-
|
113
|
-
def length; end
|
114
|
-
def length=(_arg0); end
|
115
|
-
def progress; end
|
116
|
-
def progress=(_arg0); end
|
117
|
-
def progress_mark; end
|
118
|
-
def progress_mark=(_arg0); end
|
119
|
-
def remainder_mark; end
|
120
|
-
def remainder_mark=(_arg0); end
|
121
|
-
def to_s(options = T.unsafe(nil)); end
|
122
|
-
def upa_steps; end
|
123
|
-
def upa_steps=(_arg0); end
|
124
|
-
|
125
|
-
private
|
126
|
-
|
127
|
-
def bar(length); end
|
128
|
-
def bar_with_percentage(length); end
|
129
|
-
def complete_bar(length); end
|
130
|
-
def complete_bar_with_percentage(length); end
|
131
|
-
def completed_length; end
|
132
|
-
def incomplete_space(length); end
|
133
|
-
def incomplete_string; end
|
134
|
-
def integrated_percentage_complete_string; end
|
135
|
-
def standard_complete_string; end
|
136
|
-
def unknown_progress_frame; end
|
137
|
-
def unknown_string; end
|
138
|
-
end
|
139
|
-
|
140
|
-
ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
|
141
|
-
ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
|
142
|
-
ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
|
143
|
-
|
144
|
-
class ProgressBar::Components::Percentage
|
145
|
-
def initialize(options = T.unsafe(nil)); end
|
146
|
-
|
147
|
-
def progress; end
|
148
|
-
def progress=(_arg0); end
|
149
|
-
|
150
|
-
private
|
151
|
-
|
152
|
-
def justified_percentage; end
|
153
|
-
def justified_percentage_with_precision; end
|
154
|
-
def percentage; end
|
155
|
-
def percentage_with_precision; end
|
156
|
-
end
|
157
|
-
|
158
|
-
class ProgressBar::Components::Rate
|
159
|
-
def initialize(options = T.unsafe(nil)); end
|
160
|
-
|
161
|
-
def progress; end
|
162
|
-
def progress=(_arg0); end
|
163
|
-
def rate_scale; end
|
164
|
-
def rate_scale=(_arg0); end
|
165
|
-
def started_at; end
|
166
|
-
def started_at=(_arg0); end
|
167
|
-
def stopped_at; end
|
168
|
-
def stopped_at=(_arg0); end
|
169
|
-
def timer; end
|
170
|
-
def timer=(_arg0); end
|
171
|
-
|
172
|
-
private
|
173
|
-
|
174
|
-
def base_rate; end
|
175
|
-
def elapsed_seconds; end
|
176
|
-
def rate_of_change(format_string = T.unsafe(nil)); end
|
177
|
-
def rate_of_change_with_precision; end
|
178
|
-
def scaled_rate; end
|
179
|
-
end
|
180
|
-
|
181
|
-
class ProgressBar::Components::Time
|
182
|
-
def initialize(options = T.unsafe(nil)); end
|
183
|
-
|
184
|
-
def elapsed_with_label; end
|
185
|
-
def estimated_with_label; end
|
186
|
-
|
187
|
-
protected
|
188
|
-
|
189
|
-
def estimated_with_friendly_oob; end
|
190
|
-
def estimated_with_no_oob; end
|
191
|
-
def estimated_with_unknown_oob; end
|
192
|
-
def out_of_bounds_time_format; end
|
193
|
-
def out_of_bounds_time_format=(format); end
|
194
|
-
def progress; end
|
195
|
-
def progress=(_arg0); end
|
196
|
-
def timer; end
|
197
|
-
def timer=(_arg0); end
|
198
|
-
|
199
|
-
private
|
200
|
-
|
201
|
-
def elapsed; end
|
202
|
-
def estimated; end
|
203
|
-
def estimated_seconds_remaining; end
|
204
|
-
def estimated_with_elapsed_fallback; end
|
205
|
-
end
|
206
|
-
|
207
|
-
ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
|
208
|
-
ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
|
209
|
-
ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
|
210
|
-
ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
|
211
|
-
ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
|
212
|
-
ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
|
213
|
-
ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
|
214
|
-
ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
|
215
|
-
ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
216
|
-
|
217
|
-
class ProgressBar::Components::Title
|
218
|
-
def initialize(options = T.unsafe(nil)); end
|
219
|
-
|
220
|
-
def title; end
|
221
|
-
def title=(_arg0); end
|
222
|
-
end
|
223
|
-
|
224
|
-
ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
|
225
|
-
module ProgressBar::Format; end
|
226
|
-
|
227
|
-
class ProgressBar::Format::Formatter
|
228
|
-
class << self
|
229
|
-
def process(format_string, max_length, bar); end
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
class ProgressBar::Format::Molecule
|
234
|
-
def initialize(letter); end
|
235
|
-
|
236
|
-
def bar_molecule?; end
|
237
|
-
def full_key; end
|
238
|
-
def key; end
|
239
|
-
def key=(_arg0); end
|
240
|
-
def lookup_value(environment, length = T.unsafe(nil)); end
|
241
|
-
def method_name; end
|
242
|
-
def method_name=(_arg0); end
|
243
|
-
def non_bar_molecule?; end
|
244
|
-
end
|
245
|
-
|
246
|
-
ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
|
247
|
-
ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
|
248
|
-
|
249
|
-
class ProgressBar::Format::String < ::String
|
250
|
-
def bar_molecule_placeholder_length; end
|
251
|
-
def bar_molecules; end
|
252
|
-
def displayable_length; end
|
253
|
-
def molecules; end
|
254
|
-
def non_bar_molecules; end
|
255
|
-
end
|
256
|
-
|
257
|
-
ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
|
258
|
-
ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
259
|
-
class ProgressBar::InvalidProgressError < ::RuntimeError; end
|
260
|
-
|
261
|
-
class ProgressBar::Output
|
262
|
-
def initialize(options = T.unsafe(nil)); end
|
263
|
-
|
264
|
-
def clear_string; end
|
265
|
-
def length; end
|
266
|
-
def log(string); end
|
267
|
-
def refresh(options = T.unsafe(nil)); end
|
268
|
-
def stream; end
|
269
|
-
def stream=(_arg0); end
|
270
|
-
def with_refresh; end
|
271
|
-
|
272
|
-
protected
|
273
|
-
|
274
|
-
def bar; end
|
275
|
-
def bar=(_arg0); end
|
276
|
-
def length_calculator; end
|
277
|
-
def length_calculator=(_arg0); end
|
278
|
-
def throttle; end
|
279
|
-
def throttle=(_arg0); end
|
280
|
-
|
281
|
-
private
|
282
|
-
|
283
|
-
def print_and_flush; end
|
284
|
-
|
285
|
-
class << self
|
286
|
-
def detect(options = T.unsafe(nil)); end
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
|
291
|
-
module ProgressBar::Outputs; end
|
292
|
-
|
293
|
-
class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
|
294
|
-
def bar_update_string; end
|
295
|
-
def clear; end
|
296
|
-
def default_format; end
|
297
|
-
def eol; end
|
298
|
-
def last_update_length; end
|
299
|
-
def refresh_with_format_change(*_arg0); end
|
300
|
-
def resolve_format(*_arg0); end
|
301
|
-
|
302
|
-
protected
|
303
|
-
|
304
|
-
def last_update_length=(_arg0); end
|
305
|
-
end
|
306
|
-
|
307
|
-
ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
308
|
-
|
309
|
-
class ProgressBar::Outputs::Tty < ::ProgressBar::Output
|
310
|
-
def bar_update_string; end
|
311
|
-
def clear; end
|
312
|
-
def default_format; end
|
313
|
-
def eol; end
|
314
|
-
def refresh_with_format_change; end
|
315
|
-
def resolve_format(other_format); end
|
316
|
-
end
|
317
|
-
|
318
|
-
ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
319
|
-
|
320
|
-
class ProgressBar::Progress
|
321
|
-
def initialize(options = T.unsafe(nil)); end
|
322
|
-
|
323
|
-
def absolute; end
|
324
|
-
def decrement; end
|
325
|
-
def finish; end
|
326
|
-
def finished?; end
|
327
|
-
def increment; end
|
328
|
-
def none?; end
|
329
|
-
def percentage_completed; end
|
330
|
-
def percentage_completed_with_precision; end
|
331
|
-
def progress; end
|
332
|
-
def progress=(new_progress); end
|
333
|
-
def reset; end
|
334
|
-
def running_average; end
|
335
|
-
def running_average=(_arg0); end
|
336
|
-
def smoothing; end
|
337
|
-
def smoothing=(_arg0); end
|
338
|
-
def start(options = T.unsafe(nil)); end
|
339
|
-
def starting_position; end
|
340
|
-
def starting_position=(_arg0); end
|
341
|
-
def total; end
|
342
|
-
def total=(new_total); end
|
343
|
-
def total_with_unknown_indicator; end
|
344
|
-
def unknown?; end
|
345
|
-
end
|
346
|
-
|
347
|
-
ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
|
348
|
-
ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
|
349
|
-
ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
|
350
|
-
module ProgressBar::Refinements; end
|
351
|
-
module ProgressBar::Refinements::Enumerator; end
|
352
|
-
|
353
|
-
class ProgressBar::Throttle
|
354
|
-
def initialize(options = T.unsafe(nil)); end
|
355
|
-
|
356
|
-
def choke(options = T.unsafe(nil)); end
|
357
|
-
def rate; end
|
358
|
-
def rate=(_arg0); end
|
359
|
-
def started_at; end
|
360
|
-
def started_at=(_arg0); end
|
361
|
-
def stopped_at; end
|
362
|
-
def stopped_at=(_arg0); end
|
363
|
-
def timer; end
|
364
|
-
def timer=(_arg0); end
|
365
|
-
end
|
366
|
-
|
367
|
-
class ProgressBar::Time
|
368
|
-
def initialize(time = T.unsafe(nil)); end
|
369
|
-
|
370
|
-
def now; end
|
371
|
-
def unmocked_time_method; end
|
372
|
-
|
373
|
-
protected
|
374
|
-
|
375
|
-
def time; end
|
376
|
-
def time=(_arg0); end
|
377
|
-
end
|
378
|
-
|
379
|
-
ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
|
380
|
-
|
381
|
-
class ProgressBar::Timer
|
382
|
-
def initialize(options = T.unsafe(nil)); end
|
383
|
-
|
384
|
-
def divide_seconds(seconds); end
|
385
|
-
def elapsed_seconds; end
|
386
|
-
def elapsed_whole_seconds; end
|
387
|
-
def pause; end
|
388
|
-
def reset; end
|
389
|
-
def reset?; end
|
390
|
-
def restart; end
|
391
|
-
def resume; end
|
392
|
-
def start; end
|
393
|
-
def started?; end
|
394
|
-
def started_at; end
|
395
|
-
def started_at=(_arg0); end
|
396
|
-
def stop; end
|
397
|
-
def stopped?; end
|
398
|
-
def stopped_at; end
|
399
|
-
def stopped_at=(_arg0); end
|
400
|
-
|
401
|
-
protected
|
402
|
-
|
403
|
-
def time; end
|
404
|
-
def time=(_arg0); end
|
405
|
-
end
|