From ee8e506d0247223d504d525f3d4742b74da12b17 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 2 Oct 2011 09:47:34 -0400 Subject: [PATCH] fix hash handling --- lib/guard/rocco.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/guard/rocco.rb b/lib/guard/rocco.rb index ff8ee4f..e3b7046 100644 --- a/lib/guard/rocco.rb +++ b/lib/guard/rocco.rb @@ -42,7 +42,9 @@ module Guard end def rocco_options - @options[:stylesheet] ? {stylesheet: @options[:stylesheet]} : {} + opts = @options.dup + opts.delete(:dir) + opts end end end