Sha256: a62d55bb049eda40f55061859fe69adb1a1d11092b09c67c9809d7c218e3544b
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 Bytes
Contents
require 'ms/cv/paramable' module MS class Mzml class ProcessingMethod include MS::CV::Paramable attr_accessor :order, :software def initialize(order, software, opts={params: []}, &block) @order, @software = order, software describe!(*opts[:params]) block.call(self) if block end def to_xml(builder) builder.processingMethod(order: @order, softwareRef: software.id) do |pm_n| super(pm_n) # params end builder end end end end
Version data entries
11 entries across 11 versions & 1 rubygems