Sha256: 2526faa7ea26ad85c7837034cef15210ebcda06a344bd5baae3806c9ec984e20
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module DispatchRider module Handlers module NamedProcess def with_named_process(message) original_program_name = $0 begin $0 += " - #{message.subject} (#{message.body['guid']})" yield ensure $0 = original_program_name end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.2.0 | lib/dispatch-rider/handlers/named_process.rb |