$Id: DirectoryResults.rb 902 2013-04-23 05:07:04Z miyabe $
ディレクトリに複数のファイルとして結果を得るためのオブジェクトです。
# File CTI/Results/DirectoryResults.rb, line 25 def next_builder(opts = {}) @counter += 1 return CTI::Builder::FileBuilder.new("#{@dir}/#{@prefix}#{@counter}#{@suffix}") end
結果オブジェクトを作成します。
出力先ディレクトリ
結果ファイル名の先頭に付ける文字列
結果ファイル名の末尾に付ける文字列
# File CTI/Results/DirectoryResults.rb, line 18 def initialize(dir, prefix = '', suffix = '') @dir = dir @prefix = prefix @suffix = suffix @counter = 0 end