Class: Qti::V1::Models::Numerics::ScoringBase

Inherits:
Object
  • Object
show all
Defined in:
lib/qti/v1/models/numerics/scoring_base.rb

Direct Known Subclasses

ExactMatch, MarginError, Precision, WithinRange

Instance Method Summary collapse

Constructor Details

#initialize(scoring_node) ⇒ ScoringBase

Returns a new instance of ScoringBase.



6
7
8
# File 'lib/qti/v1/models/numerics/scoring_base.rb', line 6

def initialize(scoring_node)
  @scoring_node = scoring_node
end

Instance Method Details

#equal_nodeObject



10
11
12
# File 'lib/qti/v1/models/numerics/scoring_base.rb', line 10

def equal_node
  @scoring_node.equal_node
end

#gt_nodeObject



22
23
24
# File 'lib/qti/v1/models/numerics/scoring_base.rb', line 22

def gt_node
  @scoring_node.gt_node
end

#gte_nodeObject



14
15
16
# File 'lib/qti/v1/models/numerics/scoring_base.rb', line 14

def gte_node
  @scoring_node.gte_node
end

#lte_nodeObject



18
19
20
# File 'lib/qti/v1/models/numerics/scoring_base.rb', line 18

def lte_node
  @scoring_node.lte_node
end