Permalink
Browse files

inspect values rather than simply print them, so that strings appear …

…quoted
  • Loading branch information...
1 parent c3ddeac commit 72f31c9eba36a44cc8c5ed1666d234dfcbc7ca68 @johnbintz johnbintz committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/cli.rb
View
@@ -53,7 +53,7 @@ def show
line = " #{guard[:name]}"
if !guard[:options].empty?
- line += ": #{guard[:options].collect { |k, v| "#{k} => #{v}" }.join(", ")}"
+ line += ": #{guard[:options].collect { |k, v| "#{k} => #{v.inspect}" }.join(", ")}"
end
::Guard::UI.info line
end

0 comments on commit 72f31c9

Please sign in to comment.