class CDAIdentifier
Public Instance Methods
==(comparison_object)
click to toggle source
# File lib/health-data-standards/models/cda_identifier.rb, line 9 def ==(comparison_object) if comparison_object.respond_to?(:root) && comparison_object.respond_to?(:extension) self.root == comparison_object.root && self.extension == comparison_object.extension end end
hash()
click to toggle source
# File lib/health-data-standards/models/cda_identifier.rb, line 15 def hash "#{root}#{extension}".hash end