Sha256: 3294b1de0486510addd6be78883efcbcab9782ceea155fad8673c4ad7cd7fb9a
Contents?: true
Size: 448 Bytes
Versions: 2
Compression:
Stored size: 448 Bytes
Contents
require 'scout/config' class Step def config(key, *tokens) options = tokens.pop if Hash === tokens.last options ||= {} new_tokens = [] if workflow workflow_name = workflow.name 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scout-gear-10.7.1 | lib/scout/workflow/step/config.rb |
scout-gear-10.7.0 | lib/scout/workflow/step/config.rb |