Module: Mspire::Mzml::Component
Instance Attribute Summary collapse
-
#order ⇒ Object
Returns the value of attribute order.
Attributes included from CV::Paramable
Instance Method Summary collapse
Methods included from List
Methods included from CV::Paramable
#describe!, #describe_many!, #find_param_by_accession, #find_param_value_by_accession, #initialize, #param_exists_by_accession?
Instance Attribute Details
#order ⇒ Object
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 |