Class: Ucode::Audit::CoverageReference::Entry
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Audit::CoverageReference::Entry
- Defined in:
- lib/ucode/audit/coverage_reference.rb
Overview
Immutable per-codepoint row exposed by every reference. The
tier and source fields are nil for references that don't
carry provenance (e.g. UcdOnlyReference).
Instance Attribute Summary collapse
-
#codepoint ⇒ Object
Returns the value of attribute codepoint.
-
#id ⇒ Object
Returns the value of attribute id.
-
#source ⇒ Object
Returns the value of attribute source.
-
#tier ⇒ Object
Returns the value of attribute tier.
Instance Method Summary collapse
-
#provenance? ⇒ Boolean
True when this entry carries provenance from a universal-set manifest.
Instance Attribute Details
#codepoint ⇒ Object
Returns the value of attribute codepoint
29 30 31 |
# File 'lib/ucode/audit/coverage_reference.rb', line 29 def codepoint @codepoint end |
#id ⇒ Object
Returns the value of attribute id
29 30 31 |
# File 'lib/ucode/audit/coverage_reference.rb', line 29 def id @id end |
#source ⇒ Object
Returns the value of attribute source
29 30 31 |
# File 'lib/ucode/audit/coverage_reference.rb', line 29 def source @source end |
#tier ⇒ Object
Returns the value of attribute tier
29 30 31 |
# File 'lib/ucode/audit/coverage_reference.rb', line 29 def tier @tier end |
Instance Method Details
#provenance? ⇒ Boolean
True when this entry carries provenance from a universal-set manifest. False for UCD-only references.
32 33 34 |
# File 'lib/ucode/audit/coverage_reference.rb', line 32 def provenance? !tier.nil? || !source.nil? end |