Add options to evaluate_guardfile.

This commit is contained in:
Michael Kessler 2011-09-20 11:23:37 +02:00
parent 7099774e7c
commit 9df4b3c291

View File

@ -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 = { })