Fix #6 : can't convert WpPlugin into String (to_s is not called when using +, it's to_str. However with "#{plugin}" the .to_s is called)

This commit is contained in:
Erwan
2012-07-29 12:21:40 +02:00
parent 25be36d335
commit 872b293944

View File

@@ -193,7 +193,7 @@ begin
plugins.each do |plugin| plugins.each do |plugin|
puts puts
puts " | Name: " + plugin #this will also output the version number if detected puts " | Name: #{plugin}" #this will also output the version number if detected
puts " | Location: " + plugin.location_url puts " | Location: " + plugin.location_url
puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}" puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}"