[macruby-changes] [663] MacRuby/trunk/bin/rb_nibtool

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 14 16:59:22 PDT 2008


Revision: 663
          http://trac.macosforge.org/projects/ruby/changeset/663
Author:   lsansonetti at apple.com
Date:     2008-10-14 16:59:21 -0700 (Tue, 14 Oct 2008)
Log Message:
-----------
do not fail if no IB class was found

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

Modified: MacRuby/trunk/bin/rb_nibtool
===================================================================
--- MacRuby/trunk/bin/rb_nibtool	2008-10-10 01:41:32 UTC (rev 662)
+++ MacRuby/trunk/bin/rb_nibtool	2008-10-14 23:59:21 UTC (rev 663)
@@ -44,6 +44,7 @@
 
   def dump(io)
     h = {}
+    @ib_classes ||= []
     h['IBClasses'] = @ib_classes.map do |k|
       { 'CLASS' => k.name, 
         'LANGUAGE' => 'Ruby',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081014/4605eb6e/attachment.html 


More information about the macruby-changes mailing list