Class: Guard::Ego
Instance Method Summary collapse
-
#reload ⇒ Object
Call with Ctrl-Z signal.
-
#run_all ⇒ Object
Call with Ctrl-/ signal.
-
#run_on_change(paths) ⇒ Object
Call on file(s) modifications.
-
#start ⇒ Object
Call once when guard starts.
-
#stop ⇒ Object
Call with Ctrl-C signal (when Guard quit).
Instance Method Details
#reload ⇒ Object
Call with Ctrl-Z signal
23 24 25 |
# File 'lib/guard/ego.rb', line 23 def reload true end |
#run_all ⇒ Object
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 |
#start ⇒ Object
Call once when guard starts
13 14 15 |
# File 'lib/guard/ego.rb', line 13 def start true end |
#stop ⇒ Object
Call with Ctrl-C signal (when Guard quit)
18 19 20 |
# File 'lib/guard/ego.rb', line 18 def stop true end |