Class: Avm::Tools::Runner::Ruby::Rubocop

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Includes:
EacRubyUtils::Console::Speaker, EacRubyUtils::SimpleCache
Defined in:
lib/avm/tools/runner/ruby/rubocop.rb

Constant Summary collapse

DOC =
<<~DOCOPT
  Runs Rubocop (https://rubygems.org/gems/rubocop).

  Usage:
    __PROGRAM__ [options] [<rubocop-args>...]
    __PROGRAM__ -h | --help

  Options:
    -h --help               Show this screen.
    -C=<path>               Caminho para executar o Rubocop [default: .].
DOCOPT

Instance Method Summary collapse

Instance Method Details

#runObject



27
28
29
# File 'lib/avm/tools/runner/ruby/rubocop.rb', line 27

def run
  ::Avm::Ruby::Rubocop.new(path, rubocop_args).run
end