added fetch to fix failing tests

This commit is contained in:
Darren Pearce 2011-08-26 23:42:31 -06:00
parent f8960ec783
commit 02c4465940

View File

@ -30,7 +30,7 @@ module Guard
@sha1_checksums_hash = {} @sha1_checksums_hash = {}
@file_timestamp_hash = {} @file_timestamp_hash = {}
@relativize_paths = options.fetch(:relativize_paths, true) @relativize_paths = options.fetch(:relativize_paths, true)
@watch_deletions = options.deletions @watch_deletions = options.fetch(:deletions, false)
update_last_event update_last_event
end end