Sha256: 509fd2ac0fa6a928348b0a972905085aa12ce54d654c40931d2c74a631dadd2a

Contents?: true

Size: 493 Bytes

Versions: 9

Compression:

Stored size: 493 Bytes

Contents

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

module Mspire
  class Mzml
    class ScanSettings
      include Mspire::CV::Paramable

      attr_accessor :id

      def initialize(id, opts={params: []}, &block)
        @id = id
        super(opts)
        block.call(self) if block
      end

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

      extend(Mspire::Mzml::List)

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mspire-0.7.18 lib/mspire/mzml/scan_settings.rb
mspire-0.7.17 lib/mspire/mzml/scan_settings.rb
mspire-0.7.13 lib/mspire/mzml/scan_settings.rb
mspire-0.7.12 lib/mspire/mzml/scan_settings.rb
mspire-0.7.11 lib/mspire/mzml/scan_settings.rb
mspire-0.7.10 lib/mspire/mzml/scan_settings.rb
mspire-0.7.9 lib/mspire/mzml/scan_settings.rb
mspire-0.7.8 lib/mspire/mzml/scan_settings.rb
mspire-0.7.7 lib/mspire/mzml/scan_settings.rb