Class: LintFu::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/lint_fu/report.rb

Direct Known Subclasses

HtmlReport, TextReport

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scan, scm, included_issues) ⇒ Report

Returns a new instance of Report.



6
7
8
9
10
# File 'lib/lint_fu/report.rb', line 6

def initialize(scan, scm, included_issues)
  @scan   = scan
  @scm    = scm
  @issues = included_issues
end

Instance Attribute Details

#scanObject (readonly)

Returns the value of attribute scan.



4
5
6
# File 'lib/lint_fu/report.rb', line 4

def scan
  @scan
end

#scmObject (readonly)

Returns the value of attribute scm.



4
5
6
# File 'lib/lint_fu/report.rb', line 4

def scm
  @scm
end

Instance Method Details

#generate(output_stream) ⇒ Object

Raises:

  • (NotImplemented)


12
13
14
# File 'lib/lint_fu/report.rb', line 12

def generate(output_stream)
  raise NotImplemented
end