Sha256: 998a1e20a2ebf68eebb6226656d8b48a1e8dab042a743b84ddd993d41abdc22c
Contents?: true
Size: 597 Bytes
Versions: 14
Compression:
Stored size: 597 Bytes
Contents
module Mspire 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
14 entries across 14 versions & 1 rubygems