Sha256: 3775d4ae3b5179ee319dcdbbff6d442f29e6f227c5f7c0f09de067632beb4189
Contents?: true
Size: 453 Bytes
Versions: 48
Compression:
Stored size: 453 Bytes
Contents
module Buildkite module Builder module Extensions class Notify < Extension def prepare context.data.notify = [] end dsl do def notify(*args) if args.first.is_a?(Hash) context.data.notify.push(args.first.transform_keys(&:to_s)) else raise ArgumentError, 'value must be hash' end end end end end end end
Version data entries
48 entries across 48 versions & 1 rubygems