[macruby-changes] [396] MacRuby/trunk/lib/hotcocoa/mappings/control.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 2 21:45:09 PDT 2008


Revision: 396
          http://trac.macosforge.org/projects/ruby/changeset/396
Author:   rich at infoether.com
Date:     2008-08-02 21:45:08 -0700 (Sat, 02 Aug 2008)
Log Message:
-----------
return object

Modified Paths:
--------------
    MacRuby/trunk/lib/hotcocoa/mappings/control.rb

Modified: MacRuby/trunk/lib/hotcocoa/mappings/control.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/control.rb	2008-08-03 04:44:50 UTC (rev 395)
+++ MacRuby/trunk/lib/hotcocoa/mappings/control.rb	2008-08-03 04:45:08 UTC (rev 396)
@@ -14,6 +14,7 @@
     
     def on_action(&behavior)
       self.on_action = behavior
+      self
     end
     
     def text=(text)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080802/361f94e0/attachment.html 


More information about the macruby-changes mailing list