Edited README.md via GitHub
This commit is contained in:
parent
db949bf9e4
commit
309ecc7b4b
@ -338,7 +338,7 @@ Here is an example scaffold for `lib/guard/guard-name.rb`:
|
||||
module Guard
|
||||
class GuardName < Guard
|
||||
|
||||
def initialize(watchers=[], options={})
|
||||
def initialize(watchers = [], options = {})
|
||||
super
|
||||
# init stuff here, thx!
|
||||
end
|
||||
@ -378,6 +378,11 @@ Here is an example scaffold for `lib/guard/guard-name.rb`:
|
||||
true
|
||||
end
|
||||
|
||||
# Called on file(s) deletions
|
||||
def run_on_deletion(paths)
|
||||
true
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user