Class: Moult::Health::Score::Composite

Inherits:
Struct
  • Object
show all
Defined in:
lib/moult/health/score.rb

Overview

The whole-codebase (or per-file) result: the composite + the present components. +score+/+grade+ are nil only when every component is absent.

Instance Attribute Summary collapse

Instance Attribute Details

#componentsObject

Returns the value of attribute components

Returns:

  • (Object)

    the current value of components



95
96
97
# File 'lib/moult/health/score.rb', line 95

def components
  @components
end

#gradeObject

Returns the value of attribute grade

Returns:

  • (Object)

    the current value of grade



95
96
97
# File 'lib/moult/health/score.rb', line 95

def grade
  @grade
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



95
96
97
# File 'lib/moult/health/score.rb', line 95

def score
  @score
end