lib/ab_admin/concerns/reloadable.rb in ab_admin-0.6.1 vs lib/ab_admin/concerns/reloadable.rb in ab_admin-0.7.0
- old
+ new
@@ -6,18 +6,16 @@
included do
class_attribute :reload_checker
end
module ClassMethods
-
def has_reload_check(key=nil, logger=nil, &block)
self.reload_checker = ::AbAdmin::Concerns::Reloadable::Reloader.new(key, logger, &block)
end
def check_reload
self.reload_checker.check
end
-
end
class Reloader
def initialize(key=nil, logger=nil, &block)
\ No newline at end of file