Class: Mspire::Mzml::ScanWindow

Inherits:
Object
  • Object
show all
Extended by:
List
Includes:
Paramable
Defined in:
lib/mspire/mzml/scan_window.rb

Overview

Typical params might be like:

accession="MS:1000501" name="scan window lower limit" value="400"
accession="MS:1000500" name="scan window upper limit" value="1800"

Instance Attribute Summary

Attributes included from Paramable

#cv_params, #ref_param_groups, #user_params

Instance Method Summary collapse

Methods included from List

list_xml, list_xml_element

Methods included from 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) ⇒ Object



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

def to_xml(builder)
  builder.scanWindow do |xml|
    super(xml)
  end
end