From f6bea4da59e73818e04856d067eb42a60a5737eb Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Tue, 11 Oct 2011 11:09:41 +0200 Subject: [PATCH] Document known guard options. --- lib/guard/guard.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/guard/guard.rb b/lib/guard/guard.rb index 1771015..1187348 100644 --- a/lib/guard/guard.rb +++ b/lib/guard/guard.rb @@ -38,6 +38,8 @@ module Guard # # @param [Array] watchers the Guard file watchers # @param [Hash] options the custom Guard options + # @options [Symbol] group the group this Guard belongs to + # @options [Boolean] any_return allow any object to be returned from a watcher # def initialize(watchers = [], options = {}) @group = options[:group] ? options.delete(:group).to_sym : :default