Method: Msf::Plugin.create
- Defined in:
- lib/msf/core/plugin.rb
.create(framework, opts = {}) ⇒ Object
Create an instance of the plugin using the supplied framework instance. We use create instead of new directly so that singleton plugins can just return their singleton instance.
31 32 33 |
# File 'lib/msf/core/plugin.rb', line 31 def self.create(framework, opts = {}) new(framework, opts) end |