Class: Pronto::Findbugs

Inherits:
Runner
  • Object
show all
Defined in:
lib/pronto/findbugs.rb

Defined Under Namespace

Classes: Offence

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
# File 'lib/pronto/findbugs.rb', line 6

def run
  return [] unless @patches

  @patches
    .select(&method(:valid_patch?))
    .flat_map(&method(:inspect))
    .compact
end