class Gitlab::Triage::Action::Comment::Dry

Public Instance Methods

act() click to toggle source
Calls superclass method Gitlab::Triage::Action::Comment#act
# File lib/gitlab/triage/action/comment.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(resource, comment) click to toggle source
# File lib/gitlab/triage/action/comment.rb, line 25
def perform(resource, comment)
  puts "# #{resource[:web_url]}\n```\n#{comment}\n```\n"
end