Class: SixthSense::MutationRunResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sixth_sense/mutation_engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def command
  @command
end

#planObject

Returns the value of attribute plan

Returns:

  • (Object)

    the current value of plan



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def plan
  @plan
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def status
  @status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def stdout
  @stdout
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



22
23
24
# File 'lib/sixth_sense/mutation_engine.rb', line 22

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/sixth_sense/mutation_engine.rb', line 23

def success?
  success
end

#to_hObject



27
28
29
30
31
32
33
34
35
36
# File 'lib/sixth_sense/mutation_engine.rb', line 27

def to_h
  {
    plan: plan.to_h,
    command: command,
    success: success,
    stdout: stdout,
    stderr: stderr,
    status: status
  }
end