Module: ForemanMaintain::Concerns::ScenarioMetadata

Included in:
Scenario
Defined in:
lib/foreman_maintain/concerns/scenario_metadata.rb

Defined Under Namespace

Modules: ClassMethods Classes: DSL

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



34
35
36
37
# File 'lib/foreman_maintain/concerns/scenario_metadata.rb', line 34

def self.included(klass)
  klass.send(:include, Metadata)
  klass.extend(ClassMethods)
end

Instance Method Details

#run_strategyObject



39
40
41
# File 'lib/foreman_maintain/concerns/scenario_metadata.rb', line 39

def run_strategy
  self.class.[:run_strategy]
end