Sha256: 412f86db820214a3a211af0da0afe0cd048f6e274ec12ffa9258ab1129aa20b2
Contents?: true
Size: 318 Bytes
Versions: 3
Compression:
Stored size: 318 Bytes
Contents
require 'method_source' class Rufus::Scheduler::Job def identifier @identifier ||= begin name || handler.source.split("\n").reject(&:empty?).grep_v(/#.*/)[-2].strip rescue begin source_location.join('-') rescue 'error-calculating-job-identifier' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-clock-2.0.0.beta6 | lib/rufus_monkeypatch.rb |
ruby-clock-2.0.0.beta5 | lib/rufus_monkeypatch.rb |
ruby-clock-2.0.0.beta4 | lib/rufus_monkeypatch.rb |