Sha256: d733b6f7df53400741de68cf594a6864eb5714eef2254e65cf75f71302f59175
Contents?: true
Size: 359 Bytes
Versions: 23
Compression:
Stored size: 359 Bytes
Contents
require 'yaml' def create(who, *args) options = args.last.is_a?(Hash) ? args.pop : {} case who when :message name = args.shift klass = Evrone::CI::Message.const_get name klass.test_message options when :job message = options[:message] || create(:message, 'PerformJob', options) Evrone::CI::Worker::Job.new message end end
Version data entries
23 entries across 23 versions & 1 rubygems