| bool load( | string | pluginName | ) |
|
Loads a plug-in.
parameters
| pluginName | The name of the plug-in. The name should not include an extension or a directory. |
returns
| true | If the plug-in was successfully loaded. |
| false | Otherwise. |
notes
The actual file name of the plug-in is composed of prepending “jiggy.” to the pluginName parameter. For example, if you specify the pluginName to be “Socket”, Jiggy will look for the file “jiggy.Socket”.
Jiggy will always look for plug-ins in the current bundle’s “jigglins” directory first. If the plug-in is not found there, it will try to load it from the system using the standard library search path. Private plug-ins should be included in your bundle’s “jigglins” directory and public plug-ins should be installed to “/usr/lib”.