class CrudeMutant::RunResult

Attributes

file_path[R]
line_contents[R]
line_number[R]
success[R]

Public Class Methods

new(file_path, line_number, success, line_contents, benchmark) click to toggle source
# File lib/crude_mutant/run_result.rb, line 7
def initialize(file_path, line_number, success, line_contents, benchmark)
  @file_path = file_path
  @line_number = line_number
  @success = success
  @line_contents = line_contents
  @benchmark = benchmark
end

Public Instance Methods

success?() click to toggle source
# File lib/crude_mutant/run_result.rb, line 15
def success?
  success
end
time_taken() click to toggle source
# File lib/crude_mutant/run_result.rb, line 19
def time_taken
  @benchmark.real
end