class Guard::Pow::Manager
Public Instance Methods
restart()
click to toggle source
# File lib/guard/pow/manager.rb, line 7 def restart _touch_tmp_restart _notify "Pow restarted." end
Private Instance Methods
_notify(message)
click to toggle source
# File lib/guard/pow/manager.rb, line 19 def _notify(message) UI.info(message) Notifier.notify(message, title: "Pow", image: :success) end
_touch_tmp_restart()
click to toggle source
# File lib/guard/pow/manager.rb, line 14 def _touch_tmp_restart FileUtils.mkdir('tmp') unless File.directory?("tmp") FileUtils.touch('tmp/restart.txt') end