Class: MCollective::Connector::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mcollective/connector/base.rb

Direct Known Subclasses

Nats

Class Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object



19
20
21
22
23
24
# File 'lib/mcollective/connector/base.rb', line 19

def self.inherited(klass)
  plugin_name = klass.to_s.split("::").last.downcase
  DDL.new(plugin_name, :connector)
  PluginManager << {:type => "connector_plugin", :class => klass.to_s}
  super
end