Sha256: 952c5e87a6d7500813514cecdb33d49cb006a0a822d25e1669050dfd9dd0e3e4

Contents?: true

Size: 338 Bytes

Versions: 11

Compression:

Stored size: 338 Bytes

Contents

require 'ms/cv/paramable'
require 'ms/mzml/list'

module MS
  class Mzml
    module Component
      include MS::CV::Paramable

      attr_accessor :order

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

      extend(MS::Mzml::List)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mspire-0.6.26 lib/ms/mzml/component.rb
mspire-0.6.25 lib/ms/mzml/component.rb
mspire-0.6.24 lib/ms/mzml/component.rb
mspire-0.6.22 lib/ms/mzml/component.rb
mspire-0.6.21 lib/ms/mzml/component.rb
mspire-0.6.20 lib/ms/mzml/component.rb
mspire-0.6.19 lib/ms/mzml/component.rb
mspire-0.6.18 lib/ms/mzml/component.rb
mspire-0.6.12 lib/ms/mzml/component.rb
mspire-0.6.11 lib/ms/mzml/component.rb
mspire-0.6.9 lib/ms/mzml/component.rb