Mixin for making dynamically-loadable plugin classes
This module contains the PluginFactory mixin. Including PluginFactory in your class turns it into a factory for its derivatives, capable of searching for and loading them by name. This is useful when you have an abstract base class which defines an interface and basic functionality for a part of a larger system, and a collection of subclasses which implement the interface for different underlying functionality.
This module contains the PluginFactory mixin. Including PluginFactory in your class turns it into a factory for its derivatives, capable of searching for and loading them by name. This is useful when you have an abstract base class which defines an interface and basic functionality for a part of a larger system, and a collection of subclasses which implement the interface for different underlying functionality.
To install rb-pluginfactory, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install rb-pluginfactory
To see what files were installed by rb-pluginfactory, run:
port contents rb-pluginfactory
To later upgrade rb-pluginfactory, run:
sudo port selfupdate && sudo port upgrade rb-pluginfactory
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.