Previous: Methods, Up: Writing Methods
Static methods do not depend on an object instance, but instead
operate on an object's class. You can create a static method by using
the :static key with defmethod.
Do not treat the first argument of a :static method as an
object unless you test it first. Use the functions
oref-default or oset-default which will work on a class,
or on the class of an object.
A Class' constructor method is defined as a :static
method.
Note: The :static keyword is unique to EIEIO.