Class: Skunk::Generator::Json::Simple
- Inherits:
-
RubyCritic::Generator::Json::Simple
- Object
- RubyCritic::Generator::Json::Simple
- Skunk::Generator::Json::Simple
- Defined in:
- lib/skunk/generators/json/simple.rb
Overview
Generates a JSON report for the analysed modules.
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/skunk/generators/json/simple.rb', line 10 def data { analysed_modules_count: analysed_modules_count, skunk_score_average: skunk_score_average, skunk_score_total: skunk_score_total, worst_pathname: worst&.pathname, worst_score: worst&.skunk_score, files: files } end |