Class: Nucleon::Plugin::CmAction
- Inherits:
-
Object
- Object
- Nucleon::Plugin::CmAction
- Includes:
- Mixin::Action::Config, Parallel
- Defined in:
- lib/core/plugin/cm_action.rb
Class Method Summary collapse
-
.namespace ⇒ Object
—————————————————————————– Property accessor / modifiers.
Instance Method Summary collapse
-
#configure ⇒ Object
—.
-
#execute(&block) ⇒ Object
—————————————————————————– Operations.
-
#normalize(reload) ⇒ Object
—————————————————————————– Constuctor / Destructor.
Methods included from Mixin::Action::Config
#config_config, #config_ignore, #import_system_config
Class Method Details
.namespace ⇒ Object
Property accessor / modifiers
21 22 23 |
# File 'lib/core/plugin/cm_action.rb', line 21 def self.namespace :cm end |
Instance Method Details
#configure ⇒ Object
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 |