class Gitlab::Triage::Action::CommentOnSummary::Dry
Public Instance Methods
act()
click to toggle source
Calls superclass method
Gitlab::Triage::Action::CommentOnSummary#act
# File lib/gitlab/triage/action/comment_on_summary.rb, line 17 def act puts "The following comments would be posted for the rule **#{policy.name}**:\n\n" super end
Private Instance Methods
perform(comment)
click to toggle source
# File lib/gitlab/triage/action/comment_on_summary.rb, line 25 def perform(comment) puts "# #{summary[:web_url]}\n```\n#{comment}\n```\n" end