module RubyJmeter class DSL def csv_data_set_config(params={}, &block) node = RubyJmeter::CsvDataSetConfig.new(params) attach_node(node, &block) end end class CsvDataSetConfig attr_accessor :doc include Helper def initialize(params={}) params[:name] ||= 'CsvDataSetConfig' @doc = Nokogiri::XML(<<-EOS.strip_heredoc) , false true All threads false ) EOS update params update_at_xpath params if params[:update_at_xpath] end end end