Class: MVCLI::Plugins

Inherits:
Core
  • Object
show all
Defined in:
lib/mvcli/plugins.rb

Defined Under Namespace

Classes: InstallForm, InstallationModel

Instance Attribute Summary

Attributes inherited from Core

#name, #namespace, #path

Instance Method Summary collapse

Methods inherited from Core

<<, all, drain, each, #exists?, inherited, #initialize, #read, #version

Constructor Details

This class inherits a constructor from MVCLI::Core

Instance Method Details

#activate!Object



10
11
12
13
14
15
16
17
# File 'lib/mvcli/plugins.rb', line 10

def activate!
  bundle.activate!
  Core.drain do |cls|
    core = cls.new if cls.path
    core.activate!
    cortex << core
  end
end