class Guard::Dsl
def instance_eval_guardfile(contents)
-
contents
(String
) -- the content to evaluate.
def instance_eval_guardfile(contents) new.instance_eval(contents, @@options[:guardfile_path], 1) rescue UI.error "Invalid Guardfile, original error is:\n#{ $! }" exit 1 end