Class: Snoot::AnalyseRun::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/snoot/analyse_run/result.rb

Overview

Result is the value returned by AnalyseRun.invoke: the terminal Run, the audit events emitted along the way, and the smells the orchestration produced (forwarded to RenderReport, which filters by selected smell_type when building the per-file Instances list). smells is empty when analysis failed (no Sources were produced).

Instance Attribute Summary collapse

Instance Attribute Details

#eventsObject (readonly)

Returns the value of attribute events

Returns:

  • (Object)

    the current value of events



10
11
12
# File 'lib/snoot/analyse_run/result.rb', line 10

def events
  @events
end

#runObject (readonly)

Returns the value of attribute run

Returns:

  • (Object)

    the current value of run



10
11
12
# File 'lib/snoot/analyse_run/result.rb', line 10

def run
  @run
end

#smellsObject (readonly)

Returns the value of attribute smells

Returns:

  • (Object)

    the current value of smells



10
11
12
# File 'lib/snoot/analyse_run/result.rb', line 10

def smells
  @smells
end