Class: Dcm4chee::Modality

Inherits:
Object
  • Object
show all
Includes:
Virtus
Defined in:
app/models/dcm4chee/modality.rb

Class Method Summary collapse

Class Method Details

.allObject



7
8
9
10
11
12
13
14
15
# File 'app/models/dcm4chee/modality.rb', line 7

def self.all
  modalities = []

  (Series.modalities + TrashedSeries.modalities).uniq.each do |n|
    modalities << Modality.new(name: n)
  end

  modalities
end