Fix a bug in the header output.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 26 Dec 2010 21:33:57 +0000 (16:33 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 26 Dec 2010 21:33:57 +0000 (16:33 -0500)
bin/mailshears

index abf46cc9c188da4be8f0326345588d2fddb186da..9f913621667c686e49504e1b6f465458410c2ca8 100755 (executable)
@@ -97,7 +97,7 @@ Plugin.includers.each do |plugin_class|
       header += current_time.to_s + "\n"
     end
 
-    header += 'Plugin: ' + plugin_name + "\n"
+    header += 'Plugin: ' + plugin_class.to_s + "\n"
     puts header
     puts '-' * header.size # Underline the header.