method prefix
Documentation for method prefix
assembled from the following types:
class VM
From VM
(VM) method prefix
Instance method returning a string of the path in which the virtual machine of the VM object is installed.
class Distribution::Locally
(Distribution::Locally) method prefix
A prefix path to be used in conjuncture with the paths found in the metadata.
class Parameter
From Parameter
(Parameter) method prefix
Defined as:
method prefix(Parameter: --> Str)
If the parameter is slurpy, returns the marker (e.g., *
, **
, or +
) the parameter was declared with. Otherwise, returns an empty string.
my Signature = :(, *);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«*»my Signature = :(, **);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«**»my Signature = :(, +);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«+»