Class: Mspire::Mzml::FileContent

Inherits:
Object
  • Object
show all
Includes:
CV::Paramable
Defined in:
lib/mspire/mzml/file_content.rb

Overview

This summarizes the different types of spectra that can be expected in the file. This is expected to aid processing software in skipping files that do not contain appropriate spectrum types for it. It should also describe the nativeID format used in the file by referring to an appropriate CV term.

Instance Attribute Summary

Attributes included from CV::Paramable

#cv_params, #ref_param_groups, #user_params

Instance Method Summary collapse

Methods included from CV::Paramable

#accessionable_params, #describe!, #describe_from_xml!, #describe_many!, #describe_self_from_xml!, #each_accessionable_param, #each_param, #fetch, #fetch_by_accession, #initialize, #param?, #param_by_accession, #params, #params?, #reject!, #replace!, #replace_many!

Instance Method Details

#to_xml(builder, &block) ⇒ Object



13
14
15
16
17
18
# File 'lib/mspire/mzml/file_content.rb', line 13

def to_xml(builder, &block)
  builder.fileContent do |fc_n|
    super(fc_n, &block)
  end
  builder
end