From 0cd1aa4d49816caa7ad49369810201ca6e74cceb Mon Sep 17 00:00:00 2001 From: Jared Ning Date: Sun, 22 Jan 2012 07:42:27 -0600 Subject: [PATCH] Fix bug with ignored options in initialization. --- lib/guard/haml.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/guard/haml.rb b/lib/guard/haml.rb index f9b2cfb..efb9aa1 100644 --- a/lib/guard/haml.rb +++ b/lib/guard/haml.rb @@ -7,10 +7,10 @@ module Guard class Haml < Guard def initialize(watchers = [], options = {}) - super(watchers, { - :notifications => true - }.merge(options)) - @watchers, @options = watchers, options + @options = { + :notifications => true + }.merge(options) + super(watchers, @options) end def compile_haml file