[macruby-changes] [740] MacRuby/trunk/bin/hotcocoa

source_changes at macosforge.org source_changes at macosforge.org
Thu Nov 13 10:02:13 PST 2008


Revision: 740
          http://trac.macosforge.org/projects/ruby/changeset/740
Author:   ben at tanjero.com
Date:     2008-11-13 10:02:13 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
fixed last commit

Modified Paths:
--------------
    MacRuby/trunk/bin/hotcocoa

Modified: MacRuby/trunk/bin/hotcocoa
===================================================================
--- MacRuby/trunk/bin/hotcocoa	2008-11-13 17:55:48 UTC (rev 739)
+++ MacRuby/trunk/bin/hotcocoa	2008-11-13 18:02:13 UTC (rev 740)
@@ -2,7 +2,7 @@
 
 project_name = ARGV.shift
 
-if project_name.empty? or project_name == "--help" or project_name =="-h"
+if project_name.nil? or project_name == "--help" or project_name =="-h"
   puts "Usage: hotcocoa <project name>"
   exit
 end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081113/f4e74210/attachment.html>


More information about the macruby-changes mailing list