From 72f31c9eba36a44cc8c5ed1666d234dfcbc7ca68 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 21 Jun 2011 10:34:11 -0400 Subject: [PATCH] inspect values rather than simply print them, so that strings appear quoted --- lib/guard/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/cli.rb b/lib/guard/cli.rb index cb913a5..9bf323a 100644 --- a/lib/guard/cli.rb +++ b/lib/guard/cli.rb @@ -53,7 +53,7 @@ module Guard 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