Sha256: b26e8532323f310dedaaea621666927c86030c9fa532b8bb18cd07dadb7b9866
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
module DispatchRider module Dispatcher::NamedProcess def with_named_process(subject) original_program_name = $0 begin $0 += " - #{subject}" yield ensure $0 = original_program_name end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-0.0.7 | lib/dispatch-rider/dispatcher/named_process.rb |