Class: Nucleon::Plugin::CmAction

Inherits:
Object
  • Object
show all
Includes:
Mixin::Action::Config, Parallel
Defined in:
lib/core/plugin/cm_action.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Mixin::Action::Config

#config_config, #config_ignore, #import_system_config

Class Method Details

.namespaceObject


Property accessor / modifiers



21
22
23
# File 'lib/core/plugin/cm_action.rb', line 21

def self.namespace
  :cm
end

Instance Method Details

#configureObject




27
28
29
30
31
32
# File 'lib/core/plugin/cm_action.rb', line 27

def configure
  super do
    config_config
    yield if block_given?
  end
end

#execute(&block) ⇒ Object


Operations



40
41
42
43
44
# File 'lib/core/plugin/cm_action.rb', line 40

def execute(&block)
  super(false, false) do
    block.call
  end
end

#normalize(reload) ⇒ Object


Constuctor / Destructor



12
13
14
15
16
# File 'lib/core/plugin/cm_action.rb', line 12

def normalize(reload)
  super do

  end
end