From: Tilman Sauerbeck Date: Sat, 7 Oct 2006 18:28:41 +0000 (+0200) Subject: Initialize properties with nil rather than an empty hash. X-Git-Url: http://git.code-monkey.de/?p=euphoria.git;a=commitdiff_plain;h=12d14c472fdb872efc6d657852346ee7ee8092b1 Initialize properties with nil rather than an empty hash. This made only sense in the past before propdicts were introduced. --- diff --git a/lib/playlist_item.rb b/lib/playlist_item.rb index 2a2deac..f3d397f 100644 --- a/lib/playlist_item.rb +++ b/lib/playlist_item.rb @@ -15,7 +15,7 @@ class PlaylistItem @selected = false @hilighted = false - @props = {} + @props = nil @xmms.medialib_get_info(id).notifier do |res| self.properties = res.value