From 9df4b3c291912c470cadb1e45502550c686e80b8 Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Tue, 20 Sep 2011 11:23:37 +0200 Subject: [PATCH] Add options to evaluate_guardfile. --- lib/guard/dsl.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/guard/dsl.rb b/lib/guard/dsl.rb index 5a04c5d..66427c6 100644 --- a/lib/guard/dsl.rb +++ b/lib/guard/dsl.rb @@ -81,6 +81,8 @@ module Guard # Evaluate the DSL methods in the `Guardfile`. # # @param [Hash] options the Guard options + # @option options [String] guardfile the path to a valid Guardfile + # @option options [String] guardfile_contents a string representing the content of a valid Guardfile # @raise [ArgumentError] when options are not a Hash # def evaluate_guardfile(options = { })