Class: Snoot::CLI::ReportEmitted

Inherits:
Data
  • Object
show all
Defined in:
lib/snoot/cli/event.rb

Overview

ReportEmitted carries the terminal Run, the selected Finding, and the rendered sections produced by RenderReport.

Instance Attribute Summary collapse

Instance Attribute Details

#findingObject (readonly)

Returns the value of attribute finding

Returns:

  • (Object)

    the current value of finding



11
12
13
# File 'lib/snoot/cli/event.rb', line 11

def finding
  @finding
end

#runObject (readonly)

Returns the value of attribute run

Returns:

  • (Object)

    the current value of run



11
12
13
# File 'lib/snoot/cli/event.rb', line 11

def run
  @run
end

#sectionsObject (readonly)

Returns the value of attribute sections

Returns:

  • (Object)

    the current value of sections



11
12
13
# File 'lib/snoot/cli/event.rb', line 11

def sections
  @sections
end