e621_export_downloader 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.irbrc +14 -0
  3. data/.ruby-version +1 -0
  4. data/LICENSE +21 -0
  5. data/README.md +148 -0
  6. data/Rakefile +8 -0
  7. data/exe/e621-export-downloader +112 -0
  8. data/lib/e621_export_downloader/client/options/builder/parsers.rb +42 -0
  9. data/lib/e621_export_downloader/client/options/builder.rb +44 -0
  10. data/lib/e621_export_downloader/client/options.rb +37 -0
  11. data/lib/e621_export_downloader/client.rb +120 -0
  12. data/lib/e621_export_downloader/constants.rb +17 -0
  13. data/lib/e621_export_downloader/export.rb +128 -0
  14. data/lib/e621_export_downloader/export_helper.rb +83 -0
  15. data/lib/e621_export_downloader/models/pool.rb +69 -0
  16. data/lib/e621_export_downloader/models/post.rb +166 -0
  17. data/lib/e621_export_downloader/models/tag.rb +41 -0
  18. data/lib/e621_export_downloader/models/tag_alias.rb +46 -0
  19. data/lib/e621_export_downloader/models/tag_implication.rb +46 -0
  20. data/lib/e621_export_downloader/models/wiki_page.rb +61 -0
  21. data/lib/e621_export_downloader/types.rb +14 -0
  22. data/lib/e621_export_downloader/version.rb +10 -0
  23. data/lib/e621_export_downloader.rb +12 -0
  24. data/sorbet/config +5 -0
  25. data/sorbet/rbi/annotations/.gitattributes +1 -0
  26. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  27. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  28. data/sorbet/rbi/gems/.gitattributes +1 -0
  29. data/sorbet/rbi/gems/ast@2.4.3.rbi +550 -0
  30. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
  31. data/sorbet/rbi/gems/csv@3.3.5.rbi +4462 -0
  32. data/sorbet/rbi/gems/date@3.5.1.rbi +391 -0
  33. data/sorbet/rbi/gems/erb@6.0.4.rbi +1538 -0
  34. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  35. data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +9 -0
  36. data/sorbet/rbi/gems/faraday@2.14.1.rbi +9 -0
  37. data/sorbet/rbi/gems/io-console@0.8.2.rbi +9 -0
  38. data/sorbet/rbi/gems/json@2.19.5.rbi +2240 -0
  39. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  40. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
  41. data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
  42. data/sorbet/rbi/gems/net-http@0.9.1.rbi +4029 -0
  43. data/sorbet/rbi/gems/netrc@0.11.0.rbi +147 -0
  44. data/sorbet/rbi/gems/parallel@2.1.0.rbi +321 -0
  45. data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
  46. data/sorbet/rbi/gems/pp@0.6.3.rbi +377 -0
  47. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +455 -0
  48. data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
  49. data/sorbet/rbi/gems/psych@5.3.1.rbi +2374 -0
  50. data/sorbet/rbi/gems/racc@1.8.1.rbi +165 -0
  51. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +362 -0
  52. data/sorbet/rbi/gems/rake@13.4.2.rbi +3130 -0
  53. data/sorbet/rbi/gems/rbi@0.3.11.rbi +5505 -0
  54. data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
  55. data/sorbet/rbi/gems/rdoc@7.2.0.rbi +9 -0
  56. data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
  57. data/sorbet/rbi/gems/reline@0.6.3.rbi +2446 -0
  58. data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
  59. data/sorbet/rbi/gems/rexml@3.4.4.rbi +4905 -0
  60. data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7062 -0
  61. data/sorbet/rbi/gems/rubocop-rake@0.7.1.rbi +314 -0
  62. data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62227 -0
  63. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +988 -0
  64. data/sorbet/rbi/gems/rubydex@0.2.0.rbi +663 -0
  65. data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
  66. data/sorbet/rbi/gems/stringio@3.2.0.rbi +9 -0
  67. data/sorbet/rbi/gems/tapioca@0.19.1.rbi +3555 -0
  68. data/sorbet/rbi/gems/thor@1.5.0.rbi +3870 -0
  69. data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
  70. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
  71. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
  72. data/sorbet/rbi/gems/uri@1.1.1.rbi +2400 -0
  73. data/sorbet/rbi/gems/zeitwerk@2.7.5.rbi +1090 -0
  74. data/sorbet/rbi/shims/faraday.rbi +42 -0
  75. data/sorbet/rbi/todo.rbi +7 -0
  76. data/sorbet/tapioca/config.yml +13 -0
  77. data/sorbet/tapioca/require.rb +4 -0
  78. metadata +177 -0
@@ -0,0 +1,455 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `prettyprint` gem.
5
+ # Please instead update this file by running `bin/tapioca gem prettyprint`.
6
+
7
+
8
+ # This class implements a pretty printing algorithm. It finds line breaks and
9
+ # nice indentations for grouped structure.
10
+ #
11
+ # By default, the class assumes that primitive elements are strings and each
12
+ # byte in the strings have single column in width. But it can be used for
13
+ # other situations by giving suitable arguments for some methods:
14
+ # * newline object and space generation block for PrettyPrint.new
15
+ # * optional width argument for PrettyPrint#text
16
+ # * PrettyPrint#breakable
17
+ #
18
+ # There are several candidate uses:
19
+ # * text formatting using proportional fonts
20
+ # * multibyte characters which has columns different to number of bytes
21
+ # * non-string formatting
22
+ #
23
+ # == Bugs
24
+ # * Box based formatting?
25
+ # * Other (better) model/algorithm?
26
+ #
27
+ # Report any bugs at http://bugs.ruby-lang.org
28
+ #
29
+ # == References
30
+ # Christian Lindig, Strictly Pretty, March 2000,
31
+ # https://lindig.github.io/papers/strictly-pretty-2000.pdf
32
+ #
33
+ # Philip Wadler, A prettier printer, March 1998,
34
+ # https://homepages.inf.ed.ac.uk/wadler/topics/language-design.html#prettier
35
+ #
36
+ # == Author
37
+ # Tanaka Akira <akr@fsij.org>
38
+ class PrettyPrint
39
+ # Creates a buffer for pretty printing.
40
+ #
41
+ # +output+ is an output target. If it is not specified, '' is assumed. It
42
+ # should have a << method which accepts the first argument +obj+ of
43
+ # PrettyPrint#text, the first argument +sep+ of PrettyPrint#breakable, the
44
+ # first argument +newline+ of PrettyPrint.new, and the result of a given
45
+ # block for PrettyPrint.new.
46
+ #
47
+ # +maxwidth+ specifies maximum line length. If it is not specified, 79 is
48
+ # assumed. However actual outputs may overflow +maxwidth+ if long
49
+ # non-breakable texts are provided.
50
+ #
51
+ # +newline+ is used for line breaks. "\n" is used if it is not specified.
52
+ #
53
+ # The block is used to generate spaces. {|width| ' ' * width} is used if it
54
+ # is not given.
55
+ #
56
+ # pkg:gem/prettyprint#lib/prettyprint.rb:84
57
+ def initialize(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), &genspace); end
58
+
59
+ # Breaks the buffer into lines that are shorter than #maxwidth
60
+ #
61
+ # pkg:gem/prettyprint#lib/prettyprint.rb:162
62
+ def break_outmost_groups; end
63
+
64
+ # This says "you can break a line here if necessary", and a +width+\-column
65
+ # text +sep+ is inserted if a line is not broken at the point.
66
+ #
67
+ # If +sep+ is not specified, " " is used.
68
+ #
69
+ # If +width+ is not specified, +sep.length+ is used. You will have to
70
+ # specify this when +sep+ is a multibyte character, for example.
71
+ #
72
+ # pkg:gem/prettyprint#lib/prettyprint.rb:226
73
+ def breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end
74
+
75
+ # Returns the group most recently added to the stack.
76
+ #
77
+ # Contrived example:
78
+ # out = ""
79
+ # => ""
80
+ # q = PrettyPrint.new(out)
81
+ # => #<PrettyPrint:0x82f85c0 @output="", @maxwidth=79, @newline="\n", @genspace=#<Proc:0x82f8368@/home/vbatts/.rvm/rubies/ruby-head/lib/ruby/2.0.0/prettyprint.rb:82 (lambda)>, @output_width=0, @buffer_width=0, @buffer=[], @group_stack=[#<PrettyPrint::Group:0x82f8138 @depth=0, @breakables=[], @break=false>], @group_queue=#<PrettyPrint::GroupQueue:0x82fb7c0 @queue=[[#<PrettyPrint::Group:0x82f8138 @depth=0, @breakables=[], @break=false>]]>, @indent=0>
82
+ # q.group {
83
+ # q.text q.current_group.inspect
84
+ # q.text q.newline
85
+ # q.group(q.current_group.depth + 1) {
86
+ # q.text q.current_group.inspect
87
+ # q.text q.newline
88
+ # q.group(q.current_group.depth + 1) {
89
+ # q.text q.current_group.inspect
90
+ # q.text q.newline
91
+ # q.group(q.current_group.depth + 1) {
92
+ # q.text q.current_group.inspect
93
+ # q.text q.newline
94
+ # }
95
+ # }
96
+ # }
97
+ # }
98
+ # => 284
99
+ # puts out
100
+ # #<PrettyPrint::Group:0x8354758 @depth=1, @breakables=[], @break=false>
101
+ # #<PrettyPrint::Group:0x8354550 @depth=2, @breakables=[], @break=false>
102
+ # #<PrettyPrint::Group:0x83541cc @depth=3, @breakables=[], @break=false>
103
+ # #<PrettyPrint::Group:0x8347e54 @depth=4, @breakables=[], @break=false>
104
+ #
105
+ # pkg:gem/prettyprint#lib/prettyprint.rb:157
106
+ def current_group; end
107
+
108
+ # This is similar to #breakable except
109
+ # the decision to break or not is determined individually.
110
+ #
111
+ # Two #fill_breakable under a group may cause 4 results:
112
+ # (break,break), (break,non-break), (non-break,break), (non-break,non-break).
113
+ # This is different to #breakable because two #breakable under a group
114
+ # may cause 2 results:
115
+ # (break,break), (non-break,non-break).
116
+ #
117
+ # The text +sep+ is inserted if a line is not broken at this point.
118
+ #
119
+ # If +sep+ is not specified, " " is used.
120
+ #
121
+ # If +width+ is not specified, +sep.length+ is used. You will have to
122
+ # specify this when +sep+ is a multibyte character, for example.
123
+ #
124
+ # pkg:gem/prettyprint#lib/prettyprint.rb:214
125
+ def fill_breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end
126
+
127
+ # outputs buffered data.
128
+ #
129
+ # pkg:gem/prettyprint#lib/prettyprint.rb:290
130
+ def flush; end
131
+
132
+ # A lambda or Proc, that takes one argument, of an Integer, and returns
133
+ # the corresponding number of spaces.
134
+ #
135
+ # By default this is:
136
+ # lambda {|n| ' ' * n}
137
+ #
138
+ # pkg:gem/prettyprint#lib/prettyprint.rb:120
139
+ def genspace; end
140
+
141
+ # Groups line break hints added in the block. The line break hints are all
142
+ # to be used or not.
143
+ #
144
+ # If +indent+ is specified, the method call is regarded as nested by
145
+ # nest(indent) { ... }.
146
+ #
147
+ # If +open_obj+ is specified, <tt>text open_obj, open_width</tt> is called
148
+ # before grouping. If +close_obj+ is specified, <tt>text close_obj,
149
+ # close_width</tt> is called after grouping.
150
+ #
151
+ # pkg:gem/prettyprint#lib/prettyprint.rb:251
152
+ def group(indent = T.unsafe(nil), open_obj = T.unsafe(nil), close_obj = T.unsafe(nil), open_width = T.unsafe(nil), close_width = T.unsafe(nil)); end
153
+
154
+ # The PrettyPrint::GroupQueue of groups in stack to be pretty printed
155
+ #
156
+ # pkg:gem/prettyprint#lib/prettyprint.rb:126
157
+ def group_queue; end
158
+
159
+ # Takes a block and queues a new group that is indented 1 level further.
160
+ #
161
+ # pkg:gem/prettyprint#lib/prettyprint.rb:262
162
+ def group_sub; end
163
+
164
+ # The number of spaces to be indented
165
+ #
166
+ # pkg:gem/prettyprint#lib/prettyprint.rb:123
167
+ def indent; end
168
+
169
+ # The maximum width of a line, before it is separated in to a newline
170
+ #
171
+ # This defaults to 79, and should be an Integer
172
+ #
173
+ # pkg:gem/prettyprint#lib/prettyprint.rb:108
174
+ def maxwidth; end
175
+
176
+ # Increases left margin after newline with +indent+ for line breaks added in
177
+ # the block.
178
+ #
179
+ # pkg:gem/prettyprint#lib/prettyprint.rb:279
180
+ def nest(indent); end
181
+
182
+ # The value that is appended to +output+ to add a new line.
183
+ #
184
+ # This defaults to "\n", and should be String
185
+ #
186
+ # pkg:gem/prettyprint#lib/prettyprint.rb:113
187
+ def newline; end
188
+
189
+ # The output object.
190
+ #
191
+ # This defaults to '', and should accept the << method
192
+ #
193
+ # pkg:gem/prettyprint#lib/prettyprint.rb:103
194
+ def output; end
195
+
196
+ # This adds +obj+ as a text of +width+ columns in width.
197
+ #
198
+ # If +width+ is not specified, obj.length is used.
199
+ #
200
+ # pkg:gem/prettyprint#lib/prettyprint.rb:182
201
+ def text(obj, width = T.unsafe(nil)); end
202
+
203
+ class << self
204
+ # This is a convenience method which is same as follows:
205
+ #
206
+ # begin
207
+ # q = PrettyPrint.new(output, maxwidth, newline, &genspace)
208
+ # ...
209
+ # q.flush
210
+ # output
211
+ # end
212
+ #
213
+ # pkg:gem/prettyprint#lib/prettyprint.rb:47
214
+ def format(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), genspace = T.unsafe(nil)); end
215
+
216
+ # This is similar to PrettyPrint::format but the result has no breaks.
217
+ #
218
+ # +maxwidth+, +newline+ and +genspace+ are ignored.
219
+ #
220
+ # The invocation of +breakable+ in the block doesn't break a line and is
221
+ # treated as just an invocation of +text+.
222
+ #
223
+ # pkg:gem/prettyprint#lib/prettyprint.rb:61
224
+ def singleline_format(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), genspace = T.unsafe(nil)); end
225
+ end
226
+ end
227
+
228
+ # The Breakable class is used for breaking up object information
229
+ #
230
+ # This class is intended for internal use of the PrettyPrint buffers.
231
+ class PrettyPrint::Breakable
232
+ # Create a new Breakable object.
233
+ #
234
+ # Arguments:
235
+ # * +sep+ String of the separator
236
+ # * +width+ Integer width of the +sep+
237
+ # * +q+ parent PrettyPrint object, to base from
238
+ #
239
+ # pkg:gem/prettyprint#lib/prettyprint.rb:347
240
+ def initialize(sep, width, q); end
241
+
242
+ # The number of spaces to indent.
243
+ #
244
+ # This is inferred from +q+ within PrettyPrint, passed in ::new
245
+ #
246
+ # pkg:gem/prettyprint#lib/prettyprint.rb:367
247
+ def indent; end
248
+
249
+ # Holds the separator String
250
+ #
251
+ # The +sep+ argument from ::new
252
+ #
253
+ # pkg:gem/prettyprint#lib/prettyprint.rb:359
254
+ def obj; end
255
+
256
+ # Render the String text of the objects that have been added to this
257
+ # Breakable object.
258
+ #
259
+ # Output the text to +out+, and increment the width to +output_width+
260
+ #
261
+ # pkg:gem/prettyprint#lib/prettyprint.rb:373
262
+ def output(out, output_width); end
263
+
264
+ # The width of +obj+ / +sep+
265
+ #
266
+ # pkg:gem/prettyprint#lib/prettyprint.rb:362
267
+ def width; end
268
+ end
269
+
270
+ # The Group class is used for making indentation easier.
271
+ #
272
+ # While this class does neither the breaking into newlines nor indentation,
273
+ # it is used in a stack (as well as a queue) within PrettyPrint, to group
274
+ # objects.
275
+ #
276
+ # For information on using groups, see PrettyPrint#group
277
+ #
278
+ # This class is intended for internal use of the PrettyPrint buffers.
279
+ class PrettyPrint::Group
280
+ # Create a Group object
281
+ #
282
+ # Arguments:
283
+ # * +depth+ - this group's relation to previous groups
284
+ #
285
+ # pkg:gem/prettyprint#lib/prettyprint.rb:401
286
+ def initialize(depth); end
287
+
288
+ # Makes a break for this Group, and returns true
289
+ #
290
+ # pkg:gem/prettyprint#lib/prettyprint.rb:414
291
+ def break; end
292
+
293
+ # Boolean of whether this Group has made a break
294
+ #
295
+ # pkg:gem/prettyprint#lib/prettyprint.rb:419
296
+ def break?; end
297
+
298
+ # Array to hold the Breakable objects for this Group
299
+ #
300
+ # pkg:gem/prettyprint#lib/prettyprint.rb:411
301
+ def breakables; end
302
+
303
+ # This group's relation to previous groups
304
+ #
305
+ # pkg:gem/prettyprint#lib/prettyprint.rb:408
306
+ def depth; end
307
+
308
+ # Boolean of whether this Group has been queried for being first
309
+ #
310
+ # This is used as a predicate, and ought to be called first.
311
+ #
312
+ # pkg:gem/prettyprint#lib/prettyprint.rb:426
313
+ def first?; end
314
+ end
315
+
316
+ # The GroupQueue class is used for managing the queue of Group to be pretty
317
+ # printed.
318
+ #
319
+ # This queue groups the Group objects, based on their depth.
320
+ #
321
+ # This class is intended for internal use of the PrettyPrint buffers.
322
+ class PrettyPrint::GroupQueue
323
+ # Create a GroupQueue object
324
+ #
325
+ # Arguments:
326
+ # * +groups+ - one or more PrettyPrint::Group objects
327
+ #
328
+ # pkg:gem/prettyprint#lib/prettyprint.rb:447
329
+ def initialize(*groups); end
330
+
331
+ # Remote +group+ from this queue
332
+ #
333
+ # pkg:gem/prettyprint#lib/prettyprint.rb:479
334
+ def delete(group); end
335
+
336
+ # Returns the outer group of the queue
337
+ #
338
+ # pkg:gem/prettyprint#lib/prettyprint.rb:463
339
+ def deq; end
340
+
341
+ # Enqueue +group+
342
+ #
343
+ # This does not strictly append the group to the end of the queue,
344
+ # but instead adds it in line, base on the +group.depth+
345
+ #
346
+ # pkg:gem/prettyprint#lib/prettyprint.rb:456
347
+ def enq(group); end
348
+ end
349
+
350
+ # PrettyPrint::SingleLine is used by PrettyPrint.singleline_format
351
+ #
352
+ # It is passed to be similar to a PrettyPrint object itself, by responding to:
353
+ # * #text
354
+ # * #breakable
355
+ # * #nest
356
+ # * #group
357
+ # * #flush
358
+ # * #first?
359
+ #
360
+ # but instead, the output has no line breaks
361
+ class PrettyPrint::SingleLine
362
+ # Create a PrettyPrint::SingleLine object
363
+ #
364
+ # Arguments:
365
+ # * +output+ - String (or similar) to store rendered text. Needs to respond to '<<'
366
+ # * +maxwidth+ - Argument position expected to be here for compatibility.
367
+ # This argument is a noop.
368
+ # * +newline+ - Argument position expected to be here for compatibility.
369
+ # This argument is a noop.
370
+ #
371
+ # pkg:gem/prettyprint#lib/prettyprint.rb:505
372
+ def initialize(output, maxwidth = T.unsafe(nil), newline = T.unsafe(nil)); end
373
+
374
+ # Appends +sep+ to the text to be output. By default +sep+ is ' '
375
+ #
376
+ # +width+ argument is here for compatibility. It is a noop argument.
377
+ #
378
+ # pkg:gem/prettyprint#lib/prettyprint.rb:520
379
+ def breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end
380
+
381
+ # This is used as a predicate, and ought to be called first.
382
+ #
383
+ # pkg:gem/prettyprint#lib/prettyprint.rb:552
384
+ def first?; end
385
+
386
+ # Method present for compatibility, but is a noop
387
+ #
388
+ # pkg:gem/prettyprint#lib/prettyprint.rb:548
389
+ def flush; end
390
+
391
+ # Opens a block for grouping objects to be pretty printed.
392
+ #
393
+ # Arguments:
394
+ # * +indent+ - noop argument. Present for compatibility.
395
+ # * +open_obj+ - text appended before the &blok. Default is ''
396
+ # * +close_obj+ - text appended after the &blok. Default is ''
397
+ # * +open_width+ - noop argument. Present for compatibility.
398
+ # * +close_width+ - noop argument. Present for compatibility.
399
+ #
400
+ # pkg:gem/prettyprint#lib/prettyprint.rb:539
401
+ def group(indent = T.unsafe(nil), open_obj = T.unsafe(nil), close_obj = T.unsafe(nil), open_width = T.unsafe(nil), close_width = T.unsafe(nil)); end
402
+
403
+ # Takes +indent+ arg, but does nothing with it.
404
+ #
405
+ # Yields to a block.
406
+ #
407
+ # pkg:gem/prettyprint#lib/prettyprint.rb:527
408
+ def nest(indent); end
409
+
410
+ # Add +obj+ to the text to be output.
411
+ #
412
+ # +width+ argument is here for compatibility. It is a noop argument.
413
+ #
414
+ # pkg:gem/prettyprint#lib/prettyprint.rb:513
415
+ def text(obj, width = T.unsafe(nil)); end
416
+ end
417
+
418
+ # The Text class is the means by which to collect strings from objects.
419
+ #
420
+ # This class is intended for internal use of the PrettyPrint buffers.
421
+ class PrettyPrint::Text
422
+ # Creates a new text object.
423
+ #
424
+ # This constructor takes no arguments.
425
+ #
426
+ # The workflow is to append a PrettyPrint::Text object to the buffer, and
427
+ # being able to call the buffer.last() to reference it.
428
+ #
429
+ # As there are objects, use PrettyPrint::Text#add to include the objects
430
+ # and the width to utilized by the String version of this object.
431
+ #
432
+ # pkg:gem/prettyprint#lib/prettyprint.rb:312
433
+ def initialize; end
434
+
435
+ # Include +obj+ in the objects to be pretty printed, and increment
436
+ # this Text object's total width by +width+
437
+ #
438
+ # pkg:gem/prettyprint#lib/prettyprint.rb:330
439
+ def add(obj, width); end
440
+
441
+ # Render the String text of the objects that have been added to this Text object.
442
+ #
443
+ # Output the text to +out+, and increment the width to +output_width+
444
+ #
445
+ # pkg:gem/prettyprint#lib/prettyprint.rb:323
446
+ def output(out, output_width); end
447
+
448
+ # The total width of the objects included in this Text object.
449
+ #
450
+ # pkg:gem/prettyprint#lib/prettyprint.rb:318
451
+ def width; end
452
+ end
453
+
454
+ # pkg:gem/prettyprint#lib/prettyprint.rb:36
455
+ PrettyPrint::VERSION = T.let(T.unsafe(nil), String)