Class: Diecut::ReportBuilders::InvalidPlugin

Inherits:
Diecut::ReportBuilder show all
Defined in:
lib/diecut/report-builders/invalid-plugin.rb

Instance Attribute Summary

Attributes inherited from Diecut::ReportBuilder

#mill

Instance Method Summary collapse

Methods inherited from Diecut::ReportBuilder

all_kinds, #build_report, #each_default, #each_option, #each_plugin, #each_template, #fail_advice, #fail_summary, #go, #initialize, #pass_advice, #pass_summary, register, #report, #report_status, #review, #strict_sequence?, #unindent

Constructor Details

This class inherits a constructor from Diecut::ReportBuilder

Instance Method Details

#add(*args) ⇒ Object



17
18
19
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 17

def add(*args)
  report.add(*args)
end

#collectObject



14
15
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 14

def collect
end

#other_adviceObject



25
26
27
28
29
30
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 25

def other_advice
  <<-EOA
  The plugins above had unrecoverable issues while being defined. They
  should be fixed, or not included during generation.
  EOA
end

#other_summaryObject



21
22
23
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 21

def other_summary
  "There were problems defining plugins"
end

#report_fieldsObject



10
11
12
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 10

def report_fields
  ["Plugin name", "Problem description"]
end

#report_nameObject



6
7
8
# File 'lib/diecut/report-builders/invalid-plugin.rb', line 6

def report_name
  "General plugin health"
end