lib/github_changelog_generator/generator/generator.rb
# Generate ready-to-paste log from list of issues and pull requests.
#
# @param [Array] issues
# @param [Array] pull_requests
# @return [String] generated log for issues
Generate ready-to-paste log from list of issues and pull requests.
Generate ready - to - paste log from list of issues and pull requests .
def issues_to_log(issues, pull_requests)
      log = ""
      bugs_a, enhancement_a, issues_a = parse_by_sections(issues, pull_requests)
      log += generate_sub_section(enhancement_a, options[:enhancement_prefix])
      log += generate_sub_section(bugs_a, options[:bug_prefix])
      log += generate_sub_section(issues_a, options[:issue_prefix])
      log
    end
def issues_to_log ( issues , pull_requests ) log = "" bugs_a , enhancement_a , issues_a = parse_by_sections ( issues , pull_requests ) log += generate_sub_section ( enhancement_a , options [ :enhancement_prefix ] ) log += generate_sub_section ( bugs_a , options [ :bug_prefix ] ) log += generate_sub_section ( issues_a , options [ :issue_prefix ] ) log end
Generate ready-to-paste log from list of issues and pull requests.
Generate ready - to - paste log from list of issues and pull requests .
generated log for issues
generated log for issues
String
issues
pull_requests
None