Class: Unitsdb::Database::ReferenceValidator::Result
- Inherits:
-
Struct
- Object
- Struct
- Unitsdb::Database::ReferenceValidator::Result
- Defined in:
- lib/unitsdb/database/reference_validator.rb
Overview
Returns empty if all refs valid; otherwise { file_type => { ref_path => { id:, type:, ref_type: } } }.
Instance Attribute Summary collapse
-
#invalid ⇒ Object
Returns the value of attribute invalid.
Instance Method Summary collapse
Instance Attribute Details
#invalid ⇒ Object
Returns the value of attribute invalid
18 19 20 |
# File 'lib/unitsdb/database/reference_validator.rb', line 18 def invalid @invalid end |
Instance Method Details
#empty? ⇒ Boolean
19 20 21 |
# File 'lib/unitsdb/database/reference_validator.rb', line 19 def empty? invalid.empty? end |