parking_ticket 1.0.46 → 1.0.49

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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/.vscode/settings.json +3 -0
  4. data/Gemfile +0 -15
  5. data/Gemfile.lock +72 -4
  6. data/Rakefile +2 -2
  7. data/bin/console +3 -3
  8. data/bin/tapioca +29 -0
  9. data/lib/clients/models/payment_method.rb +15 -0
  10. data/lib/clients/models/quote.rb +16 -0
  11. data/lib/clients/models/rate_option.rb +19 -0
  12. data/lib/clients/models/structuraly_comparable.rb +14 -0
  13. data/lib/clients/models/ticket.rb +19 -0
  14. data/lib/clients/models/vehicle.rb +17 -0
  15. data/lib/clients/pay_by_phone/adapter.rb +107 -53
  16. data/lib/clients/pay_by_phone/client.rb +101 -38
  17. data/lib/parking_ticket/configuration.rb +3 -0
  18. data/lib/parking_ticket/version.rb +2 -1
  19. data/lib/parking_ticket.rb +79 -54
  20. data/sorbet/config +4 -0
  21. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  22. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  23. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  24. data/sorbet/rbi/gems/addressable@2.8.1.rbi +2000 -0
  25. data/sorbet/rbi/gems/amazing_print@1.4.0.rbi +872 -0
  26. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  27. data/sorbet/rbi/gems/crack@0.4.5.rbi +144 -0
  28. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
  29. data/sorbet/rbi/gems/faraday-net_http@3.0.2.rbi +146 -0
  30. data/sorbet/rbi/gems/faraday@2.7.2.rbi +2518 -0
  31. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +350 -0
  32. data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
  33. data/sorbet/rbi/gems/json_matchers@0.11.1.rbi +133 -0
  34. data/sorbet/rbi/gems/json_schema@0.21.0.rbi +1165 -0
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
  36. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  37. data/sorbet/rbi/gems/parser@3.2.2.0.rbi +7207 -0
  38. data/sorbet/rbi/gems/public_suffix@5.0.1.rbi +940 -0
  39. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  40. data/sorbet/rbi/gems/rake@13.0.6.rbi +2881 -0
  41. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  42. data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +3600 -0
  43. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4823 -0
  44. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10826 -0
  45. data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +8118 -0
  46. data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +5300 -0
  47. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1615 -0
  48. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  49. data/sorbet/rbi/gems/rubocop-ast@1.28.0.rbi +6985 -0
  50. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +1043 -0
  51. data/sorbet/rbi/gems/rubocop@1.48.1.rbi +54934 -0
  52. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  53. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  54. data/sorbet/rbi/gems/spoom@1.2.1.rbi +2503 -0
  55. data/sorbet/rbi/gems/tapioca@0.11.4.rbi +3212 -0
  56. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  57. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  58. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
  59. data/sorbet/rbi/gems/vcr@6.1.0.rbi +3023 -0
  60. data/sorbet/rbi/gems/webmock@3.18.1.rbi +1728 -0
  61. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2584 -0
  62. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
  63. data/sorbet/rbi/gems/yard@0.9.28.rbi +17802 -0
  64. data/sorbet/tapioca/config.yml +13 -0
  65. data/sorbet/tapioca/require.rb +4 -0
  66. metadata +241 -4
  67. data/lib/clients/adapter.rb +0 -75
@@ -0,0 +1,872 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `amazing_print` gem.
5
+ # Please instead update this file by running `bin/tapioca gem amazing_print`.
6
+
7
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#3
8
+ module AmazingPrint
9
+ class << self
10
+ # @return [Boolean]
11
+ #
12
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#14
13
+ def console?; end
14
+
15
+ # Returns the value of attribute defaults.
16
+ #
17
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#5
18
+ def defaults; end
19
+
20
+ # Sets the attribute defaults
21
+ #
22
+ # @param value the value to set the attribute defaults to.
23
+ #
24
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#5
25
+ def defaults=(_arg0); end
26
+
27
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#22
28
+ def diet_rb; end
29
+
30
+ # Returns the value of attribute force_colors.
31
+ #
32
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#5
33
+ def force_colors; end
34
+
35
+ # Class accessor to force colorized output (ex. forked subprocess where TERM
36
+ # might be dumb).
37
+ # ---------------------------------------------------------------------------
38
+ #
39
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#10
40
+ def force_colors!(colors: T.unsafe(nil)); end
41
+
42
+ # Sets the attribute force_colors
43
+ #
44
+ # @param value the value to set the attribute force_colors to.
45
+ #
46
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#5
47
+ def force_colors=(_arg0); end
48
+
49
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#40
50
+ def irb!; end
51
+
52
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#46
53
+ def pry!; end
54
+
55
+ # @return [Boolean]
56
+ #
57
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#18
58
+ def rails_console?; end
59
+
60
+ # Reload the cached custom configurations.
61
+ #
62
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#53
63
+ def reload!; end
64
+
65
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#30
66
+ def usual_rb; end
67
+
68
+ # source://amazing_print//lib/amazing_print/version.rb#9
69
+ def version; end
70
+
71
+ private
72
+
73
+ # Takes a value and returns true unless it is false or nil
74
+ # This is an alternative to the less readable !!(value)
75
+ # https://github.com/bbatsov/ruby-style-guide#no-bang-bang
76
+ #
77
+ # source://amazing_print//lib/amazing_print/custom_defaults.rb#62
78
+ def boolean(value); end
79
+ end
80
+ end
81
+
82
+ # source://amazing_print//lib/amazing_print/colorize.rb#6
83
+ module AmazingPrint::Colorize
84
+ # Pick the color and apply it to the given string as necessary.
85
+ # ------------------------------------------------------------------------------
86
+ #
87
+ # source://amazing_print//lib/amazing_print/colorize.rb#9
88
+ def colorize(str, type); end
89
+ end
90
+
91
+ # source://amazing_print//lib/amazing_print/formatter.rb#11
92
+ class AmazingPrint::Formatter
93
+ include ::AmazingPrint::Colorize
94
+ include ::AmazingPrint::OpenStruct
95
+
96
+ # @return [Formatter] a new instance of Formatter
97
+ #
98
+ # source://amazing_print//lib/amazing_print/formatter.rb#18
99
+ def initialize(inspector); end
100
+
101
+ # Hook this when adding custom formatters. Check out lib/amazing_print/ext
102
+ # directory for custom formatters that ship with amazing_print.
103
+ # ------------------------------------------------------------------------------
104
+ #
105
+ # source://amazing_print//lib/amazing_print/ext/ostruct.rb#15
106
+ def cast(object, type); end
107
+
108
+ # source://amazing_print//lib/amazing_print/formatter.rb#37
109
+ def cast_without_ostruct(_object, type); end
110
+
111
+ # Main entry point to format an object.
112
+ # ------------------------------------------------------------------------------
113
+ #
114
+ # source://amazing_print//lib/amazing_print/formatter.rb#25
115
+ def format(object, type = T.unsafe(nil)); end
116
+
117
+ # Returns the value of attribute inspector.
118
+ #
119
+ # source://amazing_print//lib/amazing_print/formatter.rb#14
120
+ def inspector; end
121
+
122
+ # Returns the value of attribute options.
123
+ #
124
+ # source://amazing_print//lib/amazing_print/formatter.rb#14
125
+ def options; end
126
+
127
+ private
128
+
129
+ # source://amazing_print//lib/amazing_print/formatter.rb#71
130
+ def awesome_array(a); end
131
+
132
+ # source://amazing_print//lib/amazing_print/formatter.rb#55
133
+ def awesome_bigdecimal(n); end
134
+
135
+ # source://amazing_print//lib/amazing_print/formatter.rb#96
136
+ def awesome_class(c); end
137
+
138
+ # source://amazing_print//lib/amazing_print/formatter.rb#104
139
+ def awesome_dir(d); end
140
+
141
+ # source://amazing_print//lib/amazing_print/formatter.rb#100
142
+ def awesome_file(f); end
143
+
144
+ # source://amazing_print//lib/amazing_print/formatter.rb#79
145
+ def awesome_hash(h); end
146
+
147
+ # source://amazing_print//lib/amazing_print/formatter.rb#91
148
+ def awesome_method(m); end
149
+
150
+ # source://amazing_print//lib/amazing_print/formatter.rb#83
151
+ def awesome_object(o); end
152
+
153
+ # source://amazing_print//lib/amazing_print/formatter.rb#61
154
+ def awesome_rational(n); end
155
+
156
+ # Catch all method to format an arbitrary object.
157
+ # ------------------------------------------------------------------------------
158
+ #
159
+ # source://amazing_print//lib/amazing_print/formatter.rb#45
160
+ def awesome_self(object, type); end
161
+
162
+ # source://amazing_print//lib/amazing_print/formatter.rb#75
163
+ def awesome_set(s); end
164
+
165
+ # source://amazing_print//lib/amazing_print/formatter.rb#67
166
+ def awesome_simple(o, type, inspector = T.unsafe(nil)); end
167
+
168
+ # source://amazing_print//lib/amazing_print/formatter.rb#87
169
+ def awesome_struct(s); end
170
+
171
+ # source://amazing_print//lib/amazing_print/formatter.rb#91
172
+ def awesome_unboundmethod(m); end
173
+
174
+ # Utility methods.
175
+ # ------------------------------------------------------------------------------
176
+ #
177
+ # source://amazing_print//lib/amazing_print/formatter.rb#110
178
+ def convert_to_hash(object); end
179
+ end
180
+
181
+ # source://amazing_print//lib/amazing_print/formatter.rb#16
182
+ AmazingPrint::Formatter::CORE_FORMATTERS = T.let(T.unsafe(nil), Array)
183
+
184
+ # source://amazing_print//lib/amazing_print/formatters.rb#4
185
+ module AmazingPrint::Formatters; end
186
+
187
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#7
188
+ class AmazingPrint::Formatters::ArrayFormatter < ::AmazingPrint::Formatters::BaseFormatter
189
+ # @return [ArrayFormatter] a new instance of ArrayFormatter
190
+ #
191
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#10
192
+ def initialize(array, inspector); end
193
+
194
+ # Returns the value of attribute array.
195
+ #
196
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#8
197
+ def array; end
198
+
199
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#17
200
+ def format; end
201
+
202
+ # Returns the value of attribute inspector.
203
+ #
204
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#8
205
+ def inspector; end
206
+
207
+ # Returns the value of attribute options.
208
+ #
209
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#8
210
+ def options; end
211
+
212
+ private
213
+
214
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#59
215
+ def array_prefix(iteration, width); end
216
+
217
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#113
218
+ def find_method(name); end
219
+
220
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#51
221
+ def generate_printable_array; end
222
+
223
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#71
224
+ def generate_printable_tuples; end
225
+
226
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#104
227
+ def generate_tuple(name); end
228
+
229
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#129
230
+ def generic_prefix(iteration, width, padding = T.unsafe(nil)); end
231
+
232
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#63
233
+ def methods_array; end
234
+
235
+ # @return [Boolean]
236
+ #
237
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#29
238
+ def methods_array?; end
239
+
240
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#41
241
+ def multiline_array; end
242
+
243
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#94
244
+ def name_and_args_width; end
245
+
246
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#33
247
+ def simple_array; end
248
+
249
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#100
250
+ def tuple_prefix(iteration, width); end
251
+
252
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#79
253
+ def tuple_template(item); end
254
+
255
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#90
256
+ def tuples; end
257
+
258
+ # source://amazing_print//lib/amazing_print/formatters/array_formatter.rb#137
259
+ def width(items); end
260
+ end
261
+
262
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#7
263
+ class AmazingPrint::Formatters::BaseFormatter
264
+ include ::AmazingPrint::Colorize
265
+
266
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#130
267
+ def align(value, width); end
268
+
269
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#36
270
+ def get_limit_size; end
271
+
272
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#120
273
+ def indent(n = T.unsafe(nil)); end
274
+
275
+ # Indentation related methods
276
+ # -----------------------------------------
277
+ #
278
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#109
279
+ def indentation; end
280
+
281
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#113
282
+ def indented(&blk); end
283
+
284
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#45
285
+ def limited(data, width, is_hash: T.unsafe(nil)); end
286
+
287
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#67
288
+ def method_tuple(method); end
289
+
290
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#124
291
+ def outdent; end
292
+
293
+ # To support limited output, for example:
294
+ #
295
+ # ap ('a'..'z').to_a, :limit => 3
296
+ # [
297
+ # [ 0] "a",
298
+ # [ 1] .. [24],
299
+ # [25] "z"
300
+ # ]
301
+ #
302
+ # ap (1..100).to_a, :limit => true # Default limit is 7.
303
+ # [
304
+ # [ 0] 1,
305
+ # [ 1] 2,
306
+ # [ 2] 3,
307
+ # [ 3] .. [96],
308
+ # [97] 98,
309
+ # [98] 99,
310
+ # [99] 100
311
+ # ]
312
+ # ------------------------------------------------------------------------------
313
+ #
314
+ # @return [Boolean]
315
+ #
316
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#32
317
+ def should_be_limited?; end
318
+ end
319
+
320
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#10
321
+ AmazingPrint::Formatters::BaseFormatter::DEFAULT_LIMIT_SIZE = T.let(T.unsafe(nil), Integer)
322
+
323
+ # precompute common indentations
324
+ #
325
+ # source://amazing_print//lib/amazing_print/formatters/base_formatter.rb#118
326
+ AmazingPrint::Formatters::BaseFormatter::INDENT_CACHE = T.let(T.unsafe(nil), Array)
327
+
328
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#7
329
+ class AmazingPrint::Formatters::ClassFormatter < ::AmazingPrint::Formatters::BaseFormatter
330
+ # @return [ClassFormatter] a new instance of ClassFormatter
331
+ #
332
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#10
333
+ def initialize(klass, inspector); end
334
+
335
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#17
336
+ def format; end
337
+
338
+ # Returns the value of attribute inspector.
339
+ #
340
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#8
341
+ def inspector; end
342
+
343
+ # Returns the value of attribute klass.
344
+ #
345
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#8
346
+ def klass; end
347
+
348
+ # Returns the value of attribute options.
349
+ #
350
+ # source://amazing_print//lib/amazing_print/formatters/class_formatter.rb#8
351
+ def options; end
352
+ end
353
+
354
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#9
355
+ class AmazingPrint::Formatters::DirFormatter < ::AmazingPrint::Formatters::BaseFormatter
356
+ # @return [DirFormatter] a new instance of DirFormatter
357
+ #
358
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#12
359
+ def initialize(dir, inspector); end
360
+
361
+ # Returns the value of attribute dir.
362
+ #
363
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#10
364
+ def dir; end
365
+
366
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#19
367
+ def format; end
368
+
369
+ # Returns the value of attribute inspector.
370
+ #
371
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#10
372
+ def inspector; end
373
+
374
+ # Returns the value of attribute options.
375
+ #
376
+ # source://amazing_print//lib/amazing_print/formatters/dir_formatter.rb#10
377
+ def options; end
378
+ end
379
+
380
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#9
381
+ class AmazingPrint::Formatters::FileFormatter < ::AmazingPrint::Formatters::BaseFormatter
382
+ # @return [FileFormatter] a new instance of FileFormatter
383
+ #
384
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#12
385
+ def initialize(file, inspector); end
386
+
387
+ # Returns the value of attribute file.
388
+ #
389
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#10
390
+ def file; end
391
+
392
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#19
393
+ def format; end
394
+
395
+ # Returns the value of attribute inspector.
396
+ #
397
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#10
398
+ def inspector; end
399
+
400
+ # Returns the value of attribute options.
401
+ #
402
+ # source://amazing_print//lib/amazing_print/formatters/file_formatter.rb#10
403
+ def options; end
404
+ end
405
+
406
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#7
407
+ class AmazingPrint::Formatters::HashFormatter < ::AmazingPrint::Formatters::BaseFormatter
408
+ # @return [HashFormatter] a new instance of HashFormatter
409
+ #
410
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#10
411
+ def initialize(hash, inspector); end
412
+
413
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#17
414
+ def format; end
415
+
416
+ # Returns the value of attribute hash.
417
+ #
418
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#8
419
+ def hash; end
420
+
421
+ # Returns the value of attribute inspector.
422
+ #
423
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#8
424
+ def inspector; end
425
+
426
+ # Returns the value of attribute options.
427
+ #
428
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#8
429
+ def options; end
430
+
431
+ private
432
+
433
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#29
434
+ def empty_hash; end
435
+
436
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#62
437
+ def left_width(keys); end
438
+
439
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#68
440
+ def max_key_width(keys); end
441
+
442
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#37
443
+ def multiline_hash; end
444
+
445
+ # @return [Boolean]
446
+ #
447
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#33
448
+ def multiline_hash?; end
449
+
450
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#97
451
+ def plain_single_line; end
452
+
453
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#93
454
+ def pre_ruby19_syntax(key, value, width); end
455
+
456
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#45
457
+ def printable_hash; end
458
+
459
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#72
460
+ def printable_keys; end
461
+
462
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#88
463
+ def ruby19_syntax(key, value, width); end
464
+
465
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#41
466
+ def simple_hash; end
467
+
468
+ # @return [Boolean]
469
+ #
470
+ # source://amazing_print//lib/amazing_print/formatters/hash_formatter.rb#84
471
+ def symbol?(key); end
472
+ end
473
+
474
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#7
475
+ class AmazingPrint::Formatters::MethodFormatter < ::AmazingPrint::Formatters::BaseFormatter
476
+ # @return [MethodFormatter] a new instance of MethodFormatter
477
+ #
478
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#10
479
+ def initialize(method, inspector); end
480
+
481
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#17
482
+ def format; end
483
+
484
+ # Returns the value of attribute inspector.
485
+ #
486
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#8
487
+ def inspector; end
488
+
489
+ # Returns the value of attribute method.
490
+ #
491
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#8
492
+ def method; end
493
+
494
+ # Returns the value of attribute options.
495
+ #
496
+ # source://amazing_print//lib/amazing_print/formatters/method_formatter.rb#8
497
+ def options; end
498
+ end
499
+
500
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#7
501
+ class AmazingPrint::Formatters::ObjectFormatter < ::AmazingPrint::Formatters::BaseFormatter
502
+ # @return [ObjectFormatter] a new instance of ObjectFormatter
503
+ #
504
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#10
505
+ def initialize(object, inspector); end
506
+
507
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#18
508
+ def format; end
509
+
510
+ # Returns the value of attribute inspector.
511
+ #
512
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#8
513
+ def inspector; end
514
+
515
+ # Returns the value of attribute object.
516
+ #
517
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#8
518
+ def object; end
519
+
520
+ # Returns the value of attribute options.
521
+ #
522
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#8
523
+ def options; end
524
+
525
+ # Returns the value of attribute variables.
526
+ #
527
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#8
528
+ def variables; end
529
+
530
+ private
531
+
532
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#64
533
+ def awesome_instance; end
534
+
535
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#75
536
+ def left_aligned; end
537
+
538
+ # @return [Boolean]
539
+ #
540
+ # source://amazing_print//lib/amazing_print/formatters/object_formatter.rb#60
541
+ def valid_instance_var?(variable_name); end
542
+ end
543
+
544
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#7
545
+ class AmazingPrint::Formatters::SimpleFormatter < ::AmazingPrint::Formatters::BaseFormatter
546
+ # @return [SimpleFormatter] a new instance of SimpleFormatter
547
+ #
548
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#10
549
+ def initialize(string, type, inspector); end
550
+
551
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#18
552
+ def format; end
553
+
554
+ # Returns the value of attribute inspector.
555
+ #
556
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#8
557
+ def inspector; end
558
+
559
+ # Returns the value of attribute options.
560
+ #
561
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#8
562
+ def options; end
563
+
564
+ # Returns the value of attribute string.
565
+ #
566
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#8
567
+ def string; end
568
+
569
+ # Returns the value of attribute type.
570
+ #
571
+ # source://amazing_print//lib/amazing_print/formatters/simple_formatter.rb#8
572
+ def type; end
573
+ end
574
+
575
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#7
576
+ class AmazingPrint::Formatters::StructFormatter < ::AmazingPrint::Formatters::BaseFormatter
577
+ # @return [StructFormatter] a new instance of StructFormatter
578
+ #
579
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#10
580
+ def initialize(struct, inspector); end
581
+
582
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#18
583
+ def format; end
584
+
585
+ # Returns the value of attribute inspector.
586
+ #
587
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#8
588
+ def inspector; end
589
+
590
+ # Returns the value of attribute options.
591
+ #
592
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#8
593
+ def options; end
594
+
595
+ # Returns the value of attribute struct.
596
+ #
597
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#8
598
+ def struct; end
599
+
600
+ # Returns the value of attribute variables.
601
+ #
602
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#8
603
+ def variables; end
604
+
605
+ private
606
+
607
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#60
608
+ def awesome_instance; end
609
+
610
+ # source://amazing_print//lib/amazing_print/formatters/struct_formatter.rb#68
611
+ def left_aligned; end
612
+ end
613
+
614
+ # source://amazing_print//lib/amazing_print/indentator.rb#4
615
+ class AmazingPrint::Indentator
616
+ # @return [Indentator] a new instance of Indentator
617
+ #
618
+ # source://amazing_print//lib/amazing_print/indentator.rb#7
619
+ def initialize(indentation); end
620
+
621
+ # source://amazing_print//lib/amazing_print/indentator.rb#12
622
+ def indent; end
623
+
624
+ # Returns the value of attribute indentation.
625
+ #
626
+ # source://amazing_print//lib/amazing_print/indentator.rb#5
627
+ def indentation; end
628
+
629
+ # Returns the value of attribute shift_width.
630
+ #
631
+ # source://amazing_print//lib/amazing_print/indentator.rb#5
632
+ def shift_width; end
633
+ end
634
+
635
+ # source://amazing_print//lib/amazing_print/inspector.rb#14
636
+ class AmazingPrint::Inspector
637
+ # @return [Inspector] a new instance of Inspector
638
+ #
639
+ # source://amazing_print//lib/amazing_print/inspector.rb#28
640
+ def initialize(options = T.unsafe(nil)); end
641
+
642
+ # Dispatcher that detects data nesting and invokes object-aware formatter.
643
+ # ---------------------------------------------------------------------------
644
+ #
645
+ # source://amazing_print//lib/amazing_print/inspector.rb#85
646
+ def awesome(object); end
647
+
648
+ # Return true if we are to colorize the output.
649
+ # ---------------------------------------------------------------------------
650
+ #
651
+ # @return [Boolean]
652
+ #
653
+ # source://amazing_print//lib/amazing_print/inspector.rb#100
654
+ def colorize?; end
655
+
656
+ # source://amazing_print//lib/amazing_print/inspector.rb#75
657
+ def current_indentation; end
658
+
659
+ # source://amazing_print//lib/amazing_print/inspector.rb#79
660
+ def increase_indentation(&blk); end
661
+
662
+ # Returns the value of attribute indentator.
663
+ #
664
+ # source://amazing_print//lib/amazing_print/inspector.rb#15
665
+ def indentator; end
666
+
667
+ # Sets the attribute indentator
668
+ #
669
+ # @param value the value to set the attribute indentator to.
670
+ #
671
+ # source://amazing_print//lib/amazing_print/inspector.rb#15
672
+ def indentator=(_arg0); end
673
+
674
+ # Returns the value of attribute options.
675
+ #
676
+ # source://amazing_print//lib/amazing_print/inspector.rb#15
677
+ def options; end
678
+
679
+ # Sets the attribute options
680
+ #
681
+ # @param value the value to set the attribute options to.
682
+ #
683
+ # source://amazing_print//lib/amazing_print/inspector.rb#15
684
+ def options=(_arg0); end
685
+
686
+ private
687
+
688
+ # @return [Boolean]
689
+ #
690
+ # source://amazing_print//lib/amazing_print/inspector.rb#182
691
+ def dotfile_readable?(dotfile); end
692
+
693
+ # source://amazing_print//lib/amazing_print/inspector.rb#162
694
+ def find_dotfile; end
695
+
696
+ # This method needs to be mocked during testing so that it always loads
697
+ # predictable values
698
+ # ---------------------------------------------------------------------------
699
+ #
700
+ # source://amazing_print//lib/amazing_print/inspector.rb#175
701
+ def load_dotfile; end
702
+
703
+ # Load ~/.aprc file with custom defaults that override default options.
704
+ # ---------------------------------------------------------------------------
705
+ #
706
+ # source://amazing_print//lib/amazing_print/inspector.rb#190
707
+ def merge_custom_defaults!; end
708
+
709
+ # Update @options by first merging the :color hash and then the remaining
710
+ # keys.
711
+ # ---------------------------------------------------------------------------
712
+ #
713
+ # source://amazing_print//lib/amazing_print/inspector.rb#157
714
+ def merge_options!(options = T.unsafe(nil)); end
715
+
716
+ # Format nested data, for example:
717
+ # arr = [1, 2]; arr << arr
718
+ # => [1,2, [...]]
719
+ # hash = { :a => 1 }; hash[:b] = hash
720
+ # => { :a => 1, :b => {...} }
721
+ # ---------------------------------------------------------------------------
722
+ #
723
+ # source://amazing_print//lib/amazing_print/inspector.rb#125
724
+ def nested(object); end
725
+
726
+ # Turn class name into symbol, ex: Hello::World => :hello_world. Classes
727
+ # that inherit from Array, Hash, File, Dir, and Struct are treated as the
728
+ # base class.
729
+ # ---------------------------------------------------------------------------
730
+ #
731
+ # source://amazing_print//lib/amazing_print/inspector.rb#143
732
+ def printable(object); end
733
+
734
+ # ---------------------------------------------------------------------------
735
+ #
736
+ # source://amazing_print//lib/amazing_print/inspector.rb#135
737
+ def unnested(object); end
738
+
739
+ class << self
740
+ # Unload the cached dotfile and load it again.
741
+ #
742
+ # source://amazing_print//lib/amazing_print/inspector.rb#22
743
+ def reload_dotfile; end
744
+ end
745
+ end
746
+
747
+ # source://amazing_print//lib/amazing_print/inspector.rb#17
748
+ AmazingPrint::Inspector::AP = T.let(T.unsafe(nil), Symbol)
749
+
750
+ # source://amazing_print//lib/amazing_print/core_ext/logger.rb#9
751
+ module AmazingPrint::Logger
752
+ # Add ap method to logger
753
+ # ------------------------------------------------------------------------------
754
+ #
755
+ # source://amazing_print//lib/amazing_print/core_ext/logger.rb#12
756
+ def ap(object, options = T.unsafe(nil)); end
757
+ end
758
+
759
+ # source://amazing_print//lib/amazing_print/ext/ostruct.rb#9
760
+ module AmazingPrint::OpenStruct
761
+ # source://amazing_print//lib/amazing_print/ext/ostruct.rb#21
762
+ def awesome_open_struct_instance(object); end
763
+
764
+ # source://amazing_print//lib/amazing_print/ext/ostruct.rb#15
765
+ def cast_with_ostruct(object, type); end
766
+
767
+ class << self
768
+ # @private
769
+ #
770
+ # source://amazing_print//lib/amazing_print/ext/ostruct.rb#10
771
+ def included(base); end
772
+ end
773
+ end
774
+
775
+ # source://amazing_print//lib/amazing_print/core_ext/awesome_method_array.rb#17
776
+ module AwesomeMethodArray
777
+ # source://amazing_print//lib/amazing_print/core_ext/awesome_method_array.rb#24
778
+ def &(other); end
779
+
780
+ # source://amazing_print//lib/amazing_print/core_ext/awesome_method_array.rb#18
781
+ def -(other); end
782
+
783
+ # Intercepting Array#grep needs a special treatment since grep accepts
784
+ # an optional block.
785
+ #
786
+ # source://amazing_print//lib/amazing_print/core_ext/awesome_method_array.rb#34
787
+ def grep(pattern, &blk); end
788
+ end
789
+
790
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#8
791
+ module Kernel
792
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#9
793
+ def ai(options = T.unsafe(nil)); end
794
+
795
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#20
796
+ def amazing_print(object, options = T.unsafe(nil)); end
797
+
798
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#9
799
+ def awesome_inspect(options = T.unsafe(nil)); end
800
+
801
+ private
802
+
803
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#20
804
+ def ap(object, options = T.unsafe(nil)); end
805
+
806
+ class << self
807
+ # source://amazing_print//lib/amazing_print/core_ext/kernel.rb#20
808
+ def ap(object, options = T.unsafe(nil)); end
809
+ end
810
+ end
811
+
812
+ class Logger
813
+ include ::AmazingPrint::Logger
814
+ end
815
+
816
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#10
817
+ class String
818
+ include ::Comparable
819
+
820
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
821
+ def blue(html = T.unsafe(nil), *_arg1); end
822
+
823
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
824
+ def blueish(html = T.unsafe(nil), *_arg1); end
825
+
826
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
827
+ def cyan(html = T.unsafe(nil), *_arg1); end
828
+
829
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
830
+ def cyanish(html = T.unsafe(nil), *_arg1); end
831
+
832
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
833
+ def gray(html = T.unsafe(nil), *_arg1); end
834
+
835
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
836
+ def grayish(html = T.unsafe(nil), *_arg1); end
837
+
838
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
839
+ def green(html = T.unsafe(nil), *_arg1); end
840
+
841
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
842
+ def greenish(html = T.unsafe(nil), *_arg1); end
843
+
844
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
845
+ def purple(html = T.unsafe(nil), *_arg1); end
846
+
847
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
848
+ def purpleish(html = T.unsafe(nil), *_arg1); end
849
+
850
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
851
+ def red(html = T.unsafe(nil), *_arg1); end
852
+
853
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
854
+ def redish(html = T.unsafe(nil), *_arg1); end
855
+
856
+ # Remove ANSI color codes.
857
+ #
858
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#42
859
+ def uncolor; end
860
+
861
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
862
+ def white(html = T.unsafe(nil), *_arg1); end
863
+
864
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
865
+ def whiteish(html = T.unsafe(nil), *_arg1); end
866
+
867
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#29
868
+ def yellow(html = T.unsafe(nil), *_arg1); end
869
+
870
+ # source://amazing_print//lib/amazing_print/core_ext/string.rb#36
871
+ def yellowish(html = T.unsafe(nil), *_arg1); end
872
+ end