Sha256: 2ceffcb19c1de394ae03b6016e9499cfa3a93c9ec72c3013f80a75d6180f200f

Contents?: true

Size: 394 Bytes

Versions: 11

Compression:

Stored size: 394 Bytes

Contents

require 'ms/mzml/list'

module MS
  class Mzml
    class Product
      attr_accessor :isolation_window

      def initialize(isolation_window=nil)
        @isolation_window = isolation_window
      end

      def to_xml(builder)
        builder.product do |p_n|
          @isolation_window.to_xml(p_n) if @isolation_window
        end
      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/product.rb
mspire-0.6.25 lib/ms/mzml/product.rb
mspire-0.6.24 lib/ms/mzml/product.rb
mspire-0.6.22 lib/ms/mzml/product.rb
mspire-0.6.21 lib/ms/mzml/product.rb
mspire-0.6.20 lib/ms/mzml/product.rb
mspire-0.6.19 lib/ms/mzml/product.rb
mspire-0.6.18 lib/ms/mzml/product.rb
mspire-0.6.12 lib/ms/mzml/product.rb
mspire-0.6.11 lib/ms/mzml/product.rb
mspire-0.6.9 lib/ms/mzml/product.rb