Class: Ossy::Engine::Rubocop::Result
- Defined in:
- lib/ossy/engine/rubocop/run.rb
Overview
{ "metadata" : { "ruby_platform" : "x86_64-darwin20", "ruby_version" : "2.7.2", "ruby_engine" : "ruby", "ruby_patchlevel" : "137", "rubocop_version" : "1.6.1" }, "files" : [ { "offenses" : [], "path" : "spec/spec_helper.rb" } ], "summary" : { "target_file_count" : 1, "inspected_file_count" : 1, "offense_count" : 0 } }
json element
"offenses"=> [{"severity"=>"convention", "message"=> "blablabla", "cop_name"=>"Style/StringLiterals", "corrected"=>false, "correctable"=>true, "location"=> {"start_line"=>3, "start_column"=>1, "last_line"=>3, "last_column"=>30, "length"=>30, "line"=>3, "column"=>1}]}
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#failure? ⇒ Boolean
62 63 64 |
# File 'lib/ossy/engine/rubocop/run.rb', line 62 def failure? !success? end |