Class: Nucleon::Plugin::CmAction

Inherits:
Object
  • Object
show all
Includes:
Mixin::Action::Config
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



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

def self.namespace
  :cm
end

Instance Method Details

#configureObject




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

def configure
  super do
    config_config
    yield if block_given?
  end
end

#execute(&block) ⇒ Object


Operations



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

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

#normalize(reload) ⇒ Object


Constuctor / Destructor



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

def normalize(reload)
  super do

  end
end