From 40e033ce0fb32ec604132d542211a26695b7eecd Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Wed, 28 Sep 2011 15:47:53 +0200 Subject: [PATCH] Document passed options. --- lib/guard/listener.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/guard/listener.rb b/lib/guard/listener.rb index 38cfef4..bf449cb 100644 --- a/lib/guard/listener.rb +++ b/lib/guard/listener.rb @@ -133,6 +133,7 @@ module Guard # # @param [Array] dirs the watched directories # @param [Hash] options the listener options + # @option options [Symbol] all whether to files in sub directories # @return [Array] paths of files that have been modified # def modified_files(dirs, options = {}) @@ -214,7 +215,8 @@ module Guard # Gets a list of files that are in the modified directories. # # @param [Array] dirs the list of directories - # @option options [Symbol] all whether to include all files + # @param [Hash] options the find file option + # @option options [Symbol] all whether to files in sub directories # def potentially_modified_files(dirs, options = {}) paths = exclude_ignored_paths(dirs)