Module CommandPlugin
In: lib/webgen/plugin.rb
CommandPlugin dot/m_60_0.png

This module should be included by classes derived from CommandParser::Command as it automatically adds an object of the class to the main CommandParser object. However, the super call in the initialize method calls the method from PluginDefs, you need to call superclass_init to call the original initialize method from the super class.

Methods

Public Class methods

[Source]

     # File lib/webgen/plugin.rb, line 549
549:       def self.append_features( klass )
550:         klass.instance_eval {alias_method( :superclass_initialize, :initialize )}
551:         super
552:         PluginDefs.append_features( klass )
553:       end

[Validate]