Class: OpenEHR::RM::Support::Identification::ObjectID
- Inherits:
-
Object
- Object
- OpenEHR::RM::Support::Identification::ObjectID
- Defined in:
- lib/openehr/rm/support/identification.rb
Direct Known Subclasses
ArchetypeID, GenericID, TemplateID, TerminologyID, UIDBasedID
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #==(oid) ⇒ Object
-
#initialize(args = {}) ⇒ ObjectID
constructor
A new instance of ObjectID.
Constructor Details
#initialize(args = {}) ⇒ ObjectID
Returns a new instance of ObjectID.
11 12 13 |
# File 'lib/openehr/rm/support/identification.rb', line 11 def initialize(args = {}) self.value=args[:value] end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
9 10 11 |
# File 'lib/openehr/rm/support/identification.rb', line 9 def value @value end |
Instance Method Details
#==(oid) ⇒ Object
20 21 22 |
# File 'lib/openehr/rm/support/identification.rb', line 20 def ==(oid) self.value == oid.value end |