Method: DICOM::DictionaryElement#initialize

Defined in:
lib/dicom/dictionary_element.rb

#initialize(tag, name, vrs, vm, retired) ⇒ DictionaryElement

Creates a new dictionary element.

Parameters:

  • tag (String)

    the element’s tag

  • name (String)

    the element’s name

  • vrs (Array<String>)

    the element’s value representation(s)

  • vm (String)

    the element’s value multiplicity

  • retired (String)

    the element’s retired status string



27
28
29
30
31
32
33
# File 'lib/dicom/dictionary_element.rb', line 27

def initialize(tag, name, vrs, vm, retired)
  @tag = tag
  @name = name
  @vrs = vrs
  @vm = vm
  @retired = retired
end