Sha256: 194d8a01401e9a77676b77662700cecf490c24818a4b0dd7d4228ff5d13a5ce6

Contents?: true

Size: 605 Bytes

Versions: 9

Compression:

Stored size: 605 Bytes

Contents

module Pione
  module TestHelper
    module Tuple
      def self.task(package_id, rule_name, inputs, param_set=nil, features=nil, caller_id='root')
        param_set = Pione::Lang::ParameterSet.new unless param_set
        features = Pione::Lang::FeatureSequence.new unless features
        digest = Util::TaskDigest.generate(package_id, rule_name, inputs, param_set)
        domain_id = Util::DomainID.generate(package_id, rule_name, inputs, param_set)
        Pione::TupleSpace::TaskTuple.new(digest, package_id, rule_name, inputs, param_set, features, domain_id, caller_id)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pione-0.5.0 lib/pione/test-helper/tuple-helper.rb
pione-0.5.0.alpha.2 lib/pione/test-helper/tuple-helper.rb
pione-0.5.0.alpha.1 lib/pione/test-helper/tuple-helper.rb
pione-0.4.2 lib/pione/test-helper/tuple-helper.rb
pione-0.4.1 lib/pione/test-helper/tuple-helper.rb
pione-0.4.0 lib/pione/test-helper/tuple-helper.rb
pione-0.3.2 lib/pione/test-helper/tuple-helper.rb
pione-0.3.1 lib/pione/test-helper/tuple-helper.rb
pione-0.3.0 lib/pione/test-helper/tuple-helper.rb