Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : apps/euphoria
Dir : e17/apps/euphoria/lib
Modified Files:
playlist_item.rb
Log Message:
this should fix the crash Hisham reported *guess*
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/lib/playlist_item.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- playlist_item.rb 26 Apr 2005 16:02:27 -0000 1.2
+++ playlist_item.rb 2 May 2005 14:39:09 -0000 1.3
@@ -1,4 +1,4 @@
-# $Id: playlist_item.rb,v 1.2 2005/04/26 16:02:27 tsauerbeck Exp $
+# $Id: playlist_item.rb,v 1.3 2005/05/02 14:39:09 tsauerbeck Exp $
class PlaylistItem
attr_reader :id, :edje
@@ -21,7 +21,7 @@
end
def method_missing(method)
- @props[method]
+ @props[method] || "unknown"
end
def duration
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs