# File lib/god/watch.rb, line 72 def restart_if self.transition(:up, :restart) do |on| yield(on) end end