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