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 =
"Runs Rubocop (https://rubygems.org/gems/rubocop).\n\nUsage:\n  __PROGRAM__ [options] [<rubocop-args>...]\n  __PROGRAM__ -h | --help\n\nOptions:\n  -h --help               Show this screen.\n  -C=<path>               Caminho para executar o Rubocop [default: .].\n"

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