--- 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)