class CDAIdentifier

Public Instance Methods

==(other) click to toggle source
# File lib/qrda-import/cda_identifier.rb, line 11
def ==(other)
  return unless other.respond_to?(:root) && other.respond_to?(:extension)

  root == other.root && extension == other.extension
end
hash() click to toggle source
# File lib/qrda-import/cda_identifier.rb, line 17
def hash
  "#{root}#{extension}".hash
end