Method: PDK::Module::UpdateManager#changes?

Defined in:
lib/pdk/module/update_manager.rb

#changes?Boolean

Check if there are any pending changes to apply to the module.

Returns:

  • (Boolean)

    true if there are changes to apply to the module.

Raises:



58
59
60
61
62
# File 'lib/pdk/module/update_manager.rb', line 58

def changes?
  !changes[:added].empty? ||
    !changes[:removed].empty? ||
    changes[:modified].any? { |_, value| !value.nil? }
end