Class: Plugin
Represents a plugin for the Ruvyrias library.
Hierarchy
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Plugin(name
): Plugin
Creates an instance of Plugin.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the plugin. |
Returns
Defined in
Properties
name
• Readonly
name: string
The name of the plugin.
Defined in
Methods
load
▸ load(ruvyrias
): Promise
<void
>
Loads the plugin into the Ruvyrias instance.
Parameters
Name | Type | Description |
---|---|---|
ruvyrias | Ruvyrias | The Ruvyrias instance to load the plugin into. |
Returns
Promise
<void
>