Class: DICOM::DataElement
- Inherits:
-
Object
- Object
- DICOM::DataElement
- Defined in:
- lib/metamri/dicom_additions.rb
Overview
Reopen DataElement to compare
Instance Method Summary collapse
-
#eql?(other) ⇒ Boolean
Compare data elements on their tag and value.
Instance Method Details
#eql?(other) ⇒ Boolean
Compare data elements on their tag and value
62 63 64 |
# File 'lib/metamri/dicom_additions.rb', line 62 def eql?(other) @tag == other.instance_eval("@tag") && @value == other.value && @bin == other.instance_eval("@bin") end |