Sha256: cc5b95ec26292545bdafa15dd26418574c67a730057aee4cb9263dbdbdeafe6d
Contents?: true
Size: 244 Bytes
Versions: 15
Compression:
Stored size: 244 Bytes
Contents
module Eye::Dsl::Chain def chain(opts = {}) acts = Array(opts[:action] || opts[:actions] || [:start, :restart]) acts.each do |act| @config[:chain] ||= {} @config[:chain][act] = opts.merge(action: act) end end end
Version data entries
15 entries across 15 versions & 1 rubygems