Sha256: 49716190bfebb51393a32d535ae8f90d4084f92e4e49a1f8c6b06c6b72d38118
Contents?: true
Size: 410 Bytes
Versions: 10
Compression:
Stored size: 410 Bytes
Contents
require "sapience" module Sneakers module Worker def self.descendants # :nodoc: descendants = [] ObjectSpace.each_object(singleton_class) do |k| descendants.unshift k unless k == self end descendants end end end module Sapience module Sneakers ::Sneakers::Worker.descendants.each do |worker| worker.send(:include, Sapience::Loggable) end end end
Version data entries
10 entries across 10 versions & 1 rubygems