[macruby-changes] [641] MacRuby/trunk/lib/hotcocoa/delegate_builder.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Sep 28 22:30:32 PDT 2008
Revision: 641
http://trac.macosforge.org/projects/ruby/changeset/641
Author: lsansonetti at apple.com
Date: 2008-09-28 22:30:32 -0700 (Sun, 28 Sep 2008)
Log Message:
-----------
reverting workaround
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/delegate_builder.rb
Modified: MacRuby/trunk/lib/hotcocoa/delegate_builder.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/delegate_builder.rb 2008-09-29 05:22:09 UTC (rev 640)
+++ MacRuby/trunk/lib/hotcocoa/delegate_builder.rb 2008-09-29 05:30:32 UTC (rev 641)
@@ -43,9 +43,7 @@
end
def set_delegate
- #puts "setting delegate (#{delegate}) on #{control.class} which has the following methods:"
- #puts (delegate.methods.sort - Object.methods).collect {|method| "- #{method}"}
- control.performSelector('setDelegate:', withObject:delegate)
+ control.setDelegate(delegate)
end
def block_instance_variable
@@ -78,4 +76,4 @@
end
-end
\ No newline at end of file
+end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080928/c795e515/attachment.html
More information about the macruby-changes
mailing list