
reference.language.category_methods_calling.html Maven / Gradle / Ivy
Methods
Calling category methods
Calling category methods is done simply by appending to the category instance variable a '.' followed by the method name,
optionally followed by its arguments name and value pairs.
Thanks to naming, arguments can be provided in any sequence, which makes it clear how the arguments are used.
Naming the arguments is mandatory in Prompto.
However, when a method accepts only 1 argument, the argument name can be omitted:
© 2015 - 2025 Weber Informatics LLC | Privacy Policy