Class: Danger::DangerSuggester

Inherits:
Plugin
  • Object
show all
Defined in:
lib/danger/danger_suggester.rb

Instance Method Summary collapse

Instance Method Details

#suggestObject


8
9
10
11
12
13
14
15
16
# File 'lib/danger/danger_suggester.rb', line 8

def suggest
  suggestions_for_added_lines.each do |suggestion|
    markdown(
      suggestion.message,
      file: suggestion.path,
      line: suggestion.line
    )
  end
end