mootool 0.2.6 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -1
- data/.rubocop.yml +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +71 -67
- data/lib/mootool/command.rb +1 -0
- data/lib/mootool/controller_base.rb +1 -0
- data/lib/mootool/controllers/dwarf.rb +2 -1
- data/lib/mootool/controllers/dyld_linker.rb +1 -0
- data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
- data/lib/mootool/controllers/fat_binary.rb +1 -0
- data/lib/mootool/controllers/kernel_collection.rb +4 -3
- data/lib/mootool/controllers/sections.rb +1 -0
- data/lib/mootool/core_extensions.rb +3 -3
- data/lib/mootool/models/decompressor.rb +5 -2
- data/lib/mootool/models/device_tree.rb +5 -3
- data/lib/mootool/models/img4.rb +2 -1
- data/lib/mootool/models/ipsw.rb +5 -1
- data/lib/mootool/version.rb +2 -1
- data/lib/mootool.rb +1 -0
- data/sorbet/config +1 -1
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +2 -2
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
- data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
- data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
- data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
- data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
- data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
- data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
- data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
- data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
- data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
- data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
- data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
- data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
- data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
- data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
- data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
- data/sorbet/tapioca/require.rb +13 -1
- metadata +47 -36
- data/.DS_Store +0 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
- data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
- data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
- data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
- data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
- data/sorbet/rbi/todo.rbi +0 -7
@@ -4,359 +4,325 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `rainbow` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rainbow`.
|
6
6
|
|
7
|
-
|
7
|
+
class Object < ::BasicObject
|
8
|
+
include ::Kernel
|
9
|
+
include ::PP::ObjectMixin
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
# source://rainbow//lib/rainbow/global.rb#23
|
14
|
+
def Rainbow(string); end
|
15
|
+
end
|
16
|
+
|
17
|
+
# source://rainbow//lib/rainbow/string_utils.rb#3
|
8
18
|
module Rainbow
|
9
19
|
class << self
|
10
|
-
# source://rainbow
|
20
|
+
# source://rainbow//lib/rainbow/global.rb#10
|
11
21
|
def enabled; end
|
12
22
|
|
13
|
-
# source://rainbow
|
14
|
-
def enabled=(value)
|
15
|
-
;
|
16
|
-
end
|
23
|
+
# source://rainbow//lib/rainbow/global.rb#14
|
24
|
+
def enabled=(value); end
|
17
25
|
|
18
|
-
# source://rainbow
|
26
|
+
# source://rainbow//lib/rainbow/global.rb#6
|
19
27
|
def global; end
|
20
28
|
|
21
|
-
# source://rainbow
|
29
|
+
# source://rainbow//lib/rainbow.rb#6
|
22
30
|
def new; end
|
23
31
|
|
24
|
-
# source://rainbow
|
25
|
-
def uncolor(string)
|
26
|
-
;
|
27
|
-
end
|
32
|
+
# source://rainbow//lib/rainbow/global.rb#18
|
33
|
+
def uncolor(string); end
|
28
34
|
end
|
29
35
|
end
|
30
36
|
|
31
|
-
# source://rainbow
|
37
|
+
# source://rainbow//lib/rainbow/color.rb#4
|
32
38
|
class Rainbow::Color
|
33
39
|
# Returns the value of attribute ground.
|
34
40
|
#
|
35
|
-
# source://rainbow
|
41
|
+
# source://rainbow//lib/rainbow/color.rb#5
|
36
42
|
def ground; end
|
37
43
|
|
38
44
|
class << self
|
39
|
-
# source://rainbow
|
40
|
-
def build(ground, values)
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
# source://rainbow-3.1.1/lib/rainbow/color.rb:40
|
45
|
-
def parse_hex_color(hex)
|
46
|
-
;
|
47
|
-
end
|
45
|
+
# source://rainbow//lib/rainbow/color.rb#7
|
46
|
+
def build(ground, values); end
|
47
|
+
|
48
|
+
# source://rainbow//lib/rainbow/color.rb#40
|
49
|
+
def parse_hex_color(hex); end
|
48
50
|
end
|
49
51
|
end
|
50
52
|
|
51
|
-
# source://rainbow
|
53
|
+
# source://rainbow//lib/rainbow/color.rb#54
|
52
54
|
class Rainbow::Color::Indexed < ::Rainbow::Color
|
53
55
|
# @return [Indexed] a new instance of Indexed
|
54
56
|
#
|
55
|
-
# source://rainbow
|
56
|
-
def initialize(ground, num)
|
57
|
-
;
|
58
|
-
end
|
57
|
+
# source://rainbow//lib/rainbow/color.rb#57
|
58
|
+
def initialize(ground, num); end
|
59
59
|
|
60
|
-
# source://rainbow
|
60
|
+
# source://rainbow//lib/rainbow/color.rb#62
|
61
61
|
def codes; end
|
62
62
|
|
63
63
|
# Returns the value of attribute num.
|
64
64
|
#
|
65
|
-
# source://rainbow
|
65
|
+
# source://rainbow//lib/rainbow/color.rb#55
|
66
66
|
def num; end
|
67
67
|
end
|
68
68
|
|
69
|
-
# source://rainbow
|
69
|
+
# source://rainbow//lib/rainbow/color.rb#69
|
70
70
|
class Rainbow::Color::Named < ::Rainbow::Color::Indexed
|
71
71
|
# @return [Named] a new instance of Named
|
72
72
|
#
|
73
|
-
# source://rainbow
|
74
|
-
def initialize(ground, name)
|
75
|
-
;
|
76
|
-
end
|
73
|
+
# source://rainbow//lib/rainbow/color.rb#90
|
74
|
+
def initialize(ground, name); end
|
77
75
|
|
78
76
|
class << self
|
79
|
-
# source://rainbow
|
77
|
+
# source://rainbow//lib/rainbow/color.rb#82
|
80
78
|
def color_names; end
|
81
79
|
|
82
|
-
# source://rainbow
|
80
|
+
# source://rainbow//lib/rainbow/color.rb#86
|
83
81
|
def valid_names; end
|
84
82
|
end
|
85
83
|
end
|
86
84
|
|
87
|
-
# source://rainbow
|
85
|
+
# source://rainbow//lib/rainbow/color.rb#70
|
88
86
|
Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash)
|
89
87
|
|
90
|
-
# source://rainbow
|
88
|
+
# source://rainbow//lib/rainbow/color.rb#100
|
91
89
|
class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
|
92
90
|
# @return [RGB] a new instance of RGB
|
93
91
|
#
|
94
|
-
# source://rainbow
|
95
|
-
def initialize(ground, *values)
|
96
|
-
;
|
97
|
-
end
|
92
|
+
# source://rainbow//lib/rainbow/color.rb#107
|
93
|
+
def initialize(ground, *values); end
|
98
94
|
|
99
95
|
# Returns the value of attribute b.
|
100
96
|
#
|
101
|
-
# source://rainbow
|
97
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
102
98
|
def b; end
|
103
99
|
|
104
|
-
# source://rainbow
|
100
|
+
# source://rainbow//lib/rainbow/color.rb#116
|
105
101
|
def codes; end
|
106
102
|
|
107
103
|
# Returns the value of attribute g.
|
108
104
|
#
|
109
|
-
# source://rainbow
|
105
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
110
106
|
def g; end
|
111
107
|
|
112
108
|
# Returns the value of attribute r.
|
113
109
|
#
|
114
|
-
# source://rainbow
|
110
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
115
111
|
def r; end
|
116
112
|
|
117
113
|
private
|
118
114
|
|
119
|
-
# source://rainbow
|
115
|
+
# source://rainbow//lib/rainbow/color.rb#122
|
120
116
|
def code_from_rgb; end
|
121
117
|
|
122
118
|
class << self
|
123
|
-
# source://rainbow
|
124
|
-
def to_ansi_domain(value)
|
125
|
-
;
|
126
|
-
end
|
119
|
+
# source://rainbow//lib/rainbow/color.rb#103
|
120
|
+
def to_ansi_domain(value); end
|
127
121
|
end
|
128
122
|
end
|
129
123
|
|
130
|
-
# source://rainbow
|
124
|
+
# source://rainbow//lib/rainbow/color.rb#129
|
131
125
|
class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
|
132
126
|
include ::Rainbow::X11ColorNames
|
133
127
|
|
134
128
|
# @return [X11Named] a new instance of X11Named
|
135
129
|
#
|
136
|
-
# source://rainbow
|
137
|
-
def initialize(ground, name)
|
138
|
-
;
|
139
|
-
end
|
130
|
+
# source://rainbow//lib/rainbow/color.rb#140
|
131
|
+
def initialize(ground, name); end
|
140
132
|
|
141
133
|
class << self
|
142
|
-
# source://rainbow
|
134
|
+
# source://rainbow//lib/rainbow/color.rb#132
|
143
135
|
def color_names; end
|
144
136
|
|
145
|
-
# source://rainbow
|
137
|
+
# source://rainbow//lib/rainbow/color.rb#136
|
146
138
|
def valid_names; end
|
147
139
|
end
|
148
140
|
end
|
149
141
|
|
150
|
-
# source://rainbow
|
142
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#4
|
151
143
|
class Rainbow::NullPresenter < ::String
|
152
|
-
# source://rainbow
|
153
|
-
def background(*_values)
|
154
|
-
;
|
155
|
-
end
|
144
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#9
|
145
|
+
def background(*_values); end
|
156
146
|
|
157
|
-
# source://rainbow
|
158
|
-
def bg(*_values)
|
159
|
-
;
|
160
|
-
end
|
147
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#9
|
148
|
+
def bg(*_values); end
|
161
149
|
|
162
|
-
# source://rainbow
|
150
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#49
|
163
151
|
def black; end
|
164
152
|
|
165
|
-
# source://rainbow
|
153
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#33
|
166
154
|
def blink; end
|
167
155
|
|
168
|
-
# source://rainbow
|
156
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#65
|
169
157
|
def blue; end
|
170
158
|
|
171
|
-
# source://rainbow
|
159
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#17
|
172
160
|
def bold; end
|
173
161
|
|
174
|
-
# source://rainbow
|
162
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#17
|
175
163
|
def bright; end
|
176
164
|
|
177
|
-
# source://rainbow
|
178
|
-
def color(*_values)
|
179
|
-
;
|
180
|
-
end
|
165
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
166
|
+
def color(*_values); end
|
181
167
|
|
182
|
-
# source://rainbow
|
168
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#45
|
183
169
|
def cross_out; end
|
184
170
|
|
185
|
-
# source://rainbow
|
171
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#73
|
186
172
|
def cyan; end
|
187
173
|
|
188
|
-
# source://rainbow
|
174
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#21
|
189
175
|
def dark; end
|
190
176
|
|
191
|
-
# source://rainbow
|
177
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#21
|
192
178
|
def faint; end
|
193
179
|
|
194
|
-
# source://rainbow
|
195
|
-
def fg(*_values)
|
196
|
-
;
|
197
|
-
end
|
180
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
181
|
+
def fg(*_values); end
|
198
182
|
|
199
|
-
# source://rainbow
|
200
|
-
def foreground(*_values)
|
201
|
-
;
|
202
|
-
end
|
183
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
184
|
+
def foreground(*_values); end
|
203
185
|
|
204
|
-
# source://rainbow
|
186
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#57
|
205
187
|
def green; end
|
206
188
|
|
207
|
-
# source://rainbow
|
189
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#41
|
208
190
|
def hide; end
|
209
191
|
|
210
|
-
# source://rainbow
|
192
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#37
|
211
193
|
def inverse; end
|
212
194
|
|
213
|
-
# source://rainbow
|
195
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#25
|
214
196
|
def italic; end
|
215
197
|
|
216
|
-
# source://rainbow
|
198
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#69
|
217
199
|
def magenta; end
|
218
200
|
|
219
|
-
# source://rainbow
|
220
|
-
def method_missing(method_name, *args)
|
221
|
-
;
|
222
|
-
end
|
201
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#81
|
202
|
+
def method_missing(method_name, *args); end
|
223
203
|
|
224
|
-
# source://rainbow
|
204
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#53
|
225
205
|
def red; end
|
226
206
|
|
227
|
-
# source://rainbow
|
207
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#13
|
228
208
|
def reset; end
|
229
209
|
|
230
|
-
# source://rainbow
|
210
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#45
|
231
211
|
def strike; end
|
232
212
|
|
233
|
-
# source://rainbow
|
213
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#29
|
234
214
|
def underline; end
|
235
215
|
|
236
|
-
# source://rainbow
|
216
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#77
|
237
217
|
def white; end
|
238
218
|
|
239
|
-
# source://rainbow
|
219
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#61
|
240
220
|
def yellow; end
|
241
221
|
|
242
222
|
private
|
243
223
|
|
244
224
|
# @return [Boolean]
|
245
225
|
#
|
246
|
-
# source://rainbow
|
247
|
-
def respond_to_missing?(method_name, *args)
|
248
|
-
;
|
249
|
-
end
|
226
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#89
|
227
|
+
def respond_to_missing?(method_name, *args); end
|
250
228
|
end
|
251
229
|
|
252
|
-
# source://rainbow
|
230
|
+
# source://rainbow//lib/rainbow/presenter.rb#8
|
253
231
|
class Rainbow::Presenter < ::String
|
254
232
|
# Sets background color of this text.
|
255
233
|
#
|
256
|
-
# source://rainbow
|
257
|
-
def background(*values)
|
258
|
-
;
|
259
|
-
end
|
234
|
+
# source://rainbow//lib/rainbow/presenter.rb#30
|
235
|
+
def background(*values); end
|
260
236
|
|
261
237
|
# Sets background color of this text.
|
262
238
|
#
|
263
|
-
# source://rainbow
|
264
|
-
def bg(*values)
|
265
|
-
;
|
266
|
-
end
|
239
|
+
# source://rainbow//lib/rainbow/presenter.rb#30
|
240
|
+
def bg(*values); end
|
267
241
|
|
268
|
-
# source://rainbow
|
242
|
+
# source://rainbow//lib/rainbow/presenter.rb#92
|
269
243
|
def black; end
|
270
244
|
|
271
245
|
# Turns on blinking attribute for this text (not well supported by terminal
|
272
246
|
# emulators).
|
273
247
|
#
|
274
|
-
# source://rainbow
|
248
|
+
# source://rainbow//lib/rainbow/presenter.rb#72
|
275
249
|
def blink; end
|
276
250
|
|
277
|
-
# source://rainbow
|
251
|
+
# source://rainbow//lib/rainbow/presenter.rb#108
|
278
252
|
def blue; end
|
279
253
|
|
280
254
|
# Turns on bright/bold for this text.
|
281
255
|
#
|
282
|
-
# source://rainbow
|
256
|
+
# source://rainbow//lib/rainbow/presenter.rb#45
|
283
257
|
def bold; end
|
284
258
|
|
285
259
|
# Turns on bright/bold for this text.
|
286
260
|
#
|
287
|
-
# source://rainbow
|
261
|
+
# source://rainbow//lib/rainbow/presenter.rb#45
|
288
262
|
def bright; end
|
289
263
|
|
290
264
|
# Sets color of this text.
|
291
265
|
#
|
292
|
-
# source://rainbow
|
293
|
-
def color(*values)
|
294
|
-
;
|
295
|
-
end
|
266
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
267
|
+
def color(*values); end
|
296
268
|
|
297
|
-
# source://rainbow
|
269
|
+
# source://rainbow//lib/rainbow/presenter.rb#86
|
298
270
|
def cross_out; end
|
299
271
|
|
300
|
-
# source://rainbow
|
272
|
+
# source://rainbow//lib/rainbow/presenter.rb#116
|
301
273
|
def cyan; end
|
302
274
|
|
303
275
|
# Turns on faint/dark for this text (not well supported by terminal
|
304
276
|
# emulators).
|
305
277
|
#
|
306
|
-
# source://rainbow
|
278
|
+
# source://rainbow//lib/rainbow/presenter.rb#53
|
307
279
|
def dark; end
|
308
280
|
|
309
281
|
# Turns on faint/dark for this text (not well supported by terminal
|
310
282
|
# emulators).
|
311
283
|
#
|
312
|
-
# source://rainbow
|
284
|
+
# source://rainbow//lib/rainbow/presenter.rb#53
|
313
285
|
def faint; end
|
314
286
|
|
315
287
|
# Sets color of this text.
|
316
288
|
#
|
317
|
-
# source://rainbow
|
318
|
-
def fg(*values)
|
319
|
-
;
|
320
|
-
end
|
289
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
290
|
+
def fg(*values); end
|
321
291
|
|
322
292
|
# Sets color of this text.
|
323
293
|
#
|
324
|
-
# source://rainbow
|
325
|
-
def foreground(*values)
|
326
|
-
;
|
327
|
-
end
|
294
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
295
|
+
def foreground(*values); end
|
328
296
|
|
329
|
-
# source://rainbow
|
297
|
+
# source://rainbow//lib/rainbow/presenter.rb#100
|
330
298
|
def green; end
|
331
299
|
|
332
300
|
# Hides this text (set its color to the same as background).
|
333
301
|
#
|
334
|
-
# source://rainbow
|
302
|
+
# source://rainbow//lib/rainbow/presenter.rb#82
|
335
303
|
def hide; end
|
336
304
|
|
337
305
|
# Inverses current foreground/background colors.
|
338
306
|
#
|
339
|
-
# source://rainbow
|
307
|
+
# source://rainbow//lib/rainbow/presenter.rb#77
|
340
308
|
def inverse; end
|
341
309
|
|
342
310
|
# Turns on italic style for this text (not well supported by terminal
|
343
311
|
# emulators).
|
344
312
|
#
|
345
|
-
# source://rainbow
|
313
|
+
# source://rainbow//lib/rainbow/presenter.rb#61
|
346
314
|
def italic; end
|
347
315
|
|
348
|
-
# source://rainbow
|
316
|
+
# source://rainbow//lib/rainbow/presenter.rb#112
|
349
317
|
def magenta; end
|
350
318
|
|
351
319
|
# We take care of X11 color method call here.
|
352
320
|
# Such as #aqua, #ghostwhite.
|
353
321
|
#
|
354
|
-
# source://rainbow
|
355
|
-
def method_missing(method_name, *args)
|
356
|
-
;
|
357
|
-
end
|
322
|
+
# source://rainbow//lib/rainbow/presenter.rb#126
|
323
|
+
def method_missing(method_name, *args); end
|
358
324
|
|
359
|
-
# source://rainbow
|
325
|
+
# source://rainbow//lib/rainbow/presenter.rb#96
|
360
326
|
def red; end
|
361
327
|
|
362
328
|
# Resets terminal to default colors/backgrounds.
|
@@ -364,89 +330,73 @@ class Rainbow::Presenter < ::String
|
|
364
330
|
# It shouldn't be needed to use this method because all methods
|
365
331
|
# append terminal reset code to end of string.
|
366
332
|
#
|
367
|
-
# source://rainbow
|
333
|
+
# source://rainbow//lib/rainbow/presenter.rb#40
|
368
334
|
def reset; end
|
369
335
|
|
370
|
-
# source://rainbow
|
336
|
+
# source://rainbow//lib/rainbow/presenter.rb#86
|
371
337
|
def strike; end
|
372
338
|
|
373
339
|
# Turns on underline decoration for this text.
|
374
340
|
#
|
375
|
-
# source://rainbow
|
341
|
+
# source://rainbow//lib/rainbow/presenter.rb#66
|
376
342
|
def underline; end
|
377
343
|
|
378
|
-
# source://rainbow
|
344
|
+
# source://rainbow//lib/rainbow/presenter.rb#120
|
379
345
|
def white; end
|
380
346
|
|
381
|
-
# source://rainbow
|
347
|
+
# source://rainbow//lib/rainbow/presenter.rb#104
|
382
348
|
def yellow; end
|
383
349
|
|
384
350
|
private
|
385
351
|
|
386
352
|
# @return [Boolean]
|
387
353
|
#
|
388
|
-
# source://rainbow
|
389
|
-
def respond_to_missing?(method_name, *args)
|
390
|
-
;
|
391
|
-
end
|
354
|
+
# source://rainbow//lib/rainbow/presenter.rb#134
|
355
|
+
def respond_to_missing?(method_name, *args); end
|
392
356
|
|
393
|
-
# source://rainbow
|
394
|
-
def wrap_with_sgr(codes)
|
395
|
-
;
|
396
|
-
end
|
357
|
+
# source://rainbow//lib/rainbow/presenter.rb#140
|
358
|
+
def wrap_with_sgr(codes); end
|
397
359
|
end
|
398
360
|
|
399
|
-
# source://rainbow
|
361
|
+
# source://rainbow//lib/rainbow/presenter.rb#9
|
400
362
|
Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
|
401
363
|
|
402
|
-
# source://rainbow
|
364
|
+
# source://rainbow//lib/rainbow/string_utils.rb#4
|
403
365
|
class Rainbow::StringUtils
|
404
366
|
class << self
|
405
|
-
# source://rainbow
|
406
|
-
def uncolor(string)
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
# source://rainbow-3.1.1/lib/rainbow/string_utils.rb:5
|
411
|
-
def wrap_with_sgr(string, codes)
|
412
|
-
;
|
413
|
-
end
|
367
|
+
# source://rainbow//lib/rainbow/string_utils.rb#17
|
368
|
+
def uncolor(string); end
|
369
|
+
|
370
|
+
# source://rainbow//lib/rainbow/string_utils.rb#5
|
371
|
+
def wrap_with_sgr(string, codes); end
|
414
372
|
end
|
415
373
|
end
|
416
374
|
|
417
|
-
# source://rainbow
|
375
|
+
# source://rainbow//lib/rainbow/wrapper.rb#7
|
418
376
|
class Rainbow::Wrapper
|
419
377
|
# @return [Wrapper] a new instance of Wrapper
|
420
378
|
#
|
421
|
-
# source://rainbow
|
422
|
-
def initialize(enabled = T.unsafe(nil))
|
423
|
-
;
|
424
|
-
end
|
379
|
+
# source://rainbow//lib/rainbow/wrapper.rb#10
|
380
|
+
def initialize(enabled = T.unsafe(nil)); end
|
425
381
|
|
426
382
|
# Returns the value of attribute enabled.
|
427
383
|
#
|
428
|
-
# source://rainbow
|
384
|
+
# source://rainbow//lib/rainbow/wrapper.rb#8
|
429
385
|
def enabled; end
|
430
386
|
|
431
387
|
# Sets the attribute enabled
|
432
388
|
#
|
433
389
|
# @param value the value to set the attribute enabled to.
|
434
390
|
#
|
435
|
-
# source://rainbow
|
436
|
-
def enabled=(_arg0)
|
437
|
-
;
|
438
|
-
end
|
391
|
+
# source://rainbow//lib/rainbow/wrapper.rb#8
|
392
|
+
def enabled=(_arg0); end
|
439
393
|
|
440
|
-
# source://rainbow
|
441
|
-
def wrap(string)
|
442
|
-
;
|
443
|
-
end
|
394
|
+
# source://rainbow//lib/rainbow/wrapper.rb#14
|
395
|
+
def wrap(string); end
|
444
396
|
end
|
445
397
|
|
446
|
-
# source://rainbow
|
447
|
-
module Rainbow::X11ColorNames
|
448
|
-
;
|
449
|
-
end
|
398
|
+
# source://rainbow//lib/rainbow/x11_color_names.rb#4
|
399
|
+
module Rainbow::X11ColorNames; end
|
450
400
|
|
451
|
-
# source://rainbow
|
401
|
+
# source://rainbow//lib/rainbow/x11_color_names.rb#5
|
452
402
|
Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)
|