Sha256: f80f8cf2c37887fba20390501c63cda73ac9c7281db09f79042d960b13db34ef
Contents?: true
Size: 737 Bytes
Versions: 14
Compression:
Stored size: 737 Bytes
Contents
require 'mspire/mzml/data_array_container_like' module Mspire class Mzml class Chromatogram include Mspire::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
14 entries across 14 versions & 1 rubygems