Class: Guard::Ego

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/ego.rb

Instance Method Summary collapse

Instance Method Details

#reloadObject

Call with Ctrl-Z signal



23
24
25
# File 'lib/guard/ego.rb', line 23

def reload
  true
end

#run_allObject

Call with Ctrl-/ signal



28
29
30
# File 'lib/guard/ego.rb', line 28

def run_all
  true
end

#run_on_change(paths) ⇒ Object

Call on file(s) modifications



33
34
35
# File 'lib/guard/ego.rb', line 33

def run_on_change(paths)
  restart_guard
end

#startObject

Call once when guard starts



13
14
15
# File 'lib/guard/ego.rb', line 13

def start
  true
end

#stopObject

Call with Ctrl-C signal (when Guard quit)



18
19
20
# File 'lib/guard/ego.rb', line 18

def stop
  true
end