toys 0.15.6 → 0.16.0

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +2 -2
  4. data/builtins/system/tools.rb +1 -1
  5. data/lib/toys/templates/clean.rb +1 -1
  6. data/lib/toys/templates/gem_build.rb +1 -1
  7. data/lib/toys/templates/rubocop.rb +4 -1
  8. data/lib/toys/version.rb +1 -1
  9. metadata +8 -63
  10. data/core-docs/toys/acceptor.rb +0 -474
  11. data/core-docs/toys/arg_parser.rb +0 -397
  12. data/core-docs/toys/cli.rb +0 -466
  13. data/core-docs/toys/compat.rb +0 -2
  14. data/core-docs/toys/completion.rb +0 -340
  15. data/core-docs/toys/context.rb +0 -386
  16. data/core-docs/toys/core.rb +0 -14
  17. data/core-docs/toys/dsl/base.rb +0 -56
  18. data/core-docs/toys/dsl/flag.rb +0 -284
  19. data/core-docs/toys/dsl/flag_group.rb +0 -267
  20. data/core-docs/toys/dsl/internal.rb +0 -4
  21. data/core-docs/toys/dsl/positional_arg.rb +0 -155
  22. data/core-docs/toys/dsl/tool.rb +0 -1639
  23. data/core-docs/toys/errors.rb +0 -126
  24. data/core-docs/toys/flag.rb +0 -560
  25. data/core-docs/toys/flag_group.rb +0 -186
  26. data/core-docs/toys/input_file.rb +0 -17
  27. data/core-docs/toys/loader.rb +0 -363
  28. data/core-docs/toys/middleware.rb +0 -336
  29. data/core-docs/toys/mixin.rb +0 -142
  30. data/core-docs/toys/module_lookup.rb +0 -75
  31. data/core-docs/toys/positional_arg.rb +0 -145
  32. data/core-docs/toys/settings.rb +0 -524
  33. data/core-docs/toys/source_info.rb +0 -271
  34. data/core-docs/toys/standard_middleware/add_verbosity_flags.rb +0 -49
  35. data/core-docs/toys/standard_middleware/apply_config.rb +0 -24
  36. data/core-docs/toys/standard_middleware/handle_usage_errors.rb +0 -33
  37. data/core-docs/toys/standard_middleware/set_default_descriptions.rb +0 -222
  38. data/core-docs/toys/standard_middleware/show_help.rb +0 -190
  39. data/core-docs/toys/standard_middleware/show_root_version.rb +0 -45
  40. data/core-docs/toys/standard_mixins/bundler.rb +0 -98
  41. data/core-docs/toys/standard_mixins/exec.rb +0 -711
  42. data/core-docs/toys/standard_mixins/fileutils.rb +0 -18
  43. data/core-docs/toys/standard_mixins/gems.rb +0 -62
  44. data/core-docs/toys/standard_mixins/git_cache.rb +0 -41
  45. data/core-docs/toys/standard_mixins/highline.rb +0 -133
  46. data/core-docs/toys/standard_mixins/pager.rb +0 -50
  47. data/core-docs/toys/standard_mixins/terminal.rb +0 -135
  48. data/core-docs/toys/standard_mixins/xdg.rb +0 -49
  49. data/core-docs/toys/template.rb +0 -112
  50. data/core-docs/toys/tool_definition.rb +0 -1079
  51. data/core-docs/toys/utils/completion_engine.rb +0 -49
  52. data/core-docs/toys/utils/exec.rb +0 -776
  53. data/core-docs/toys/utils/gems.rb +0 -185
  54. data/core-docs/toys/utils/git_cache.rb +0 -353
  55. data/core-docs/toys/utils/help_text.rb +0 -134
  56. data/core-docs/toys/utils/pager.rb +0 -118
  57. data/core-docs/toys/utils/standard_ui.rb +0 -184
  58. data/core-docs/toys/utils/terminal.rb +0 -310
  59. data/core-docs/toys/utils/xdg.rb +0 -253
  60. data/core-docs/toys/wrappable_string.rb +0 -132
  61. data/core-docs/toys-core.rb +0 -111
@@ -1,126 +0,0 @@
1
- module Toys
2
- ##
3
- # **_Defined in the toys-core gem_**
4
- #
5
- # An exception indicating an error in a tool definition.
6
- #
7
- class ToolDefinitionError < ::StandardError
8
- end
9
-
10
- ##
11
- # **_Defined in the toys-core gem_**
12
- #
13
- # An exception indicating that a tool has no run method.
14
- #
15
- class NotRunnableError < ::StandardError
16
- end
17
-
18
- ##
19
- # **_Defined in the toys-core gem_**
20
- #
21
- # An exception indicating problems parsing arguments.
22
- #
23
- class ArgParsingError < ::StandardError
24
- ##
25
- # Create an ArgParsingError given a set of error messages
26
- # @param errors [Array<Toys::ArgParser::UsageError>]
27
- #
28
- def initialize(errors)
29
- # Source available in the toys-core gem
30
- end
31
-
32
- ##
33
- # The individual usage error messages.
34
- # @return [Array<Toys::ArgParser::UsageError>]
35
- #
36
- attr_reader :usage_errors
37
- end
38
-
39
- ##
40
- # **_Defined in the toys-core gem_**
41
- #
42
- # An exception indicating a problem during tool lookup
43
- #
44
- class LoaderError < ::StandardError
45
- end
46
-
47
- ##
48
- # **_Defined in the toys-core gem_**
49
- #
50
- # A wrapper exception used to provide user-oriented context for an error
51
- # thrown during tool execution.
52
- #
53
- class ContextualError < ::StandardError
54
- ##
55
- # Construct a ContextualError. This exception type is thrown from
56
- # {ContextualError.capture} and {ContextualError.capture_path} and should
57
- # not be constructed directly.
58
- #
59
- # @private This interface is internal and subject to change without warning.
60
- #
61
- def initialize(cause, banner,
62
- config_path: nil, config_line: nil,
63
- tool_name: nil, tool_args: nil)
64
- # Source available in the toys-core gem
65
- end
66
-
67
- ##
68
- # The underlying exception
69
- # @return [::StandardError]
70
- #
71
- attr_reader :cause
72
-
73
- ##
74
- # An overall banner message
75
- # @return [String]
76
- #
77
- attr_reader :banner
78
-
79
- ##
80
- # The path to the toys config file in which the error was detected
81
- # @return [String]
82
- #
83
- attr_reader :config_path
84
-
85
- ##
86
- # The line number in the toys config file in which the error was detected
87
- # @return [Integer]
88
- #
89
- attr_reader :config_line
90
-
91
- ##
92
- # The full name of the tool that was running when the error occurred
93
- # @return [Array<String>]
94
- #
95
- attr_reader :tool_name
96
-
97
- ##
98
- # The arguments passed to the tool that was running when the error occurred
99
- # @return [Array<String>]
100
- #
101
- attr_reader :tool_args
102
-
103
- class << self
104
- ##
105
- # Execute the given block, and wrap any exceptions thrown with a
106
- # ContextualError. This is intended for loading a config file from the
107
- # given path, and wraps any Ruby parsing errors.
108
- #
109
- # @private This interface is internal and subject to change without warning.
110
- #
111
- def capture_path(banner, path, **opts)
112
- # Source available in the toys-core gem
113
- end
114
-
115
- ##
116
- # Execute the given block, and wrap any exceptions thrown with a
117
- # ContextualError.
118
- #
119
- # @private This interface is internal and subject to change without warning.
120
- #
121
- def capture(banner, **opts)
122
- # Source available in the toys-core gem
123
- end
124
- end
125
- end
126
- end
@@ -1,560 +0,0 @@
1
- module Toys
2
- ##
3
- # **_Defined in the toys-core gem_**
4
- #
5
- # Representation of a formal set of flags that set a particular context
6
- # key. The flags within a single Flag definition are synonyms.
7
- #
8
- class Flag
9
- ##
10
- # **_Defined in the toys-core gem_**
11
- #
12
- # Representation of a single flag.
13
- #
14
- class Syntax
15
- # rubocop:disable Style/PerlBackrefs
16
-
17
- ##
18
- # Parse flag syntax
19
- # @param str [String] syntax.
20
- #
21
- def initialize(str)
22
- # Source available in the toys-core gem
23
- end
24
-
25
- # rubocop:enable Style/PerlBackrefs
26
-
27
- ##
28
- # The original string that was parsed to produce this syntax.
29
- # @return [String]
30
- #
31
- attr_reader :original_str
32
-
33
- ##
34
- # The flags (without values) corresponding to this syntax.
35
- # @return [Array<String>]
36
- #
37
- attr_reader :flags
38
-
39
- ##
40
- # The flag (without values) corresponding to the normal "positive" form
41
- # of this flag.
42
- # @return [String]
43
- #
44
- attr_reader :positive_flag
45
-
46
- ##
47
- # The flag (without values) corresponding to the "negative" form of this
48
- # flag, if any. i.e. if the original string was `"--[no-]abc"`, the
49
- # negative flag is `"--no-abc"`.
50
- # @return [String] The negative form.
51
- # @return [nil] if the flag has no negative form.
52
- #
53
- attr_reader :negative_flag
54
-
55
- ##
56
- # The original string with the value (if any) stripped, but retaining
57
- # the `[no-]` prefix if present.
58
- # @return [String]
59
- #
60
- attr_reader :str_without_value
61
-
62
- ##
63
- # A string used to sort this flag compared with others.
64
- # @return [String]
65
- #
66
- attr_reader :sort_str
67
-
68
- ##
69
- # The style of flag (`:long` or `:short`).
70
- # @return [:long] if this is a long flag (i.e. double hyphen)
71
- # @return [:short] if this is a short flag (i.e. single hyphen with one
72
- # character).
73
- #
74
- attr_reader :flag_style
75
-
76
- ##
77
- # The type of flag (`:boolean` or `:value`)
78
- # @return [:boolean] if this is a boolean flag (i.e. no value)
79
- # @return [:value] if this flag takes a value (even if optional)
80
- # @return [nil] if this flag is indeterminate
81
- #
82
- attr_reader :flag_type
83
-
84
- ##
85
- # The type of value (`:required` or `:optional`)
86
- # @return [:required] if this flag takes a required value
87
- # @return [:optional] if this flag takes an optional value
88
- # @return [nil] if this flag is a boolean flag
89
- #
90
- attr_reader :value_type
91
-
92
- ##
93
- # The default delimiter used for the value of this flag. This could be
94
- # `""` or `" "` for a short flag, or `" "` or `"="` for a long flag.
95
- # @return [String] delimiter
96
- # @return [nil] if this flag is a boolean flag
97
- #
98
- attr_reader :value_delim
99
-
100
- ##
101
- # The default "label" for the value. e.g. in `--abc=VAL` the label is
102
- # `"VAL"`.
103
- # @return [String] the label
104
- # @return [nil] if this flag is a boolean flag
105
- #
106
- attr_reader :value_label
107
-
108
- ##
109
- # A canonical string representing this flag's syntax, normalized to match
110
- # the type, delimiters, etc. settings of other flag syntaxes. This is
111
- # generally used in help strings to represent this flag.
112
- # @return [String]
113
- #
114
- attr_reader :canonical_str
115
-
116
- ##
117
- # This method is accessible for testing only.
118
- #
119
- # @private This interface is internal and subject to change without warning.
120
- #
121
- def configure_canonical(canonical_flag_type, canonical_value_type,
122
- canonical_value_label, canonical_value_delim)
123
- # Source available in the toys-core gem
124
- end
125
- end
126
-
127
- ##
128
- # **_Defined in the toys-core gem_**
129
- #
130
- # The result of looking up a flag by name.
131
- #
132
- class Resolution
133
- ##
134
- # The flag string that was looked up
135
- # @return [String]
136
- #
137
- attr_reader :string
138
-
139
- ##
140
- # Whether an exact match of the string was found
141
- # @return [Boolean]
142
- #
143
- def found_exact?
144
- # Source available in the toys-core gem
145
- end
146
-
147
- ##
148
- # The number of matches that were found.
149
- # @return [Integer]
150
- #
151
- def count
152
- # Source available in the toys-core gem
153
- end
154
-
155
- ##
156
- # Whether a single unique match was found.
157
- # @return [Boolean]
158
- #
159
- def found_unique?
160
- # Source available in the toys-core gem
161
- end
162
-
163
- ##
164
- # Whether no matches were found.
165
- # @return [Boolean]
166
- #
167
- def not_found?
168
- # Source available in the toys-core gem
169
- end
170
-
171
- ##
172
- # Whether multiple matches were found (i.e. ambiguous input).
173
- # @return [Boolean]
174
- #
175
- def found_multiple?
176
- # Source available in the toys-core gem
177
- end
178
-
179
- ##
180
- # Return the unique {Toys::Flag}, or `nil` if not found or
181
- # not unique.
182
- # @return [Toys::Flag,nil]
183
- #
184
- def unique_flag
185
- # Source available in the toys-core gem
186
- end
187
-
188
- ##
189
- # Return the unique {Toys::Flag::Syntax}, or `nil` if not found
190
- # or not unique.
191
- # @return [Toys::Flag::Syntax,nil]
192
- #
193
- def unique_flag_syntax
194
- # Source available in the toys-core gem
195
- end
196
-
197
- ##
198
- # Return whether the unique match was a hit on the negative (`--no-*`)
199
- # case, or `nil` if not found or not unique.
200
- # @return [Boolean,nil]
201
- #
202
- def unique_flag_negative?
203
- # Source available in the toys-core gem
204
- end
205
-
206
- ##
207
- # Returns an array of the matching full flag strings.
208
- # @return [Array<String>]
209
- #
210
- def matching_flag_strings
211
- # Source available in the toys-core gem
212
- end
213
- end
214
-
215
- ##
216
- # **_Defined in the toys-core gem_**
217
- #
218
- # A Completion that returns all possible flags associated with a
219
- # {Toys::Flag}.
220
- #
221
- class DefaultCompletion < Completion::Base
222
- ##
223
- # Create a completion given configuration options.
224
- #
225
- # @param flag [Toys::Flag] The flag definition.
226
- # @param include_short [Boolean] Whether to include short flags.
227
- # @param include_long [Boolean] Whether to include long flags.
228
- # @param include_negative [Boolean] Whether to include `--no-*` forms.
229
- #
230
- def initialize(flag:, include_short: true, include_long: true, include_negative: true)
231
- # Source available in the toys-core gem
232
- end
233
-
234
- ##
235
- # Whether to include short flags
236
- # @return [Boolean]
237
- #
238
- def include_short?
239
- # Source available in the toys-core gem
240
- end
241
-
242
- ##
243
- # Whether to include long flags
244
- # @return [Boolean]
245
- #
246
- def include_long?
247
- # Source available in the toys-core gem
248
- end
249
-
250
- ##
251
- # Whether to include negative long flags
252
- # @return [Boolean]
253
- #
254
- def include_negative?
255
- # Source available in the toys-core gem
256
- end
257
-
258
- ##
259
- # Returns candidates for the current completion.
260
- #
261
- # @param context [Toys::Completion::Context] the current completion
262
- # context including the string fragment.
263
- # @return [Array<Toys::Completion::Candidate>] an array of candidates
264
- #
265
- def call(context)
266
- # Source available in the toys-core gem
267
- end
268
- end
269
-
270
- ##
271
- # The set handler replaces the previous value.
272
- # @return [Proc]
273
- #
274
- SET_HANDLER = ->(val, _prev) { val }
275
-
276
- ##
277
- # The push handler pushes the given value using the `<<` operator.
278
- # @return [Proc]
279
- #
280
- PUSH_HANDLER = ->(val, prev) { prev.nil? ? [val] : prev << val }
281
-
282
- ##
283
- # The default handler is the set handler, replacing the previous value.
284
- # @return [Proc]
285
- #
286
- DEFAULT_HANDLER = SET_HANDLER
287
-
288
- ##
289
- # Create a flag definition.
290
- #
291
- # @param key [String,Symbol] The key to use to retrieve the value from
292
- # the execution context.
293
- # @param flags [Array<String>] The flags in OptionParser format. If empty,
294
- # a flag will be inferred from the key.
295
- # @param accept [Object] An acceptor that validates and/or converts the
296
- # value. See {Toys::Acceptor.create} for recognized formats. Optional.
297
- # If not specified, defaults to {Toys::Acceptor::DEFAULT}.
298
- # @param default [Object] The default value. This is the value that will
299
- # be set in the context if this flag is not provided on the command
300
- # line. Defaults to `nil`.
301
- # @param handler [Proc,nil,:set,:push] An optional handler for
302
- # setting/updating the value. A handler is a proc taking two
303
- # arguments, the given value and the previous value, returning the
304
- # new value that should be set. You may also specify a predefined
305
- # named handler. The `:set` handler (the default) replaces the
306
- # previous value (effectively `-> (val, _prev) { val }`). The
307
- # `:push` handler expects the previous value to be an array and
308
- # pushes the given value onto it; it should be combined with setting
309
- # `default: []` and is intended for "multi-valued" flags.
310
- # @param complete_flags [Object] A specifier for shell tab completion for
311
- # flag names associated with this flag. By default, a
312
- # {Toys::Flag::DefaultCompletion} is used, which provides the flag's
313
- # names as completion candidates. To customize completion, set this to
314
- # a hash of options to pass to the constructor for
315
- # {Toys::Flag::DefaultCompletion}, or pass any other spec recognized
316
- # by {Toys::Completion.create}.
317
- # @param complete_values [Object] A specifier for shell tab completion for
318
- # flag values associated with this flag. Pass any spec recognized by
319
- # {Toys::Completion.create}.
320
- # @param report_collisions [Boolean] Raise an exception if a flag is
321
- # requested that is already in use or marked as disabled. Default is
322
- # true.
323
- # @param group [Toys::FlagGroup] Group containing this flag.
324
- # @param desc [String,Array<String>,Toys::WrappableString] Short
325
- # description for the flag. See {Toys::ToolDefinition#desc} for a
326
- # description of allowed formats. Defaults to the empty string.
327
- # @param long_desc [Array<String,Array<String>,Toys::WrappableString>]
328
- # Long description for the flag. See {Toys::ToolDefinition#long_desc}
329
- # for a description of allowed formats. Defaults to the empty array.
330
- # @param display_name [String] A display name for this flag, used in help
331
- # text and error messages.
332
- # @param used_flags [Array<String>] An array of flags already in use.
333
- #
334
- def self.create(key, flags = [],
335
- used_flags: nil, report_collisions: true, accept: nil, handler: nil,
336
- default: nil, complete_flags: nil, complete_values: nil, display_name: nil,
337
- desc: nil, long_desc: nil, group: nil)
338
- # Source available in the toys-core gem
339
- end
340
-
341
- ##
342
- # Returns the flag group containing this flag
343
- # @return [Toys::FlagGroup]
344
- #
345
- attr_reader :group
346
-
347
- ##
348
- # Returns the key.
349
- # @return [Symbol]
350
- #
351
- attr_reader :key
352
-
353
- ##
354
- # Returns an array of Flag::Syntax for the flags.
355
- # @return [Array<Toys::Flag::Syntax>]
356
- #
357
- attr_reader :flag_syntax
358
-
359
- ##
360
- # Returns the effective acceptor.
361
- # @return [Toys::Acceptor::Base]
362
- #
363
- attr_reader :acceptor
364
-
365
- ##
366
- # Returns the default value, which may be `nil`.
367
- # @return [Object]
368
- #
369
- attr_reader :default
370
-
371
- ##
372
- # The short description string.
373
- #
374
- # When reading, this is always returned as a {Toys::WrappableString}.
375
- #
376
- # When setting, the description may be provided as any of the following:
377
- # * A {Toys::WrappableString}.
378
- # * A normal String, which will be transformed into a
379
- # {Toys::WrappableString} using spaces as word delimiters.
380
- # * An Array of String, which will be transformed into a
381
- # {Toys::WrappableString} where each array element represents an
382
- # individual word for wrapping.
383
- #
384
- # @return [Toys::WrappableString]
385
- #
386
- attr_reader :desc
387
-
388
- ##
389
- # The long description strings.
390
- #
391
- # When reading, this is returned as an Array of {Toys::WrappableString}
392
- # representing the lines in the description.
393
- #
394
- # When setting, the description must be provided as an Array where *each
395
- # element* may be any of the following:
396
- # * A {Toys::WrappableString} representing one line.
397
- # * A normal String representing a line. This will be transformed into a
398
- # {Toys::WrappableString} using spaces as word delimiters.
399
- # * An Array of String representing a line. This will be transformed into
400
- # a {Toys::WrappableString} where each array element represents an
401
- # individual word for wrapping.
402
- #
403
- # @return [Array<Toys::WrappableString>]
404
- #
405
- attr_reader :long_desc
406
-
407
- ##
408
- # The handler for setting/updating the value.
409
- # @return [Proc]
410
- #
411
- attr_reader :handler
412
-
413
- ##
414
- # The proc that determines shell completions for the flag.
415
- # @return [Proc,Toys::Completion::Base]
416
- #
417
- attr_reader :flag_completion
418
-
419
- ##
420
- # The proc that determines shell completions for the value.
421
- # @return [Proc,Toys::Completion::Base]
422
- #
423
- attr_reader :value_completion
424
-
425
- ##
426
- # The type of flag.
427
- #
428
- # @return [:boolean] if the flag is a simple boolean switch
429
- # @return [:value] if the flag sets a value
430
- #
431
- attr_reader :flag_type
432
-
433
- ##
434
- # The type of value.
435
- #
436
- # @return [:required] if the flag type is `:value` and the value is
437
- # required.
438
- # @return [:optional] if the flag type is `:value` and the value is
439
- # optional.
440
- # @return [nil] if the flag type is not `:value`.
441
- #
442
- attr_reader :value_type
443
-
444
- ##
445
- # The string label for the value as it should display in help.
446
- # @return [String] The label
447
- # @return [nil] if the flag type is not `:value`.
448
- #
449
- attr_reader :value_label
450
-
451
- ##
452
- # The value delimiter, which may be `""`, `" "`, or `"="`.
453
- #
454
- # @return [String] The delimiter
455
- # @return [nil] if the flag type is not `:value`.
456
- #
457
- attr_reader :value_delim
458
-
459
- ##
460
- # The display name of this flag.
461
- # @return [String]
462
- #
463
- attr_reader :display_name
464
-
465
- ##
466
- # A string that can be used to sort this flag
467
- # @return [String]
468
- #
469
- attr_reader :sort_str
470
-
471
- ##
472
- # An array of Flag::Syntax including only short (single dash) flags.
473
- # @return [Array<Flag::Syntax>]
474
- #
475
- def short_flag_syntax
476
- # Source available in the toys-core gem
477
- end
478
-
479
- ##
480
- # An array of Flag::Syntax including only long (double-dash) flags.
481
- # @return [Array<Flag::Syntax>]
482
- #
483
- def long_flag_syntax
484
- # Source available in the toys-core gem
485
- end
486
-
487
- ##
488
- # The list of all effective flags used.
489
- # @return [Array<String>]
490
- #
491
- def effective_flags
492
- # Source available in the toys-core gem
493
- end
494
-
495
- ##
496
- # Look up the flag by string. Returns an object that indicates whether
497
- # the given string matched this flag, whether the match was unique, and
498
- # other pertinent information.
499
- #
500
- # @param str [String] Flag string to look up
501
- # @return [Toys::Flag::Resolution] Information about the match.
502
- #
503
- def resolve(str)
504
- # Source available in the toys-core gem
505
- end
506
-
507
- ##
508
- # A list of canonical flag syntax strings.
509
- #
510
- # @return [Array<String>]
511
- #
512
- def canonical_syntax_strings
513
- # Source available in the toys-core gem
514
- end
515
-
516
- ##
517
- # Whether this flag is active--that is, it has a nonempty flags list.
518
- #
519
- # @return [Boolean]
520
- #
521
- def active?
522
- # Source available in the toys-core gem
523
- end
524
-
525
- ##
526
- # Set the short description string.
527
- #
528
- # See {#desc} for details.
529
- #
530
- # @param desc [Toys::WrappableString,String,Array<String>]
531
- #
532
- def desc=(desc)
533
- # Source available in the toys-core gem
534
- end
535
-
536
- ##
537
- # Set the long description strings.
538
- #
539
- # See {#long_desc} for details.
540
- #
541
- # @param long_desc [Array<Toys::WrappableString,String,Array<String>>]
542
- #
543
- def long_desc=(long_desc)
544
- # Source available in the toys-core gem
545
- end
546
-
547
- ##
548
- # Append long description strings.
549
- #
550
- # You must pass an array of lines in the long description. See {#long_desc}
551
- # for details on how each line may be represented.
552
- #
553
- # @param long_desc [Array<Toys::WrappableString,String,Array<String>>]
554
- # @return [self]
555
- #
556
- def append_long_desc(long_desc)
557
- # Source available in the toys-core gem
558
- end
559
- end
560
- end