Class: Inch::Evaluation::ScoreRange

Inherits:
Struct
  • Object
show all
Defined in:
lib/inch/evaluation/score_range.rb

Overview

ScoreRange objects associate a range of scores with a grade, description, color etc.

See Also:

Instance Attribute Summary collapse

Instance Attribute Details

#bg_colorObject

Returns the value of attribute bg_color

Returns:

  • (Object)

    the current value of bg_color



7
8
9
# File 'lib/inch/evaluation/score_range.rb', line 7

def bg_color
  @bg_color
end

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



7
8
9
# File 'lib/inch/evaluation/score_range.rb', line 7

def color
  @color
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



7
8
9
# File 'lib/inch/evaluation/score_range.rb', line 7

def description
  @description
end

#gradeObject

Returns the value of attribute grade

Returns:

  • (Object)

    the current value of grade



7
8
9
# File 'lib/inch/evaluation/score_range.rb', line 7

def grade
  @grade
end

#objectsObject

Returns code_objects that received a score with the defined range



9
10
11
# File 'lib/inch/evaluation/score_range.rb', line 9

def objects
  @objects
end

#rangeObject

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



7
8
9
# File 'lib/inch/evaluation/score_range.rb', line 7

def range
  @range
end