Class: Pronto::Textlint

Inherits:
Runner
  • Object
show all
Defined in:
lib/pronto/textlint.rb,
lib/pronto/textlint/version.rb

Constant Summary collapse

VERSION =
'0.1.1'

Instance Method Summary collapse

Instance Method Details

#runObject



8
9
10
11
12
13
14
# File 'lib/pronto/textlint.rb', line 8

def run
  return [] unless @patches

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