lib/lazy_observers.rb in lazy_observers-0.0.1 vs lib/lazy_observers.rb in lazy_observers-0.0.2

- old
+ new

@@ -70,10 +70,12 @@ end end module InheritedDebugger def inherited(subclass) - puts subclass + @inherited_counter ||= 0 + @inherited_counter += 1 + puts "##{@inherited_counter} #{subclass}" puts caller puts "-" * 72 super end end