Skip to content

Commit

Permalink
Fixed variable interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Dec 26, 2010
1 parent 67fdbda commit 6bdadd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/notifier/growl.rb
Expand Up @@ -11,13 +11,13 @@ def supported?

def notify(options)
register
command = %w[
command = %W[
growlnotify
--name=test_notifier
--image="#{options[:image]}"
--image='#{options[:image]}'
--priority=2
--message='#{options[:message]}'
--title='#{options[:title]}'
'#{options[:title]}'
].join(" ")

Thread.new { `#{command}` }
Expand Down
2 changes: 1 addition & 1 deletion lib/notifier/kdialog.rb
Expand Up @@ -7,7 +7,7 @@ def supported?
end

def notify(options)
command = %w[
command = %W[
kdialog
--title='#{options[:title]}'
--passivepopup='#{options[:message]}' 5
Expand Down

0 comments on commit 6bdadd0

Please sign in to comment.