Class: OpenEHR::RM::Support::Identification::ObjectID

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/rm/support/identification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject

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