[macruby-changes] [2735] MacRuby/trunk/sample-macruby/RoundTransparentWindow/Controller.rb
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 5 16:59:11 PDT 2009
Revision: 2735
http://trac.macosforge.org/projects/ruby/changeset/2735
Author: lsansonetti at apple.com
Date: 2009-10-05 16:59:10 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
no need to subclass from NSObject
Modified Paths:
--------------
MacRuby/trunk/sample-macruby/RoundTransparentWindow/Controller.rb
Modified: MacRuby/trunk/sample-macruby/RoundTransparentWindow/Controller.rb
===================================================================
--- MacRuby/trunk/sample-macruby/RoundTransparentWindow/Controller.rb 2009-10-05 23:58:43 UTC (rev 2734)
+++ MacRuby/trunk/sample-macruby/RoundTransparentWindow/Controller.rb 2009-10-05 23:59:10 UTC (rev 2735)
@@ -1,7 +1,7 @@
# Description: This is the implementation file for the Controller class, which implements the #changeTransparency
# action, called when the slider on the window is moved.
-class Controller < NSObject
+class Controller
# Kinda the same as IBOutlet NSWindow *itsWindow; on Objective-C
attr_writer :itsWindow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091005/f85f9cac/attachment.html>
More information about the macruby-changes
mailing list