module Gitlab::Help

def help_map

Returns:
  • (Hash) -
def help_map
  @help_map ||=
    actions.each_with_object({}) do |action, hsh|
      key = client.method(action)
                  .owner.to_s.gsub(/Gitlab::(?:Client::)?/, '')
      hsh[key] ||= []
      hsh[key] << action.to_s
    end
end