Class: Pinspec::Validate::MutationAdapter::Outcome

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/validate/mutation_adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#killedObject (readonly)

Returns the value of attribute killed

Returns:

  • (Object)

    the current value of killed



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def killed
  @killed
end

#rawObject (readonly)

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def raw
  @raw
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def score
  @score
end

#subjectObject (readonly)

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def subject
  @subject
end

#survivedObject (readonly)

Returns the value of attribute survived

Returns:

  • (Object)

    the current value of survived



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def survived
  @survived
end

#survivorsObject (readonly)

Returns the value of attribute survivors

Returns:

  • (Object)

    the current value of survivors



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def survivors
  @survivors
end

#totalObject (readonly)

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



32
33
34
# File 'lib/pinspec/validate/mutation_adapter.rb', line 32

def total
  @total
end

Instance Method Details

#scored?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/pinspec/validate/mutation_adapter.rb', line 33

def scored?
  !score.nil?
end