lib/dispatch-rider/handlers/inheritance_tracking.rb in dispatch-rider-1.9.0 vs lib/dispatch-rider/handlers/inheritance_tracking.rb in dispatch-rider-2.0.0
- old
+ new
@@ -2,18 +2,16 @@
# the module, and provides an accessor to it.
module DispatchRider
module Handlers
module InheritanceTracking
-
def inherited(subclass)
subclasses << subclass
super
end
def subclasses
@subclasses ||= Set.new
end
-
end
end
end