Class: ReekChecker
- Inherits:
-
Object
- Object
- ReekChecker
- Defined in:
- lib/rake_check/reek_checker.rb
Overview
Instance Method Summary collapse
-
#result ⇒ Hash
Gives the Checkresult.
Instance Method Details
#result ⇒ Hash
Gives the Checkresult
14 15 16 17 18 19 |
# File 'lib/rake_check/reek_checker.rb', line 14 def result shell_output = `reek app lib -y 2>/dev/null` @shell_output = shell_output.split("\n"). delete_if{|line| line.include?('already initialized constant') }.join("\n") {:type => :reek, :check_output => output, :status => status} end |