Exception: Quby::Answers::Services::ScoreCalculator::MissingAnswerValues
- Inherits:
-
StandardError
- Object
- StandardError
- Quby::Answers::Services::ScoreCalculator::MissingAnswerValues
- Defined in:
- lib/quby/answers/services/score_calculator.rb
Instance Attribute Summary collapse
-
#missing ⇒ Object
readonly
Returns the value of attribute missing.
-
#questionnaire_key ⇒ Object
readonly
Returns the value of attribute questionnaire_key.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(msg = nil, questionnaire_key:, values:, missing:) ⇒ MissingAnswerValues
constructor
A new instance of MissingAnswerValues.
Constructor Details
#initialize(msg = nil, questionnaire_key:, values:, missing:) ⇒ MissingAnswerValues
Returns a new instance of MissingAnswerValues.
15 16 17 18 19 20 |
# File 'lib/quby/answers/services/score_calculator.rb', line 15 def initialize(msg = nil, questionnaire_key:, values:, missing:) super(msg) @questionnaire_key = questionnaire_key @values = values @missing = missing end |
Instance Attribute Details
#missing ⇒ Object (readonly)
Returns the value of attribute missing.
13 14 15 |
# File 'lib/quby/answers/services/score_calculator.rb', line 13 def missing @missing end |
#questionnaire_key ⇒ Object (readonly)
Returns the value of attribute questionnaire_key.
13 14 15 |
# File 'lib/quby/answers/services/score_calculator.rb', line 13 def questionnaire_key @questionnaire_key end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
13 14 15 |
# File 'lib/quby/answers/services/score_calculator.rb', line 13 def values @values end |