Skip to content

Commit

Permalink
no need to subclass from NSObject
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2735 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Oct 5, 2009
1 parent fcbc3ed commit bf2541b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample-macruby/RoundTransparentWindow/Controller.rb
@@ -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

Expand Down

0 comments on commit bf2541b

Please sign in to comment.