Sha256: 18f125b4aa35321a7cc4954cd3ab133cd6700c68305f94b87f5ba798eec221bf
Contents?: true
Size: 593 Bytes
Versions: 11
Compression:
Stored size: 593 Bytes
Contents
module MS class Mzml class ChromatogramList < Array # a DataProcessing object attr_reader :default_data_processing def initialize(default_data_processing, chromatograms=[]) @default_data_processing = default_data_processing super(chromatograms) end def to_xml(builder) builder.chromatogramList(count: self.size, defaultDataProcessingRef: @default_data_processing.id) do |chrl_n| self.each do |chromatogram| chromatogram.to_xml(chrl_n) end end builder end end end end
Version data entries
11 entries across 11 versions & 1 rubygems