Sha256: 594f205c2d5588b6120103b37a75559672ffd0da3fe29929f1f477248906fbed
Contents?: true
Size: 457 Bytes
Versions: 6
Compression:
Stored size: 457 Bytes
Contents
require_relative '../../config' class Step def config(key, *tokens) options = tokens.pop if Hash === tokens.last options ||= {} new_tokens = [] if workflow workflow_name = workflow.to_s new_tokens << ("workflow:" << workflow_name) new_tokens << ("task:" << workflow_name << "#" << task_name.to_s) end new_tokens << ("task:" << task_name.to_s) Scout::Config.get(key, tokens + new_tokens, options) end end
Version data entries
6 entries across 6 versions & 1 rubygems