def links_definitions(issues, contributors)
      return '' if issues.empty? && contributors.empty?

      issues_list = issues.map do |issue|
        "[##{issue}]: https://github.com/#{user}/#{project}/issues/#{issue}"
      end

      contributors_list = contributors.map do |contributor|
        "[@#{contributor}]: https://github.com/#{contributor}"
      end

      ([SEPARATOR] + issues_list + contributors_list).join("\n")
    end
def links_definitions(issues, contributors)
      return '' if issues.empty? && contributors.empty?

      issues_list = issues.map do |issue|
        "[
      end

      contributors_list = contributors.map do |contributor|
        "[@
      end

      ([SEPARATOR] + issues_list + contributors_list).join("\n")
    end
def links_definitions ( issues , contributors ) return '' if issues . empty? && contributors . empty? issues_list = issues . map do | issue | "[##{issue}]: https://github.com/#{user}/#{project}/issues/#{issue}" end contributors_list = contributors . map do | contributor | "[@#{contributor}]: https://github.com/#{contributor}" end ( [ SEPARATOR ] + issues_list + contributors_list ) . join ( "\n" ) end
@param [Array] issues An array of issue numbers
 @param [Array] contributors An array of contributors github ids

 @return [String] A list of link definitions
@param [ Array ] issues An array of issue numbers @param [ Array ] contributors An array of contributors github ids