lib/remnant/base.rb in remnant-0.2.2 vs lib/remnant/base.rb in remnant-0.2.3

- old
+ new

@@ -49,9 +49,14 @@ end Rails.logger.info "-----------------------------------------------" end + # run hook if given + unless Remnant.configuration.custom_hook.nil? + Remannt.configuration.custom_hook.call(Remnant::Discover.results) + end + Remnant::Discover.results.clear end end extend ClassMethods end