Sha256: 53d79095a80be332dd55ba5ec3cd389ba104b97883e5766a693265fb14067583

Contents?: true

Size: 459 Bytes

Versions: 12

Compression:

Stored size: 459 Bytes

Contents

require 'mspire/mzml/list'
require 'mspire/paramable'

module Mspire
  class Mzml
    class ScanSettings
      include Mspire::Paramable
      extend Mspire::Mzml::List

      attr_accessor :id

      def initialize(id)
        @id = id
        params_init
        yield(self) if block_given?
      end

      def to_xml(builder)
        builder.scanSettings( id: @id ) do |ss_n|
          super(ss_n)
        end
        builder
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mspire-0.10.8.0 lib/mspire/mzml/scan_settings.rb
mspire-0.10.7.3 lib/mspire/mzml/scan_settings.rb
mspire-0.10.7.2 lib/mspire/mzml/scan_settings.rb
mspire-0.10.7.1 lib/mspire/mzml/scan_settings.rb
mspire-0.10.7 lib/mspire/mzml/scan_settings.rb
mspire-0.10.6 lib/mspire/mzml/scan_settings.rb
mspire-0.10.5 lib/mspire/mzml/scan_settings.rb
mspire-0.10.4 lib/mspire/mzml/scan_settings.rb
mspire-0.10.3 lib/mspire/mzml/scan_settings.rb
mspire-0.10.2 lib/mspire/mzml/scan_settings.rb
mspire-0.10.1 lib/mspire/mzml/scan_settings.rb
mspire-0.10.0 lib/mspire/mzml/scan_settings.rb