Skip to content

Commit

Permalink
Merge pull request #5 from ordinaryzelig/master
Browse files Browse the repository at this point in the history
Fix bug with ignored options in initialization.
  • Loading branch information
manufaktor committed Jan 22, 2012
2 parents 5bb7d0d + 0cd1aa4 commit 3dd62dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/guard/haml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dd62dc

Please sign in to comment.