From: Tilman Sauerbeck Date: Sun, 24 Apr 2005 15:54:39 +0000 (+0000) Subject: Initialize emission_signal and emission_source to empty strings. X-Git-Tag: redact-0.1.1~3 X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=commitdiff_plain;h=733ba89d00508c3ab56575de246eb9818c480406 Initialize emission_signal and emission_source to empty strings. They must not be nil. --- diff --git a/ChangeLog b/ChangeLog index d88457f..a9fe02e 100644 --- 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 diff --git a/lib/redact/program.rb b/lib/redact/program.rb index a775367..4a17120 100644 --- a/lib/redact/program.rb +++ b/lib/redact/program.rb @@ -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)