Class: ConfigOMat::Op::ApplyAllProfiles

Inherits:
LifecycleVM::OpBase
  • Object
show all
Defined in:
lib/config_o_mat/configurator/op/apply_all_profiles.rb

Instance Method Summary collapse

Instance Method Details

#callObject



25
26
27
28
29
30
31
32
# File 'lib/config_o_mat/configurator/op/apply_all_profiles.rb', line 25

def call
  profiles_to_apply.each do |profile|
    applied_profiles[profile.name] = profile
    error profile.name, profile.errors if profile.errors?
  end

  self.profiles_to_apply = []
end