| ObjectivePerl documentation | view source | Contained in the ObjectivePerl distribution. |
ObjectivePerl::Object - Root class for ObjectivePerl objects
use ObjectivePerl;
@implementation MyClass
+ new {
~[$super new];
}
@end
In this example, MyClass is a subclass of ObjectivePerl::Object, even without being declared as such; all classes declared in this way descend from ObjectivePerl::Object.
This is the root class to all classes declared using the ObjectivePerl @implementation/@end syntax. It needs to be there so that all classes declared in this way have some super-class and can invoke $super from methods.
Generally you don't instantiate or subclass this directly.
None known.
ObjectivePerl
kyle dawkins, <kyle@centralparksoftware.com>
Copyright 2004 by kyle dawkins
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| ObjectivePerl documentation | view source | Contained in the ObjectivePerl distribution. |