Fixed exception message.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 23 Apr 2005 22:54:01 +0000 (22:54 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sat, 23 Apr 2005 22:54:01 +0000 (22:54 +0000)
ChangeLog
lib/redact/redact.rb

index 0f439547cfd1285f51cb7bd4b89c38c2123e7c26..104a9a09c7e3a3b0fb5ce2713e41a7b1eabcfe22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 --
 --
-$Id: ChangeLog 30 2005-04-23 15:25:21Z tilman $
+$Id: ChangeLog 31 2005-04-23 22:54:01Z tilman $
 ++
 
 ++
 
+2005-04-24 Tilman Sauerbeck (tilman at code-monkey de)
+        * lib/redact/redact.rb: Fixed exception message
+
 2005-04-23 Tilman Sauerbeck (tilman at code-monkey de)
         * lib/redact/app.rb: Comment fix
 
 2005-04-23 Tilman Sauerbeck (tilman at code-monkey de)
         * lib/redact/app.rb: Comment fix
 
index 7417c92467e21f01a934369056c97716e7b4d10d..4e1696cf24e7ea638a78fe005d49a49cf019269a 100644 (file)
@@ -1,5 +1,5 @@
 #--
 #--
-# $Id: redact.rb 28 2005-04-14 19:53:45Z tilman $
+# $Id: redact.rb 31 2005-04-23 22:54:01Z tilman $
 #
 # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
 #
 #
 # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
 #
@@ -273,7 +273,7 @@ module Redact
                                        ImagePart
                                else
                                        raise(ArgumentError,
                                        ImagePart
                                else
                                        raise(ArgumentError,
-                                             "invalid program type - #{type.to_s}")
+                                             "invalid part type - #{type.to_s}")
                                end
 
                                p = klass.new(self, @parts.size, name)
                                end
 
                                p = klass.new(self, @parts.size, name)