Sha256: 1c3978a40c0074dabc1223e18ac02a250e78053ce6fd85606025a14835d2e6fd
Contents?: true
Size: 725 Bytes
Versions: 11
Compression:
Stored size: 725 Bytes
Contents
require 'ms/mzml/data_array_container_like' module MS class Mzml class Chromatogram include MS::Mzml::DataArrayContainerLike # (optional) precursor isolations to the chromatogram currently being # described attr_accessor :precursor # (optional) Description of product isolation to the chromatogram attr_accessor :product def initialize(*args, &block) super(*args) block.call(self) if block end # see SpectrumList for generating the entire list def to_xml(builder, opts={}) super(builder) do |node| @precursor.to_xml(node) if @precursor @product.to_xml(node) if @product end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems