Class: RakeGitCrypt::Tasks::AddUsers

Inherits:
RakeFactory::Task
  • Object
show all
Includes:
Mixins::Support
Defined in:
lib/rake_git_crypt/tasks/add_users.rb

Overview

rubocop:disable Metrics/ClassLength

Instance Method Summary collapse

Methods included from Mixins::Support

#ensure_task_with_name_available, #invoke_and_reenable_task_with_name, #invoke_task_with_name, #raise_task_undefined, #reenable_task_with_name, #task_by_name, #task_defined?

Instance Method Details

#gpg_user_key_pathsObject



41
42
43
44
45
46
47
48
# File 'lib/rake_git_crypt/tasks/add_users.rb', line 41

def gpg_user_key_paths
  parameter = self.class.parameter_set.find(:gpg_user_key_paths)
  key_paths = parameter.get(self)

  return nil if key_paths.nil?

  resolve_key_paths(key_paths)
end