[MacRuby-devel] [MacRuby] #128: Default code in template for NSView-based objects does not execute
MacRuby
ruby-noreply at macosforge.org
Thu Sep 11 02:30:14 PDT 2008
#128: Default code in template for NSView-based objects does not execute
---------------------------------+------------------------------------------
Reporter: francois at antier.org | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.4
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
the code for initWithFrame does not execute:
def initWithFrame(frame)
super_initWithFrame(frame)
# Initialization code here.
return self
end
should be replaced by
def initWithFrame(frame)
if super
# Initialization code here.
end
return self
end
--
Ticket URL: <http://www.macruby.org/trac/ticket/128>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list