Initialize emission_signal and emission_source to empty strings.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 24 Apr 2005 15:54:39 +0000 (15:54 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 24 Apr 2005 15:54:39 +0000 (15:54 +0000)
They must not be nil.

ChangeLog
lib/redact/program.rb

index d88457f1a761cbe7c8c0f0230bfbe14115ad73a2..a9fe02e864164fbd64ab3b02ba94785109e81daa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,12 @@
 --
-$Id: ChangeLog 32 2005-04-24 09:18:07Z tilman $
+$Id: ChangeLog 33 2005-04-24 15:54:39Z tilman $
 ++
 
 2005-04-24 Tilman Sauerbeck (tilman at code-monkey de)
         * lib/redact/redact.rb: Fixed exception message
         * lib/redact/part.rb: Added Relation#set_to
+        * lib/redact/program.rb: Initialize emission_signal and
+          emission_source to empty strings, they must not be nil
 
 2005-04-23 Tilman Sauerbeck (tilman at code-monkey de)
         * lib/redact/app.rb: Comment fix
index a77536748aab2b036a9729dd6e33977d29acef77..4a17120c1464a558ca521ae065572743db41261a 100644 (file)
@@ -1,5 +1,5 @@
 #--
-# $Id: program.rb 28 2005-04-14 19:53:45Z tilman $
+# $Id: program.rb 33 2005-04-24 15:54:39Z tilman $
 #
 # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
 #
@@ -181,8 +181,8 @@ module Redact
                        super
 
                        @type = TYPE_EMIT_SIGNAL
-                       @emission_signal = nil
-                       @emission_source = nil
+                       @emission_signal = ""
+                       @emission_source = ""
                end
 
                def emission_signal=(v)