Class: Unitsdb::Database::ReferencePair
- Inherits:
-
Struct
- Object
- Struct
- Unitsdb::Database::ReferencePair
- Defined in:
- lib/unitsdb/database/reference_validator.rb
Overview
A normalized reference pair. id and type are strings.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
175 176 177 |
# File 'lib/unitsdb/database/reference_validator.rb', line 175 def id @id end |
#type ⇒ Object
Returns the value of attribute type
175 176 177 |
# File 'lib/unitsdb/database/reference_validator.rb', line 175 def type @type end |