Class: MobyUtil::Plugin
Overview
TDriver plugin abstraction class
Direct Known Subclasses
Class Method Summary collapse
-
.plugin_name ⇒ Object
plugin configuration, constructor and deconstructor methods.
- .plugin_required_tdriver_version ⇒ Object
- .plugin_type ⇒ Object
- .register_plugin ⇒ Object
- .unregister_plugin ⇒ Object
Class Method Details
.plugin_name ⇒ Object
plugin configuration, constructor and deconstructor methods
26 27 28 29 30 |
# File 'lib/tdriver/util/plugin/abstract.rb', line 26 def self.plugin_name raise PluginError, "Plugin name not defined in implementation (#{ self.name })" end |
.plugin_required_tdriver_version ⇒ Object
38 39 40 41 42 |
# File 'lib/tdriver/util/plugin/abstract.rb', line 38 def self.plugin_required_tdriver_version raise PluginError, "Required TDriver version not defined in plugin implementation (#{ self.name })" end |
.plugin_type ⇒ Object
32 33 34 35 36 |
# File 'lib/tdriver/util/plugin/abstract.rb', line 32 def self.plugin_type raise PluginError, "Plugin type not defined in implementation (#{ self.name })" end |
.register_plugin ⇒ Object
44 45 46 47 48 |
# File 'lib/tdriver/util/plugin/abstract.rb', line 44 def self.register_plugin # this method will be called when plugin is registered end |
.unregister_plugin ⇒ Object
50 51 52 53 54 |
# File 'lib/tdriver/util/plugin/abstract.rb', line 50 def self.unregister_plugin # this method will be called when plugin is unregistered end |