lib/eye/process/scheduler.rb in reel-eye-0.5.1 vs lib/eye/process/scheduler.rb in reel-eye-0.5.2
- old
+ new
@@ -2,10 +2,10 @@
# ex: schedule :update_config, config, "reason: update_config"
def schedule(command, *args, &block)
if scheduler.alive?
unless self.respond_to?(command, true)
- warn "object not support :#{command} to schedule"
+ warn ":#{command} scheduling is unsupported"
return
end
reason = if args.present? && args[-1].kind_of?(Eye::Reason)
args.pop