Sha256: b0f27593e188046acc6daf800026eca48dcf4b297e4a28f70a5ccd0c2f507ef6

Contents?: true

Size: 546 Bytes

Versions: 12

Compression:

Stored size: 546 Bytes

Contents

require 'mspire/mzml/list'
require 'mspire/paramable'

module Mspire
  class Mzml
    # MUST supply a *child* term of MS:1000455 (ion selection attribute) one or more times
    #
    #     e.g.: MS:1000041 (charge state)
    #     e.g.: MS:1000042 (intensity)
    #     e.g.: MS:1000633 (possible charge state)
    #     e.g.: MS:1000744 (selected ion m/z)
    class SelectedIon
      include Mspire::Paramable
      extend Mspire::Mzml::List

      def to_xml(builder)
        builder.selectedIon {|xml| super(xml) }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mspire-0.10.8.0 lib/mspire/mzml/selected_ion.rb
mspire-0.10.7.3 lib/mspire/mzml/selected_ion.rb
mspire-0.10.7.2 lib/mspire/mzml/selected_ion.rb
mspire-0.10.7.1 lib/mspire/mzml/selected_ion.rb
mspire-0.10.7 lib/mspire/mzml/selected_ion.rb
mspire-0.10.6 lib/mspire/mzml/selected_ion.rb
mspire-0.10.5 lib/mspire/mzml/selected_ion.rb
mspire-0.10.4 lib/mspire/mzml/selected_ion.rb
mspire-0.10.3 lib/mspire/mzml/selected_ion.rb
mspire-0.10.2 lib/mspire/mzml/selected_ion.rb
mspire-0.10.1 lib/mspire/mzml/selected_ion.rb
mspire-0.10.0 lib/mspire/mzml/selected_ion.rb