class PullRequestSummarizer::ReviewChanges

Attributes

popolo_files[R]

Public Class Methods

new(popolo_before_after) click to toggle source
# File lib/pull_request_summarizer/review_changes.rb, line 7
def initialize(popolo_before_after)
  @popolo_files = popolo_before_after.map do |opts|
    ComparePopolo.parse(opts)
  end
end

Public Instance Methods

template() click to toggle source
# File lib/pull_request_summarizer/review_changes.rb, line 17
def template
  @template ||= ERB.new(File.read(File.expand_path('../../../comment_template.md.erb', __FILE__)))
end
to_html() click to toggle source
# File lib/pull_request_summarizer/review_changes.rb, line 13
def to_html
  template.result(binding)
end