Class: Nucleon::Plugin::PlanAction

Inherits:
CmAction
  • Object
show all
Defined in:
lib/core/plugin/plan_action.rb

Direct Known Subclasses

Action::Plan::Deploy, Action::Plan::Destroy

Instance Method Summary collapse

Methods inherited from CmAction

namespace, #validate

Instance Method Details

#configureObject


Property accessor / modifiers



22
23
24
25
26
# File 'lib/core/plugin/plan_action.rb', line 22

def configure
  super do
    yield if block_given?
  end
end

#execute(&block) ⇒ Object


Operations



34
35
36
37
38
# File 'lib/core/plugin/plan_action.rb', line 34

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

#normalize(reload) ⇒ Object


Constuctor / Destructor



13
14
15
16
17
# File 'lib/core/plugin/plan_action.rb', line 13

def normalize(reload)
  super do

  end
end