Class: Inch::Evaluation::ScoreRange
- Inherits:
-
Struct
- Object
- Struct
- Inch::Evaluation::ScoreRange
- Defined in:
- lib/inch/evaluation/score_range.rb
Overview
ScoreRange objects associate a range of scores with a grade, description, color etc.
Instance Attribute Summary collapse
-
#bg_color ⇒ Object
Returns the value of attribute bg_color.
-
#color ⇒ Object
Returns the value of attribute color.
-
#description ⇒ Object
Returns the value of attribute description.
-
#grade ⇒ Object
Returns the value of attribute grade.
-
#objects ⇒ Object
Returns code_objects that received a score with the defined
range
. -
#range ⇒ Object
Returns the value of attribute range.
Instance Attribute Details
#bg_color ⇒ Object
Returns the value of attribute bg_color
7 8 9 |
# File 'lib/inch/evaluation/score_range.rb', line 7 def bg_color @bg_color end |
#color ⇒ Object
Returns the value of attribute color
7 8 9 |
# File 'lib/inch/evaluation/score_range.rb', line 7 def color @color end |
#description ⇒ Object
Returns the value of attribute description
7 8 9 |
# File 'lib/inch/evaluation/score_range.rb', line 7 def description @description end |
#grade ⇒ Object
Returns the value of attribute grade
7 8 9 |
# File 'lib/inch/evaluation/score_range.rb', line 7 def grade @grade end |
#objects ⇒ Object
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 |
#range ⇒ Object
Returns the value of attribute range
7 8 9 |
# File 'lib/inch/evaluation/score_range.rb', line 7 def range @range end |