Class: Html2rss::Scoring::Score
- Inherits:
-
Data
- Object
- Data
- Html2rss::Scoring::Score
- Defined in:
- lib/html2rss/scoring/score.rb
Overview
Composite score with quality/junk split and optional typed feature breakdown.
Constant Summary collapse
- EMPTY_BREAKDOWN =
Shared empty feature breakdown for scores without per-feature tallies.
{}.freeze
Instance Attribute Summary collapse
-
#breakdown ⇒ Object
readonly
Returns the value of attribute breakdown.
-
#composite ⇒ Object
readonly
Returns the value of attribute composite.
-
#junk ⇒ Object
readonly
Returns the value of attribute junk.
-
#quality ⇒ Object
readonly
Returns the value of attribute quality.
Instance Attribute Details
#breakdown ⇒ Object (readonly)
Returns the value of attribute breakdown
7 8 9 |
# File 'lib/html2rss/scoring/score.rb', line 7 def breakdown @breakdown end |
#composite ⇒ Object (readonly)
Returns the value of attribute composite
7 8 9 |
# File 'lib/html2rss/scoring/score.rb', line 7 def composite @composite end |
#junk ⇒ Object (readonly)
Returns the value of attribute junk
7 8 9 |
# File 'lib/html2rss/scoring/score.rb', line 7 def junk @junk end |
#quality ⇒ Object (readonly)
Returns the value of attribute quality
7 8 9 |
# File 'lib/html2rss/scoring/score.rb', line 7 def quality @quality end |