Module: Mspire::Mzml::Component

Extended by:
List
Includes:
CV::Paramable
Defined in:
lib/mspire/mzml/component.rb

Instance Attribute Summary collapse

Attributes included from CV::Paramable

#cv_params, #ref_param_groups, #user_params

Instance Method Summary collapse

Methods included from List

list_xml, list_xml_element

Methods included from CV::Paramable

#accessionable_params, #describe!, #describe_many!, #fetch, #fetch_by_accession, #initialize, #param?, #param_by_accession, #params, #params?

Instance Attribute Details

#orderObject

Returns the value of attribute order.



9
10
11
# File 'lib/mspire/mzml/component.rb', line 9

def order
  @order
end

Instance Method Details

#to_xml(builder) ⇒ Object



11
12
13
14
15
16
# File 'lib/mspire/mzml/component.rb', line 11

def to_xml(builder)
  builder.component(order: @order) do |c_n|
    super(c_n)
  end
  builder
end