inspect values rather than simply print them, so that strings appear quoted
This commit is contained in:
parent
c3ddeac36f
commit
72f31c9eba
@ -53,7 +53,7 @@ module Guard
|
|||||||
line = " #{guard[:name]}"
|
line = " #{guard[:name]}"
|
||||||
|
|
||||||
if !guard[:options].empty?
|
if !guard[:options].empty?
|
||||||
line += ": #{guard[:options].collect { |k, v| "#{k} => #{v}" }.join(", ")}"
|
line += ": #{guard[:options].collect { |k, v| "#{k} => #{v.inspect}" }.join(", ")}"
|
||||||
end
|
end
|
||||||
::Guard::UI.info line
|
::Guard::UI.info line
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user