Class: Nucleon::Plugin::CmAction
- Inherits:
-
Object
- Object
- Nucleon::Plugin::CmAction
- Includes:
- Mixin::Action::Config
- 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
20 21 22 |
# File 'lib/core/plugin/cm_action.rb', line 20 def self.namespace :cm end |
Instance Method Details
#configure ⇒ Object
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 |