Class: Evilution::Baseline::Result Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/evilution/baseline.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResult

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Result.



8
9
10
11
# File 'lib/evilution/baseline.rb', line 8

def initialize(**)
  super
  freeze
end

Instance Attribute Details

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



7
8
9
# File 'lib/evilution/baseline.rb', line 7

def duration
  @duration
end

#failed_spec_filesObject

Returns the value of attribute failed_spec_files

Returns:

  • (Object)

    the current value of failed_spec_files



7
8
9
# File 'lib/evilution/baseline.rb', line 7

def failed_spec_files
  @failed_spec_files
end

Instance Method Details

#failed?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


13
14
15
# File 'lib/evilution/baseline.rb', line 13

def failed?
  !failed_spec_files.empty?
end