lib/danger/helpers/comments_helper.rb
# resolved is essentially reserved for future use - eventually we might
# have some nice generic resolved-thing going :)
resolved is essentially reserved for future use - eventually we might
have some nice generic resolved-thing going :)
resolved is essentially reserved for future use - eventually we might have some nice generic resolved - thing going : )
def generate_message_group_comment(message_group:,
                                         danger_id: "danger",
                                         resolved: [],
                                         template: "github")
        @message_group = message_group
        @resolved = resolved
        request_source_name = template.sub("_message_group", "")
        apply_template(danger_id: danger_id,
                       markdowns: message_group.markdowns,
                       template: template,
                       request_source: request_source_name)
          .sub(/\A\n*/, "")
      end
def generate_message_group_comment ( message_group : , danger_id : "danger" , resolved : [ ] , template : "github" ) @message_group = message_group @resolved = resolved request_source_name = template . sub ( "_message_group" , "" ) apply_template ( danger_id : danger_id , markdowns : message_group . markdowns , template : template , request_source : request_source_name ) . sub ( / \A \n * / , "" ) end
resolved is essentially reserved for future use - eventually we might
have some nice generic resolved-thing going :)
resolved is essentially reserved for future use - eventually we might have some nice generic resolved - thing going : )
# cheating a bit - I don't want to alter the apply_template API # so just sneak around behind its back setting some instance variables # to get them to show up in the template
message_group
<not_specific>
danger_id
<not_specific>
resolved
<not_specific>
template
<not_specific>