Class: PolishGeeks::DevTools::Commands::Rubycritic
- Defined in:
- lib/polish_geeks/dev_tools/commands/rubycritic.rb
Overview
Command wrapper for RubyCritic statistics It informs us if RubyCritic stats were generated
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#execute ⇒ String
Executes this command.
Methods inherited from Base
#ensure_executable!, #error_message, #valid?
Instance Method Details
#execute ⇒ String
Executes this command
11 12 13 |
# File 'lib/polish_geeks/dev_tools/commands/rubycritic.rb', line 11 def execute @output = Shell.new.execute('bundle exec rubycritic ./app ./lib/') end |